1
1
import { Footer , ProjectTemplate , TableOfContent } from ' @sb/components' ;
2
2
import { Meta } from ' @storybook/blocks' ;
3
3
import { Label } from ' @ui5/webcomponents-react' ;
4
+ import NextLogo from ' @sb/images/logo-nextjs.svg' ;
5
+ import ViteLogo from ' @sb/images/logo-vitejs.svg' ;
6
+ import CraLogo from ' @sb/images/logo-cra.svg' ;
4
7
5
8
<Meta title = " Project Templates" />
6
9
@@ -17,7 +20,7 @@ A curated list of project templates to get started using UI5 Web Components for
17
20
<ProjectTemplate
18
21
title = { ' Next.js' }
19
22
subtitle = { ' App Router' }
20
- logo = " /logo-nextjs.svg "
23
+ logo = { NextLogo }
21
24
logoAttribution = { ' Next.js Logo. Original Source: https://vercel.com/design/brands#next-js' }
22
25
href = { ' https://github.com/SAP/ui5-webcomponents-react/tree/main/examples/nextjs-app' }
23
26
isTypeScript
@@ -35,7 +38,7 @@ A curated list of project templates to get started using UI5 Web Components for
35
38
<ProjectTemplate
36
39
title = { ' Next.js' }
37
40
subtitle = { ' Pages Router' }
38
- logo = " /logo-nextjs.svg "
41
+ logo = { NextLogo }
39
42
logoAttribution = { ' Next.js Logo. Original Source: https://vercel.com/design/brands#next-js' }
40
43
href = { ' https://github.com/SAP/ui5-webcomponents-react/tree/main/examples/nextjs-pages' }
41
44
isTypeScript
@@ -52,7 +55,7 @@ A curated list of project templates to get started using UI5 Web Components for
52
55
53
56
<ProjectTemplate
54
57
title = { ' Vite.js' }
55
- logo = " /logo-vitejs.svg "
58
+ logo = { ViteLogo }
56
59
logoAttribution = { ' Vite.js Logo. Original Source: https://github.com/vitejs/vite/blob/main/docs/public/logo.svg ' }
57
60
href = { ' https://github.com/SAP/ui5-webcomponents-react/tree/main/examples/vite-ts' }
58
61
isTypeScript
@@ -71,7 +74,7 @@ A curated list of project templates to get started using UI5 Web Components for
71
74
<ProjectTemplate
72
75
title = { ' Create React App' }
73
76
subtitle = { ' Basic Template' }
74
- logo = " /logo-cra.svg "
77
+ logo = { CraLogo }
75
78
logoAttribution = {
76
79
' Create React App Logo. Original Source: https://github.com/facebook/create-react-app/blob/main/docusaurus/website/static/img/logo.svg'
77
80
}
@@ -88,7 +91,7 @@ A curated list of project templates to get started using UI5 Web Components for
88
91
<ProjectTemplate
89
92
title = { ' Create React App' }
90
93
subtitle = { ' Advanced Template' }
91
- logo = " /logo-cra.svg "
94
+ logo = { CraLogo }
92
95
logoAttribution = {
93
96
' Create React App Logo. Original Source: https://github.com/facebook/create-react-app/blob/main/docusaurus/website/static/img/logo.svg '
94
97
}
0 commit comments