Skip to content

Commit 7cf4cdd

Browse files
committed
build: 1 build instead of twice.
1 parent 4701fb3 commit 7cf4cdd

File tree

3 files changed

+44
-28
lines changed

3 files changed

+44
-28
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "fezcodex",
3-
"version": "0.8.4",
3+
"version": "0.8.5",
44
"private": true,
55
"homepage": "https://fezcode.com",
66
"dependencies": {
@@ -47,7 +47,7 @@
4747
"format": "prettier --write \"src/**/*.{js,jsx,css,json}\"",
4848
"predeploy": "npm run build",
4949
"deploy": "gh-pages -d build -b gh-pages",
50-
"prod": "git push && npm run build && npm run deploy",
50+
"prod": "npm run lint && git push && npm run deploy",
5151
"postbuild": "react-snap"
5252
},
5353
"reactSnap": {

public/rss.xml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,24 @@
99
<link>https://fezcode.com</link>
1010
</image>
1111
<generator>RSS for Node</generator>
12-
<lastBuildDate>Sun, 21 Dec 2025 13:27:50 GMT</lastBuildDate>
12+
<lastBuildDate>Sun, 21 Dec 2025 13:45:58 GMT</lastBuildDate>
1313
<atom:link href="https://fezcode.com/rss.xml" rel="self" type="application/rss+xml"/>
14-
<pubDate>Sun, 21 Dec 2025 13:27:50 GMT</pubDate>
14+
<pubDate>Sun, 21 Dec 2025 13:45:58 GMT</pubDate>
1515
<copyright><![CDATA[2025 Ahmed Samil Bulbul]]></copyright>
1616
<language><![CDATA[en]]></language>
1717
<managingEditor><![CDATA[samil.bulbul@gmail.com (Ahmed Samil Bulbul)]]></managingEditor>
1818
<webMaster><![CDATA[samil.bulbul@gmail.com (Ahmed Samil Bulbul)]]></webMaster>
1919
<ttl>60</ttl>
20+
<item>
21+
<title><![CDATA[Routing Revolution: SSG, BrowserRouter, and the SEO Fix]]></title>
22+
<description><![CDATA[[object Object]]]></description>
23+
<link>https://fezcode.com/blog/routing-revolution-ssg-and-seo</link>
24+
<guid isPermaLink="false">https://fezcode.com/blog/routing-revolution-ssg-and-seo</guid>
25+
<dc:creator><![CDATA[Ahmed Samil Bulbul]]></dc:creator>
26+
<pubDate>Sun, 21 Dec 2025 00:00:00 GMT</pubDate>
27+
<content:encoded><![CDATA[<h1>Routing Revolution: SSG, BrowserRouter, and the SEO Fix</h1>
28+
<p><a href="https://fezcode.com/blog/routing-revolution-ssg-and-seo">Read more...</a></p>]]></content:encoded>
29+
</item>
2030
<item>
2131
<title><![CDATA[The Art of the Algorithm: Generative Visuals in Fezcodex]]></title>
2232
<description><![CDATA[[object Object]]]></description>
@@ -3972,7 +3982,7 @@ function App() {
39723982
}
39733983
</code></pre>
39743984
<ul>
3975-
<li><strong>Purpose</strong>: <code>HashRouter</code> uses the hash portion of the URL (e.g., <code>http://localhost:3000/blog</code>) to keep your UI in sync with the URL. This is particularly useful for static site hosting (like GitHub Pages) because it doesn&#39;t require any special server-side configuration to handle routing. The server always serves <code>index.html</code>, and the React application handles the routing based on the hash.</li>
3985+
<li><strong>Purpose</strong>: <code>HashRouter</code> uses the hash portion of the URL (e.g., <code>http://localhost:3000/#/blog</code>) to keep your UI in sync with the URL. This is particularly useful for static site hosting (like GitHub Pages) because it doesn&#39;t require any special server-side configuration to handle routing. The server always serves <code>index.html</code>, and the React application handles the routing based on the hash.</li>
39763986
</ul>
39773987
<h3>2. <code>Routes</code> and <code>Route</code></h3>
39783988
<p>These components are used to define the mapping between URL paths and the React components that should be rendered for those paths. They are typically found in a central routing component, like <code>AnimatedRoutes.js</code> in this project.</p>
@@ -5671,7 +5681,7 @@ they do so in fundamentally different ways, and these differences become crucial
56715681
</ul>
56725682
<h3><code>HashRouter</code>: The Static Hosting Friend</h3>
56735683
<ul>
5674-
<li><strong>URL Structure:</strong> <code>https://yourdomain.com/blog/my-post</code></li>
5684+
<li><strong>URL Structure:</strong> <code>https://yourdomain.com/#/blog/my-post</code></li>
56755685
<li><strong>How it Works:</strong><ol>
56765686
<li>When a user navigates to a URL with a hash (e.g., <code>#/blog/my-post</code>), the server (in this case, GitHub Pages) only sees the part of the URL <em>before</em> the hash: <code>https://yourdomain.com/</code>.</li>
56775687
<li>GitHub Pages, being a static file server, simply looks for and serves the <code>index.html</code> file located at the root of your deployment.</li>

public/sitemap.xml

Lines changed: 28 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,58 +2,64 @@
22
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
33
<url>
44
<loc>https://fezcode.com/</loc>
5-
<lastmod>2025-12-21T13:27:51.588Z</lastmod>
5+
<lastmod>2025-12-21T13:45:59.336Z</lastmod>
66
<changefreq>monthly</changefreq>
77
<priority>1.0</priority>
88
</url>
99
<url>
1010
<loc>https://fezcode.com/about</loc>
11-
<lastmod>2025-12-21T13:27:51.589Z</lastmod>
11+
<lastmod>2025-12-21T13:45:59.337Z</lastmod>
1212
<changefreq>monthly</changefreq>
1313
<priority>0.8</priority>
1414
</url>
1515
<url>
1616
<loc>https://fezcode.com/blog</loc>
17-
<lastmod>2025-12-21T13:27:51.589Z</lastmod>
17+
<lastmod>2025-12-21T13:45:59.337Z</lastmod>
1818
<changefreq>monthly</changefreq>
1919
<priority>0.8</priority>
2020
</url>
2121
<url>
2222
<loc>https://fezcode.com/projects</loc>
23-
<lastmod>2025-12-21T13:27:51.589Z</lastmod>
23+
<lastmod>2025-12-21T13:45:59.337Z</lastmod>
2424
<changefreq>monthly</changefreq>
2525
<priority>0.8</priority>
2626
</url>
2727
<url>
2828
<loc>https://fezcode.com/logs</loc>
29-
<lastmod>2025-12-21T13:27:51.589Z</lastmod>
29+
<lastmod>2025-12-21T13:45:59.337Z</lastmod>
3030
<changefreq>monthly</changefreq>
3131
<priority>0.8</priority>
3232
</url>
3333
<url>
3434
<loc>https://fezcode.com/stories</loc>
35-
<lastmod>2025-12-21T13:27:51.589Z</lastmod>
35+
<lastmod>2025-12-21T13:45:59.337Z</lastmod>
3636
<changefreq>monthly</changefreq>
3737
<priority>0.8</priority>
3838
</url>
3939
<url>
4040
<loc>https://fezcode.com/settings</loc>
41-
<lastmod>2025-12-21T13:27:51.589Z</lastmod>
41+
<lastmod>2025-12-21T13:45:59.337Z</lastmod>
4242
<changefreq>monthly</changefreq>
4343
<priority>0.8</priority>
4444
</url>
4545
<url>
4646
<loc>https://fezcode.com/apps</loc>
47-
<lastmod>2025-12-21T13:27:51.589Z</lastmod>
47+
<lastmod>2025-12-21T13:45:59.337Z</lastmod>
4848
<changefreq>monthly</changefreq>
4949
<priority>0.8</priority>
5050
</url>
5151
<url>
5252
<loc>https://fezcode.com/stories/lore</loc>
53-
<lastmod>2025-12-21T13:27:51.589Z</lastmod>
53+
<lastmod>2025-12-21T13:45:59.337Z</lastmod>
5454
<changefreq>monthly</changefreq>
5555
<priority>0.8</priority>
5656
</url>
57+
<url>
58+
<loc>https://fezcode.com/blog/routing-revolution-ssg-and-seo</loc>
59+
<lastmod>2025-12-21T00:00:00.000Z</lastmod>
60+
<changefreq>weekly</changefreq>
61+
<priority>0.7</priority>
62+
</url>
5763
<url>
5864
<loc>https://fezcode.com/blog/art-generation-in-fezcodex</loc>
5965
<lastmod>2025-12-20T00:00:00.000Z</lastmod>
@@ -1022,79 +1028,79 @@
10221028
</url>
10231029
<url>
10241030
<loc>https://fezcode.com/stories/books/1</loc>
1025-
<lastmod>2025-12-21T13:27:51.599Z</lastmod>
1031+
<lastmod>2025-12-21T13:45:59.344Z</lastmod>
10261032
<changefreq>monthly</changefreq>
10271033
<priority>0.6</priority>
10281034
</url>
10291035
<url>
10301036
<loc>https://fezcode.com/stories/books/1/pages/1</loc>
1031-
<lastmod>2025-12-21T13:27:51.599Z</lastmod>
1037+
<lastmod>2025-12-21T13:45:59.344Z</lastmod>
10321038
<changefreq>weekly</changefreq>
10331039
<priority>0.5</priority>
10341040
</url>
10351041
<url>
10361042
<loc>https://fezcode.com/stories/books/2</loc>
1037-
<lastmod>2025-12-21T13:27:51.599Z</lastmod>
1043+
<lastmod>2025-12-21T13:45:59.344Z</lastmod>
10381044
<changefreq>monthly</changefreq>
10391045
<priority>0.6</priority>
10401046
</url>
10411047
<url>
10421048
<loc>https://fezcode.com/stories/books/2/pages/1</loc>
1043-
<lastmod>2025-12-21T13:27:51.599Z</lastmod>
1049+
<lastmod>2025-12-21T13:45:59.344Z</lastmod>
10441050
<changefreq>weekly</changefreq>
10451051
<priority>0.5</priority>
10461052
</url>
10471053
<url>
10481054
<loc>https://fezcode.com/stories/books/3</loc>
1049-
<lastmod>2025-12-21T13:27:51.599Z</lastmod>
1055+
<lastmod>2025-12-21T13:45:59.344Z</lastmod>
10501056
<changefreq>monthly</changefreq>
10511057
<priority>0.6</priority>
10521058
</url>
10531059
<url>
10541060
<loc>https://fezcode.com/stories/books/3/pages/1</loc>
1055-
<lastmod>2025-12-21T13:27:51.599Z</lastmod>
1061+
<lastmod>2025-12-21T13:45:59.344Z</lastmod>
10561062
<changefreq>weekly</changefreq>
10571063
<priority>0.5</priority>
10581064
</url>
10591065
<url>
10601066
<loc>https://fezcode.com/stories/books/3/pages/2</loc>
1061-
<lastmod>2025-12-21T13:27:51.599Z</lastmod>
1067+
<lastmod>2025-12-21T13:45:59.344Z</lastmod>
10621068
<changefreq>weekly</changefreq>
10631069
<priority>0.5</priority>
10641070
</url>
10651071
<url>
10661072
<loc>https://fezcode.com/stories/books/4</loc>
1067-
<lastmod>2025-12-21T13:27:51.599Z</lastmod>
1073+
<lastmod>2025-12-21T13:45:59.344Z</lastmod>
10681074
<changefreq>monthly</changefreq>
10691075
<priority>0.6</priority>
10701076
</url>
10711077
<url>
10721078
<loc>https://fezcode.com/stories/books/4/pages/1</loc>
1073-
<lastmod>2025-12-21T13:27:51.599Z</lastmod>
1079+
<lastmod>2025-12-21T13:45:59.344Z</lastmod>
10741080
<changefreq>weekly</changefreq>
10751081
<priority>0.5</priority>
10761082
</url>
10771083
<url>
10781084
<loc>https://fezcode.com/stories/books/4/pages/2</loc>
1079-
<lastmod>2025-12-21T13:27:51.599Z</lastmod>
1085+
<lastmod>2025-12-21T13:45:59.344Z</lastmod>
10801086
<changefreq>weekly</changefreq>
10811087
<priority>0.5</priority>
10821088
</url>
10831089
<url>
10841090
<loc>https://fezcode.com/stories/books/5</loc>
1085-
<lastmod>2025-12-21T13:27:51.599Z</lastmod>
1091+
<lastmod>2025-12-21T13:45:59.344Z</lastmod>
10861092
<changefreq>monthly</changefreq>
10871093
<priority>0.6</priority>
10881094
</url>
10891095
<url>
10901096
<loc>https://fezcode.com/stories/books/5/pages/1</loc>
1091-
<lastmod>2025-12-21T13:27:51.599Z</lastmod>
1097+
<lastmod>2025-12-21T13:45:59.344Z</lastmod>
10921098
<changefreq>weekly</changefreq>
10931099
<priority>0.5</priority>
10941100
</url>
10951101
<url>
10961102
<loc>https://fezcode.com/stories/books/5/pages/2</loc>
1097-
<lastmod>2025-12-21T13:27:51.599Z</lastmod>
1103+
<lastmod>2025-12-21T13:45:59.344Z</lastmod>
10981104
<changefreq>weekly</changefreq>
10991105
<priority>0.5</priority>
11001106
</url>

0 commit comments

Comments
 (0)