Skip to content

Commit c60861b

Browse files
fix(integrations.mocked) removed hardcoded logo URL and switched it with a URL to raw file hosted on GitHub
1 parent 7426f05 commit c60861b

File tree

4 files changed

+10
-12
lines changed

4 files changed

+10
-12
lines changed

.changeset/shy-oranges-switch.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@o2s/integrations.mocked': patch
3+
'@o2s/frontend': patch
4+
---
5+
6+
removed hardcoded logo URL and switched it with a URL to raw file hosted on GitHub

apps/frontend/next.config.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,6 @@ const nextConfig: NextConfig = {
2222
protocol: 'https',
2323
hostname: 'avatars.githubusercontent.com',
2424
},
25-
{
26-
protocol: 'https',
27-
hostname: 'www.w3schools.com',
28-
},
29-
{
30-
protocol: 'https',
31-
hostname: 'strapi-oss.dev.hycom.pl',
32-
},
3325
],
3426
},
3527
sassOptions: {

packages/integrations/mocked/src/modules/cms/mappers/cms.footer.mapper.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const MOCK_FOOTER_PL: CMS.Model.Footer.Footer = {
4343
id: 'laee0xa1zmm9uraev3hpruho',
4444
title: 'Informacje prawne i prywatność',
4545
logo: {
46-
url: 'https://strapi-oss.dev.hycom.pl/uploads/logo_34207ab71f.svg',
46+
url: 'https://raw.githubusercontent.com/o2sdev/openselfservice/refs/heads/main/packages/integrations/mocked/public/images/logo.svg',
4747
alternativeText: 'Logo',
4848
width: 92,
4949
height: 24,
@@ -82,7 +82,7 @@ const MOCK_FOOTER_DE: CMS.Model.Footer.Footer = {
8282
id: 'laee0xa1zmm9uraev3hpruho',
8383
title: 'Rechtliches und Datenschutz',
8484
logo: {
85-
url: 'https://strapi-oss.dev.hycom.pl/uploads/logo_34207ab71f.svg',
85+
url: 'https://raw.githubusercontent.com/o2sdev/openselfservice/refs/heads/main/packages/integrations/mocked/public/images/logo.svg',
8686
alternativeText: 'Logo',
8787
width: 92,
8888
height: 24,

packages/integrations/mocked/src/modules/cms/mappers/cms.header.mapper.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ const MOCK_HEADER_LOGON_DE: CMS.Model.Header.Header = {
6363
id: 'fqj6nnyk4irqq5b7rnc4ogsj',
6464
title: 'MOCK_HEADER_LOGON_DE',
6565
logo: {
66-
url: 'https://strapi-oss.dev.hycom.pl/uploads/logo_o2s_4a5e53164c.svg',
66+
url: 'https://raw.githubusercontent.com/o2sdev/openselfservice/refs/heads/main/packages/integrations/mocked/public/images/logo.svg',
6767
alternativeText: 'Logo',
6868
width: 92,
6969
height: 24,
@@ -206,7 +206,7 @@ const MOCK_HEADER_LOGOUT_DE: CMS.Model.Header.Header = {
206206
id: 'lwvbmnaayn6w7xy5soicv1k2',
207207
title: 'MOCK_HEADER_LOGOUT_DE',
208208
logo: {
209-
url: 'https://strapi-oss.dev.hycom.pl/uploads/logo_o2s_4a5e53164c.svg',
209+
url: 'https://raw.githubusercontent.com/o2sdev/openselfservice/refs/heads/main/packages/integrations/mocked/public/images/logo.svg',
210210
alternativeText: 'Logo',
211211
width: 92,
212212
height: 24,

0 commit comments

Comments
 (0)