Merge version_3_1782064733092 into main #4
@@ -3,12 +3,14 @@ import Layout from './components/Layout';
|
||||
import HomePage from './pages/HomePage';
|
||||
|
||||
import ProductsPage from "@/pages/ProductsPage";
|
||||
import AboutPage from "@/pages/AboutPage";
|
||||
export default function App() {
|
||||
return (
|
||||
<Routes>
|
||||
<Route element={<Layout />}>
|
||||
<Route path="/" element={<HomePage />} />
|
||||
<Route path="/products" element={<ProductsPage />} />
|
||||
<Route path="/about" element={<AboutPage />} />
|
||||
</Route>
|
||||
</Routes>
|
||||
);
|
||||
|
||||
@@ -36,6 +36,8 @@ export default function Layout() {
|
||||
"href": "#features"
|
||||
},
|
||||
{ name: "Products", href: "/products" },
|
||||
{ name: "About", href: "/about" },
|
||||
|
||||
|
||||
];
|
||||
|
||||
|
||||
10
src/pages/AboutPage.tsx
Normal file
10
src/pages/AboutPage.tsx
Normal file
@@ -0,0 +1,10 @@
|
||||
import Button from "@/components/ui/Button";
|
||||
import TextAnimation from "@/components/ui/TextAnimation";
|
||||
|
||||
export default function AboutPage() {
|
||||
return (
|
||||
<>
|
||||
<div data-webild-section="AboutText"><section aria-label="About section" className="py-20"><div className="w-content-width mx-auto flex flex-col gap-2 items-center"><TextAnimation text="Aerodrome Finance: The Central Liquidity Hub for Base" variant="fade" gradientText={false} tag="h2" className="text-6xl 2xl:text-7xl leading-[1.15] font-semibold text-center text-balance" /><div className="flex flex-wrap gap-3 justify-center mt-2 md:mt-3"><Button text="Trade AERO" href="/swap" variant="primary" /><Button text="View Metrics" href="/metrics" variant="secondary" animationDelay={0.1} /></div></div></section></div>
|
||||
</>
|
||||
);
|
||||
}
|
||||
@@ -7,4 +7,5 @@ export interface Route {
|
||||
export const routes: Route[] = [
|
||||
{ path: '/', label: 'Home', pageFile: 'HomePage' },
|
||||
{ path: '/products', label: 'Products', pageFile: 'ProductsPage' },
|
||||
{ path: '/about', label: 'About', pageFile: 'AboutPage' },
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user