Skip to content

Commit 4911c83

Browse files
author
Scott Straughan
committed
Tidied up assets to avoid build error with excessive asset size.
1 parent bd91280 commit 4911c83

34 files changed

+10
-12
lines changed

src/app/pages/calendar/shared/event-calendar/event-calendar.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
*--------------------------------------------------------------------------------------------*/
1818

1919
import { CommonModule, Location } from '@angular/common';
20-
import { ChangeDetectionStrategy, Component, model, OnInit, signal, WritableSignal } from '@angular/core';
20+
import { ChangeDetectionStrategy, Component, model, OnDestroy, OnInit, signal, WritableSignal } from '@angular/core';
2121
import { DayModel } from './models/day.model';
2222
import { CalendarItemModel } from './models/calendar-item.model';
2323
import { TruncatePipe } from '../../../../shared/pipes/truncate.pipe';
@@ -42,7 +42,7 @@ import { map, Observable, tap } from 'rxjs';
4242
styleUrl: './event-calendar.component.scss',
4343
changeDetection: ChangeDetectionStrategy.OnPush
4444
})
45-
export class EventCalendarComponent implements OnInit {
45+
export class EventCalendarComponent implements OnInit, OnDestroy {
4646
readonly currentDate = model<Date>(new Date());
4747

4848
protected focusedEvent: CalendarItemModel | null = null;

src/app/pages/contributors/view/contributor.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ <h2>{{ contributor.position }} at {{ contributor.affiliation }}</h2>
1616
<div class="wrapper panel socials">
1717
@for (social of contributor.links; track social.name) {
1818
<a [href]="social.url" target="_blank" rel="noopener">
19-
<img ngSrc="./assets/images/social-icons/{{ social.tag }}.svg"
19+
<img ngSrc="./assets/images/contributors/social-icons/{{ social.tag }}.svg"
2020
height="800"
2121
width="800"
2222
alt="{{ social.name }}"

src/app/pages/ecosystem/implementations/implementations.component.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ <h2>The latest Intel® oneAPI DPC++/C++ Compiler is the FIRST to fully support t
1616
</header>
1717
</div>
1818
<div>
19-
<img ngSrc="./assets/images/ecosystem/implementations/oneapi/oneapi-logo.png"
19+
<img ngSrc="./assets/images/ecosystem/implementations/oneapi/oneapi-logo.webp"
2020
alt="oneAPI Logo"
2121
class="panel-icon"
2222
height="406"
@@ -44,7 +44,7 @@ <h2>AdaptiveCpp is the independent, community-driven modern platform for C++-bas
4444
</header>
4545
</div>
4646
<div>
47-
<img ngSrc="./assets/images/ecosystem/implementations/adaptivecpp/logo.png"
47+
<img ngSrc="./assets/images/ecosystem/implementations/adaptivecpp/logo.webp"
4848
alt="oneAPI Logo"
4949
class="panel-icon"
5050
height="249"
@@ -114,7 +114,7 @@ <h2>The the oneAPI Construction Kit, provided by Codeplay&reg;, to add DPC++/SYC
114114
</header>
115115
</div>
116116
<div>
117-
<img ngSrc="./assets/images/ecosystem/implementations/oneapi-construction/chip-stack.png"
117+
<img ngSrc="./assets/images/ecosystem/implementations/oneapi-construction/chip-stack.webp"
118118
alt="Chip Stack"
119119
height="238"
120120
width="473"/>

src/app/pages/ecosystem/implementations/implementations.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ section#oneapi {
77
min-height: 600px;
88

99
.bg {
10-
background-image: url(../../../../assets/images/ecosystem/implementations/oneapi/bg.jpg);
10+
background-image: url(../../../../assets/images/ecosystem/implementations/oneapi/bg.webp);
1111
}
1212

1313
.button {

src/app/pages/getting-started/getting-started.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ <h2>Download the FREE Data Parallel C++ eBook or order your hard-copy today! Tea
5252
</header>
5353
</div>
5454
<div>
55-
<img ngSrc="./assets/images/get-started/ebook/ebook.png" alt="eBook" height="399" width="263"/>
55+
<img ngSrc="./assets/images/get-started/ebook/ebook.webp" alt="eBook" height="399" width="263"/>
5656
</div>
5757
<div class="bg"></div>
5858
</div>

src/app/pages/getting-started/getting-started.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ section#ebook {
2626
overflow: hidden;
2727

2828
.bg {
29-
background-image: url(../../../assets/images/get-started/ebook/moon-bg.png);
29+
background-image: url(../../../assets/images/get-started/ebook/moon-bg.webp);
3030
}
3131

3232
img {

src/app/pages/home/home.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ section#intro {
6262
&.khronos {
6363
background-color: #ffe0d9;
6464
color: #413937;
65-
background-image: url(../../../assets/images/home/khronos.png);
65+
background-image: url(../../../assets/images/home/khronos.webp);
6666
background-size: cover;
6767
background-position: center;
6868
animation: float 120s linear forwards;

src/assets/images/anonymous.png

-5.92 KB
Binary file not shown.

0 commit comments

Comments
 (0)