Bob AI: Add contact page
This commit is contained in:
@@ -5,6 +5,7 @@ import HomePage from './pages/HomePage';
|
||||
import PortfolioPage from "@/pages/PortfolioPage";
|
||||
import AboutPage from "@/pages/AboutPage";
|
||||
import ProductsPage from "@/pages/ProductsPage";
|
||||
import ContactPage from "@/pages/ContactPage";
|
||||
export default function App() {
|
||||
return (
|
||||
<Routes>
|
||||
@@ -13,6 +14,7 @@ export default function App() {
|
||||
<Route path="/portfolio" element={<PortfolioPage />} />
|
||||
<Route path="/about" element={<AboutPage />} />
|
||||
<Route path="/products" element={<ProductsPage />} />
|
||||
<Route path="/contact" element={<ContactPage />} />
|
||||
</Route>
|
||||
</Routes>
|
||||
);
|
||||
|
||||
@@ -38,6 +38,8 @@ export default function Layout() {
|
||||
{ name: "Portfolio", href: "/portfolio" },
|
||||
{ name: "About", href: "/about" },
|
||||
{ name: "Products", href: "/products" },
|
||||
{ name: "Contact", href: "/contact" },
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
95
src/pages/ContactPage.tsx
Normal file
95
src/pages/ContactPage.tsx
Normal file
@@ -0,0 +1,95 @@
|
||||
import { routes } from "@/routes";
|
||||
import NavbarCentered from "@/components/ui/NavbarCentered";
|
||||
import HeroBillboard from "@/components/sections/hero/HeroBillboard";
|
||||
import FeaturesIconCards from "@/components/sections/features/FeaturesIconCards";
|
||||
import ContactCenter from "@/components/sections/contact/ContactCenter";
|
||||
import FooterSimple from "@/components/sections/footer/FooterSimple";
|
||||
import GridLinesBackground from "@/components/ui/GridLinesBackground";
|
||||
|
||||
export default function ContactPage() {
|
||||
return (
|
||||
<div className="min-h-screen bg-background text-foreground relative overflow-hidden">
|
||||
<GridLinesBackground position="fixed" />
|
||||
|
||||
<div className="relative z-10">
|
||||
<NavbarCentered
|
||||
logo="Orca"
|
||||
navItems={routes.map((r) => ({ name: r.label, href: r.path }))}
|
||||
ctaButton={{ text: "Launch App", href: "https://orca.so" }}
|
||||
/>
|
||||
|
||||
<main>
|
||||
<HeroBillboard
|
||||
tag="Contact Us"
|
||||
title="Connect with the Orca Pod"
|
||||
description="Whether you're a developer looking to build on Orca, a user needing support, or just want to join the community, here are all our official channels."
|
||||
primaryButton={{ text: "Visit Orca.so", href: "https://orca.so" }}
|
||||
secondaryButton={{ text: "View GitHub", href: "https://github.com/orca-so" }}
|
||||
/>
|
||||
|
||||
<FeaturesIconCards
|
||||
tag="Official Channels"
|
||||
title="Where to find us"
|
||||
description="Ensure you are always interacting with our verified official accounts and domains."
|
||||
features={[
|
||||
{
|
||||
icon: "Globe",
|
||||
title: "Official Website",
|
||||
description: "Trade, provide liquidity, and explore the Orca ecosystem at orca.so."
|
||||
},
|
||||
{
|
||||
icon: "Github",
|
||||
title: "GitHub Repository",
|
||||
description: "Access our open-source smart contracts, SDKs, and developer documentation."
|
||||
},
|
||||
{
|
||||
icon: "Twitter",
|
||||
title: "Twitter / X",
|
||||
description: "Follow @orca_so for real-time announcements, updates, and community news."
|
||||
},
|
||||
{
|
||||
icon: "MessageSquare",
|
||||
title: "Discord Community",
|
||||
description: "Join our active Discord server to chat with the team and other community members."
|
||||
}
|
||||
]}
|
||||
/>
|
||||
|
||||
<ContactCenter
|
||||
tag="Newsletter"
|
||||
title="Stay in the loop"
|
||||
description="Sign up for our newsletter to receive the latest protocol updates directly to your inbox."
|
||||
inputPlaceholder="Enter your email address"
|
||||
buttonText="Subscribe Now"
|
||||
/>
|
||||
</main>
|
||||
|
||||
<FooterSimple
|
||||
brand="Orca"
|
||||
columns={[
|
||||
{
|
||||
title: "Ecosystem",
|
||||
items: [
|
||||
{ label: "Website", href: "https://orca.so" },
|
||||
{ label: "GitHub", href: "https://github.com/orca-so" },
|
||||
{ label: "Developers", href: "https://docs.orca.so" }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Community",
|
||||
items: [
|
||||
{ label: "Twitter", href: "https://twitter.com/orca_so" },
|
||||
{ label: "Discord", href: "https://discord.gg/orca-so" }
|
||||
]
|
||||
}
|
||||
]}
|
||||
copyright="© 2024 Orca. All rights reserved."
|
||||
links={[
|
||||
{ label: "Terms of Service", href: "#" },
|
||||
{ label: "Privacy Policy", href: "#" }
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -9,4 +9,5 @@ export const routes: Route[] = [
|
||||
{ path: '/portfolio', label: 'Portfolio', pageFile: 'PortfolioPage' },
|
||||
{ path: '/about', label: 'About', pageFile: 'AboutPage' },
|
||||
{ path: '/products', label: 'Products', pageFile: 'ProductsPage' },
|
||||
{ path: '/contact', label: 'Contact', pageFile: 'ContactPage' },
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user