Skip to content

Commit 0cbb167

Browse files
committed
Update image CDN URLs to new cloud storage
1 parent f07e40c commit 0cbb167

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

next.config.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ const nextConfig = {
44
images: {
55
remotePatterns: [
66
{ hostname: 'api.campus.kpi.ua' },
7-
{ hostname: 'dlo9mnni15sun.cloudfront.net' },
8-
{ hostname: 'do4rt9wur3t6m.cloudfront.net' },
7+
{ hostname: 'cdn.cloud.kpi.ua' },
98
],
109
},
1110
rewrites: async () => {

src/app/global.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,13 +313,13 @@ html {
313313
}
314314

315315
.header-wrapper {
316-
background: url('https://do4rt9wur3t6m.cloudfront.net/intellect.kpi.ua/img/main-bg.png') no-repeat;
316+
background: url('https://cdn.cloud.kpi.ua/public/intellect.kpi.ua/img/main-bg.png') no-repeat;
317317
background-size: cover;
318318
}
319319

320320
@media (max-width: 768px) {
321321
.header-wrapper {
322-
background: url('https://do4rt9wur3t6m.cloudfront.net/intellect.kpi.ua/img/main-sm.png') no-repeat;
322+
background: url('https://cdn.cloud.kpi.ua/public/intellect.kpi.ua/img/main-sm.png') no-repeat;
323323
background-size: cover;
324324
}
325325
}

src/app/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export const metadata: Metadata = {
4242
'Проект об′єднує вчених, викладачів, інженерів та аспірантів університету, які займаються інтелектуальною творчою діяльністю, проводять фундаментальні та прикладні наукові дослідження, впроваджують отримані результати в виробництво, займаються навчальною, методичною і організаційною роботою.',
4343
images: [
4444
{
45-
url: 'https://do4rt9wur3t6m.cloudfront.net/intellect/intellect-preview.jpeg',
45+
url: 'https://cdn.cloud.kpi.ua/public/intellect/intellect-preview.jpeg',
4646
},
4747
],
4848
},

src/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { AcademicDegree, AcademicStatus } from './types/enums';
22
import { ExperienceType, Tab } from './types/intellect';
33

4-
export const CDN_IMG_BASE = 'https://do4rt9wur3t6m.cloudfront.net/intellect.kpi.ua/img';
4+
export const CDN_IMG_BASE = 'https://cdn.cloud.kpi.ua/public/intellect.kpi.ua/img';
55

66
export const experienceTabs: Record<ExperienceType, string> = {
77
profile: 'Профіль',

0 commit comments

Comments
 (0)