Skip to content

Commit b3b4c5d

Browse files
committed
feat(website): add Showcase page with ShowFiles as first entry
1 parent 5379892 commit b3b4c5d

14 files changed

Lines changed: 206 additions & 1 deletion

Website/build.js

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,16 @@ fs.copyFileSync('src/partials/subpage.css', 'dist/subpage.css');
2222
// Copy social share image
2323
fs.copyFileSync('../Graphics/social.png', 'dist/social.png');
2424

25+
// Copy showcase images
26+
if (!fs.existsSync('dist/img')) {
27+
fs.mkdirSync('dist/img', { recursive: true });
28+
}
29+
if (fs.existsSync('src/img')) {
30+
fs.readdirSync('src/img').forEach(file => {
31+
fs.copyFileSync(`src/img/${file}`, `dist/img/${file}`);
32+
});
33+
}
34+
2535
// Process HTML file with partial injection
2636
function processHtmlFile(srcPath, destPath, basePath = '') {
2737
if (!fs.existsSync(srcPath)) return;
@@ -72,7 +82,7 @@ function processHtmlFile(srcPath, destPath, basePath = '') {
7282
}
7383

7484
// Process main HTML files (at root level)
75-
const mainHtmlFiles = ['index.html', 'fdd.html', 'docs.html', 'getting-started.html', 'disclaimer.html', 'tutorial.html', 'download.html', 'imprint.html'];
85+
const mainHtmlFiles = ['index.html', 'fdd.html', 'docs.html', 'getting-started.html', 'disclaimer.html', 'tutorial.html', 'showcase.html', 'download.html', 'imprint.html'];
7686
mainHtmlFiles.forEach(file => {
7787
processHtmlFile(`src/${file}`, `dist/${file}`, '');
7888
});

Website/src/disclaimer.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,7 @@
267267
<a href="fdd.html">The FDD Story</a>
268268
<a href="getting-started.html">Get Started</a>
269269
<a href="tutorial.html">Tutorial</a>
270+
<a href="showcase.html">Showcase</a>
270271
<a href="docs.html">Docs</a>
271272
<a href="disclaimer.html" style="color: var(--color-text);">Motivation</a>
272273
<a href="download.html">Download</a>
@@ -290,6 +291,7 @@
290291
<a href="fdd.html">FDD Story</a>
291292
<a href="getting-started.html">Get Started</a>
292293
<a href="tutorial.html">Tutorial</a>
294+
<a href="showcase.html">Showcase</a>
293295
<a href="docs.html">Docs</a>
294296
<a href="disclaimer.html">Motivation</a>
295297
<a href="download.html">Download</a>

Website/src/doc-template-nested.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@
156156
<a href="../../fdd.html">The FDD Story</a>
157157
<a href="../../getting-started.html">Get Started</a>
158158
<a href="../../tutorial.html">Tutorial</a>
159+
<a href="../../showcase.html">Showcase</a>
159160
<a href="../../docs.html" style="color: var(--color-text);">Docs</a>
160161
<a href="../../disclaimer.html">Motivation</a>
161162
<a href="../../download.html">Download</a>
@@ -179,6 +180,7 @@
179180
<a href="../../fdd.html">FDD Story</a>
180181
<a href="../../getting-started.html">Get Started</a>
181182
<a href="../../tutorial.html">Tutorial</a>
183+
<a href="../../showcase.html">Showcase</a>
182184
<a href="../../docs.html">Docs</a>
183185
<a href="../../disclaimer.html">Motivation</a>
184186
<a href="../../download.html">Download</a>

Website/src/doc-template.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@
134134
<a href="../fdd.html">The FDD Story</a>
135135
<a href="../getting-started.html">Get Started</a>
136136
<a href="../tutorial.html">Tutorial</a>
137+
<a href="../showcase.html">Showcase</a>
137138
<a href="../docs.html" style="color: var(--color-text);">Docs</a>
138139
<a href="../disclaimer.html">Motivation</a>
139140
<a href="../download.html">Download</a>
@@ -157,6 +158,7 @@
157158
<a href="../fdd.html">FDD Story</a>
158159
<a href="../getting-started.html">Get Started</a>
159160
<a href="../tutorial.html">Tutorial</a>
161+
<a href="../showcase.html">Showcase</a>
160162
<a href="../docs.html">Docs</a>
161163
<a href="../disclaimer.html">Motivation</a>
162164
<a href="../download.html">Download</a>

Website/src/docs.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@
137137
<a href="fdd.html">The FDD Story</a>
138138
<a href="getting-started.html">Get Started</a>
139139
<a href="tutorial.html">Tutorial</a>
140+
<a href="showcase.html">Showcase</a>
140141
<a href="docs.html" style="color: var(--color-text);">Docs</a>
141142
<a href="disclaimer.html">Motivation</a>
142143
<a href="download.html">Download</a>
@@ -160,6 +161,7 @@
160161
<a href="fdd.html">FDD Story</a>
161162
<a href="getting-started.html">Get Started</a>
162163
<a href="tutorial.html">Tutorial</a>
164+
<a href="showcase.html">Showcase</a>
163165
<a href="docs.html">Docs</a>
164166
<a href="disclaimer.html">Motivation</a>
165167
<a href="download.html">Download</a>

Website/src/download.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,7 @@
258258
<a href="fdd.html">The FDD Story</a>
259259
<a href="getting-started.html">Get Started</a>
260260
<a href="tutorial.html">Tutorial</a>
261+
<a href="showcase.html">Showcase</a>
261262
<a href="docs.html">Docs</a>
262263
<a href="disclaimer.html">Motivation</a>
263264
<a href="download.html" class="nav-active">Download</a>
@@ -281,6 +282,7 @@
281282
<a href="fdd.html">The FDD Story</a>
282283
<a href="getting-started.html">Get Started</a>
283284
<a href="tutorial.html">Tutorial</a>
285+
<a href="showcase.html">Showcase</a>
284286
<a href="docs.html">Docs</a>
285287
<a href="disclaimer.html">Motivation</a>
286288
<a href="download.html">Download</a>

Website/src/fdd.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@
180180
<a href="fdd.html" style="color: var(--color-text);">FDD Story</a>
181181
<a href="getting-started.html">Get Started</a>
182182
<a href="tutorial.html">Tutorial</a>
183+
<a href="showcase.html">Showcase</a>
183184
<a href="docs.html">Docs</a>
184185
<a href="disclaimer.html">Motivation</a>
185186
<a href="download.html">Download</a>
@@ -203,6 +204,7 @@
203204
<a href="fdd.html">FDD Story</a>
204205
<a href="getting-started.html">Get Started</a>
205206
<a href="tutorial.html">Tutorial</a>
207+
<a href="showcase.html">Showcase</a>
206208
<a href="docs.html">Docs</a>
207209
<a href="disclaimer.html">Motivation</a>
208210
<a href="download.html">Download</a>

Website/src/getting-started.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,7 @@
258258
<a href="fdd.html">The FDD Story</a>
259259
<a href="getting-started.html" style="color: var(--color-text);">Get Started</a>
260260
<a href="tutorial.html">Tutorial</a>
261+
<a href="showcase.html">Showcase</a>
261262
<a href="docs.html">Docs</a>
262263
<a href="disclaimer.html">Motivation</a>
263264
<a href="download.html">Download</a>
@@ -281,6 +282,7 @@
281282
<a href="fdd.html">FDD Story</a>
282283
<a href="getting-started.html">Get Started</a>
283284
<a href="tutorial.html">Tutorial</a>
285+
<a href="showcase.html">Showcase</a>
284286
<a href="docs.html">Docs</a>
285287
<a href="disclaimer.html">Motivation</a>
286288
<a href="download.html">Download</a>
547 KB
Loading

Website/src/imprint.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464
<a href="fdd.html">FDD Story</a>
6565
<a href="getting-started.html">Get Started</a>
6666
<a href="tutorial.html">Tutorial</a>
67+
<a href="showcase.html">Showcase</a>
6768
<a href="docs.html">Docs</a>
6869
<a href="disclaimer.html">Motivation</a>
6970
<a href="download.html">Download</a>
@@ -87,6 +88,7 @@
8788
<a href="fdd.html">FDD Story</a>
8889
<a href="getting-started.html">Get Started</a>
8990
<a href="tutorial.html">Tutorial</a>
91+
<a href="showcase.html">Showcase</a>
9092
<a href="docs.html">Docs</a>
9193
<a href="disclaimer.html">Motivation</a>
9294
<a href="download.html">Download</a>

0 commit comments

Comments
 (0)