How to add a new custom footer page
How to add a new custom page (e.g. /about-us)
/about-us)1. Create a new route
// routes/AboutPage.tsx
import React from 'react';
import Layout from '~/layouts/Default';
export default function AboutPage() {
return (
<Layout>
<div className="container py-5">
<h1>About Us</h1>
<p>This is a custom page with your company information.</p>
</div>
</Layout>
);
}2. Register the route in vite.config.js
vite.config.js3. Update the Footer.tsx component
Footer.tsx component📁 Optional: Organizing Footer Pages
Last updated
Was this helpful?
