Fortune Seeker uses React Router v6 with aDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/apursley2012/fortune-seeker/llms.txt
Use this file to discover all available pages before exploring further.
<Routes> and <Route> setup rendered inside a top-level <BrowserRouter>. Every page in the portfolio is a discrete React component mapped to a URL path, and all route definitions live together in assets/main.js (the compiled bundle). In the source repository you will find the router configuration in the app’s entry point, typically src/main.jsx or src/App.jsx.
Current Routes
The template ships with nine routes covering the full portfolio experience:| Path | Component | Thematic Name |
|---|---|---|
/ | Home | The Reading |
/about | About | The Reader |
/projects | Projects | Major Arcana |
/skills | Skills | Cast Spells |
/work | WorkHistory | Pendulum Swing |
/case-studies | CaseStudies | Deep Reading |
/blog | Blog | Scribe’s Pages |
/testimonials | Testimonials | Channeled Reviews |
/contact | Contact | Send a Sigil |
Route Structure
The router wraps the entire app in a<BrowserRouter>, passes every page through the shared <Layout> component (which renders the navigation sidebar and ambient background effects), and maps paths to page components with <Route>:
<Layout>, so any new page component you add will inherit them automatically.
Adding a New Page
Create the page component
Add a new file in
src/pages/, for example src/pages/Gallery.jsx. Export a default React component from it:Add a Route entry
Import the component in your router file and register the path inside the
<Routes> block:Add a navigation link
Open the
navLinks array in Navigation.jsx (or wherever it is defined in your source) and append a new entry so the page appears in the sidebar:Removing a Page
Delete the Route entry
Remove the relevant
<Route> line from the <Routes> block. The component file can be deleted or kept for reference.Remove the navigation link
Delete the matching object from the
navLinks array so the dead link no longer appears in the sidebar.GitHub Pages and Client-Side Routing
GitHub Pages is a static file host — it serves files by path and has no knowledge of React Router. When a user visitshttps://yourname.github.io/fortune-seeker/about directly (or refreshes the page), GitHub Pages looks for a real file at that path. Without a matching file it returns a 404.
Fortune Seeker handles this by shipping a dedicated HTML file for each route at the project root:
| File | Serves route |
|---|---|
index.html | / |
home.html | /home |
about.html | /about |
casestudies.html | /case-studies |
contact.html | /contact |
.nojekyll file at the project root is also required — it tells GitHub Pages to skip Jekyll processing, which would otherwise ignore files and folders whose names begin with an underscore (including Vite’s _assets output directory in some configurations).