Compare commits
12 Commits
version_6_
...
version_11
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f65d93dd8a | ||
| f8c2be7a03 | |||
|
|
b6c3dba134 | ||
| d4db27a733 | |||
| 5f9bd0a9e2 | |||
| 3acb06b0cf | |||
|
|
773deb645a | ||
| cfa3dcc918 | |||
|
|
82c69bb865 | ||
| d1b534bab2 | |||
|
|
fe82eeaf20 | ||
| c4b0bdd80c |
12
src/App.tsx
12
src/App.tsx
@@ -1,12 +1,24 @@
|
||||
import { Routes, Route } from 'react-router-dom';
|
||||
import Layout from './components/Layout';
|
||||
import HomePage from './pages/HomePage';
|
||||
import FeaturesPage from './pages/Features';
|
||||
import SolutionsPage from './pages/Solutions';
|
||||
import PricingPage from './pages/Pricing';
|
||||
import ClientsPage from './pages/Clients';
|
||||
import FaqPage from './pages/Faq';
|
||||
import MetricsPage from './pages/Metrics';
|
||||
|
||||
export default function App() {
|
||||
return (
|
||||
<Routes>
|
||||
<Route element={<Layout />}>
|
||||
<Route path="/" element={<HomePage />} />
|
||||
<Route path="/features" element={<FeaturesPage />} />
|
||||
<Route path="/solutions" element={<SolutionsPage />} />
|
||||
<Route path="/pricing" element={<PricingPage />} />
|
||||
<Route path="/clients" element={<ClientsPage />} />
|
||||
<Route path="/faq" element={<FaqPage />} />
|
||||
<Route path="/metrics" element={<MetricsPage />} />
|
||||
</Route>
|
||||
</Routes>
|
||||
);
|
||||
|
||||
@@ -8,31 +8,31 @@ export default function Layout() {
|
||||
const navItems = [
|
||||
{
|
||||
"name": "Home",
|
||||
"href": "#home"
|
||||
"href": "/"
|
||||
},
|
||||
{
|
||||
"name": "Features",
|
||||
"href": "#features"
|
||||
"href": "/features"
|
||||
},
|
||||
{
|
||||
"name": "Solutions",
|
||||
"href": "#solutions"
|
||||
"href": "/solutions"
|
||||
},
|
||||
{
|
||||
"name": "Pricing",
|
||||
"href": "#pricing"
|
||||
"href": "/pricing"
|
||||
},
|
||||
{
|
||||
"name": "Clients",
|
||||
"href": "#clients"
|
||||
"href": "/clients"
|
||||
},
|
||||
{
|
||||
"name": "FAQ",
|
||||
"href": "#faq"
|
||||
"href": "/faq"
|
||||
},
|
||||
{
|
||||
"name": "Metrics",
|
||||
"href": "#metrics"
|
||||
"href": "/metrics"
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
@@ -56,7 +56,7 @@ const HeroBillboardCarousel = ({
|
||||
<div className="w-content-width mx-auto overflow-hidden mask-fade-x">
|
||||
<div className="flex w-max animate-marquee-horizontal" style={{ animationDuration: "60s" }}>
|
||||
{duplicated.map((item, i) => (
|
||||
<div key={i} className="shrink-0 w-60 md:w-75 2xl:w-80 aspect-4/5 mr-3 md:mr-5 p-1.5 card rounded-lg overflow-hidden">
|
||||
<div key={i} className="shrink-0 w-40 md:w-50 2xl:w-60 aspect-4/5 mr-3 md:mr-5 p-1.5 card rounded-lg overflow-hidden">
|
||||
<ImageOrVideo
|
||||
imageSrc={item.imageSrc}
|
||||
videoSrc={item.videoSrc}
|
||||
|
||||
@@ -30,7 +30,13 @@ const HeroSplitMediaGrid = ({
|
||||
<div className="flex flex-col md:flex-row items-center gap-10 md:gap-20 w-content-width mx-auto">
|
||||
<div className="w-full md:w-1/2">
|
||||
<div className="flex flex-col items-center md:items-start gap-3">
|
||||
<span className="px-3 py-1 mb-1 text-sm card rounded">{tag}</span>
|
||||
<div className="flex items-center gap-3 mb-3 p-3 card rounded-theme">
|
||||
<div className="relative flex items-center justify-center w-4 h-4">
|
||||
<div className="absolute w-full h-full bg-green-500 rounded-full animate-ping"></div>
|
||||
<div className="w-2 h-2 bg-green-500 rounded-full"></div>
|
||||
</div>
|
||||
<span className="text-sm">2,345 people active now</span>
|
||||
</div>
|
||||
|
||||
<TextAnimation
|
||||
text={title}
|
||||
@@ -52,13 +58,6 @@ const HeroSplitMediaGrid = ({
|
||||
<Button text={primaryButton.text} href={primaryButton.href} variant="primary"/>
|
||||
<Button text={secondaryButton.text} href={secondaryButton.href} variant="secondary"animationDelay={0.1} />
|
||||
</div>
|
||||
<div className="flex items-center gap-3 mt-5 p-3 card rounded-theme">
|
||||
<div className="relative flex items-center justify-center w-4 h-4">
|
||||
<div className="absolute w-full h-full bg-green-500 rounded-full animate-ping"></div>
|
||||
<div className="w-2 h-2 bg-green-500 rounded-full"></div>
|
||||
</div>
|
||||
<span className="text-sm">2,345 people active now</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@ import { motion, AnimatePresence } from "motion/react";
|
||||
import { Plus, ArrowUpRight } from "lucide-react";
|
||||
import { cls } from "@/lib/utils";
|
||||
import Button from "@/components/ui/Button";
|
||||
import { Link } from "react-router-dom";
|
||||
|
||||
interface NavbarFloatingProps {
|
||||
logo: string;
|
||||
@@ -10,15 +11,6 @@ interface NavbarFloatingProps {
|
||||
ctaButton: { text: string; href: string };
|
||||
}
|
||||
|
||||
const handleNavClick = (e: React.MouseEvent<HTMLAnchorElement>, href: string, onClose?: () => void) => {
|
||||
if (href.startsWith("#")) {
|
||||
e.preventDefault();
|
||||
const element = document.getElementById(href.slice(1));
|
||||
element?.scrollIntoView({ behavior: "smooth", block: "start" });
|
||||
}
|
||||
onClose?.();
|
||||
};
|
||||
|
||||
const NavbarFloating = ({ logo, navItems, ctaButton }: NavbarFloatingProps) => {
|
||||
const [menuOpen, setMenuOpen] = useState(false);
|
||||
|
||||
@@ -79,9 +71,9 @@ const NavbarFloating = ({ logo, navItems, ctaButton }: NavbarFloatingProps) => {
|
||||
<div className="px-3 xl:px-4 2xl:px-5 py-0 md:py-1 2xl:py-2 rounded-theme-capped bg-white/10">
|
||||
{navItems.map((item, index) => (
|
||||
<div key={item.name}>
|
||||
<a
|
||||
href={item.href}
|
||||
onClick={(e) => handleNavClick(e, item.href, () => setMenuOpen(false))}
|
||||
<Link
|
||||
to={item.href}
|
||||
onClick={() => setMenuOpen(false)}
|
||||
className="group flex items-center justify-between py-3 w-full"
|
||||
>
|
||||
<span className="text-xl md:text-2xl font-medium text-foreground group-hover:ml-3 transition-[margin] duration-300">
|
||||
@@ -91,7 +83,7 @@ const NavbarFloating = ({ logo, navItems, ctaButton }: NavbarFloatingProps) => {
|
||||
className="h-(--text-xl) md:h-(--text-2xl) w-auto text-foreground group-hover:rotate-45 group-hover:mr-3 transition-all duration-300"
|
||||
strokeWidth={2}
|
||||
/>
|
||||
</a>
|
||||
</Link>
|
||||
{index < navItems.length - 1 && (
|
||||
<div className="h-px bg-accent/50" />
|
||||
)}
|
||||
|
||||
@@ -138,6 +138,7 @@ body {
|
||||
background-color: var(--background);
|
||||
color: var(--foreground);
|
||||
font-family: '${montserrat.variable} ${inter.variable}', sans-serif;
|
||||
font-weight: 500;
|
||||
position: relative;
|
||||
min-height: 100vh;
|
||||
overscroll-behavior: none;
|
||||
|
||||
3
src/pages/Clients.tsx
Normal file
3
src/pages/Clients.tsx
Normal file
@@ -0,0 +1,3 @@
|
||||
export default function ClientsPage() {
|
||||
return <h1>Clients Page</h1>;
|
||||
}
|
||||
3
src/pages/Faq.tsx
Normal file
3
src/pages/Faq.tsx
Normal file
@@ -0,0 +1,3 @@
|
||||
export default function FaqPage() {
|
||||
return <h1>FAQ Page</h1>;
|
||||
}
|
||||
3
src/pages/Features.tsx
Normal file
3
src/pages/Features.tsx
Normal file
@@ -0,0 +1,3 @@
|
||||
export default function FeaturesPage() {
|
||||
return <h1>Features Page</h1>;
|
||||
}
|
||||
3
src/pages/Home.tsx
Normal file
3
src/pages/Home.tsx
Normal file
@@ -0,0 +1,3 @@
|
||||
export default function HomePage() {
|
||||
return <h1>Home Page</h1>;
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
import ContactCta from '@/components/sections/contact/ContactCta';
|
||||
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
|
||||
import FeaturesMediaCarousel from '@/components/sections/features/FeaturesMediaCarousel';
|
||||
import HeroSplitMediaGrid from '@/components/sections/hero/HeroSplitMediaGrid';
|
||||
import HeroBillboardCarousel from '@/components/sections/hero/HeroBillboardCarousel';
|
||||
import MetricsSimpleCards from '@/components/sections/metrics/MetricsSimpleCards';
|
||||
import PricingMediaCards from '@/components/sections/pricing/PricingMediaCards';
|
||||
import ProductVariantCards from '@/components/sections/product/ProductVariantCards';
|
||||
@@ -12,7 +12,7 @@ export default function HomePage() {
|
||||
return (
|
||||
<>
|
||||
<div id="home" data-section="home">
|
||||
<HeroSplitMediaGrid
|
||||
<HeroBillboardCarousel
|
||||
tag="Fintech SaaS"
|
||||
title="Unlock the Future of Financial Management"
|
||||
description="Finflow provides cutting-edge solutions for businesses to streamline operations, enhance security, and drive growth in the digital economy."
|
||||
@@ -31,6 +31,18 @@ export default function HomePage() {
|
||||
{
|
||||
imageSrc: "https://storage.googleapis.com/webild/users/user_3AJoeL1kj3KAGCFdKZaVyRTrBRV/another-view-of-a-sleek-dark-fintech-das-1778165802942-0ef804ae.png",
|
||||
},
|
||||
{
|
||||
imageSrc: "https://storage.googleapis.com/webild/users/user_3AJoeL1kj3KAGCFdKZaVyRTrBRV/an-abstract-representation-of-complex-fi-1778165803491-13ee1608.png?_wi=1",
|
||||
},
|
||||
{
|
||||
imageSrc: "https://storage.googleapis.com/webild/users/user_3AJoeL1kj3KAGCFdKZaVyRTrBRV/a-visual-metaphor-for-advanced-financial-1778165802292-f7d22bff.png?_wi=1",
|
||||
},
|
||||
{
|
||||
imageSrc: "https://storage.googleapis.com/webild/users/user_3AJoeL1kj3KAGCFdKZaVyRTrBRV/an-illustration-of-financial-process-aut-1778165804096-d3ea01b2.png?_wi=1",
|
||||
},
|
||||
{
|
||||
imageSrc: "https://storage.googleapis.com/webild/users/user_3AJoeL1kj3KAGCFdKZaVyRTrBRV/a-visual-concept-for-regulatory-complian-1778165802615-1e994baa.png?_wi=1",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
@@ -49,25 +61,25 @@ export default function HomePage() {
|
||||
title: "Advanced Data Analytics",
|
||||
description: "Gain deep insights with real-time analytics and predictive modeling for smarter decisions.",
|
||||
buttonIcon: "LineChart",
|
||||
imageSrc: "https://storage.googleapis.com/webild/users/user_3AJoeL1kj3KAGCFdKZaVyRTrBRV/an-abstract-representation-of-complex-fi-1778165803491-13ee1608.png",
|
||||
imageSrc: "https://storage.googleapis.com/webild/users/user_3AJoeL1kj3KAGCFdKZaVyRTrBRV/an-abstract-representation-of-complex-fi-1778165803491-13ee1608.png?_wi=2",
|
||||
},
|
||||
{
|
||||
title: "Enterprise-Grade Security",
|
||||
description: "Protect your assets with our multi-layered security protocols and blockchain-backed encryption.",
|
||||
buttonIcon: "Lock",
|
||||
imageSrc: "https://storage.googleapis.com/webild/users/user_3AJoeL1kj3KAGCFdKZaVyRTrBRV/a-visual-metaphor-for-advanced-financial-1778165802292-f7d22bff.png",
|
||||
imageSrc: "https://storage.googleapis.com/webild/users/user_3AJoeL1kj3KAGCFdKZaVyRTrBRV/a-visual-metaphor-for-advanced-financial-1778165802292-f7d22bff.png?_wi=2",
|
||||
},
|
||||
{
|
||||
title: "Automated Workflows",
|
||||
description: "Streamline operations, reduce manual errors, and free up your team for strategic initiatives.",
|
||||
buttonIcon: "Zap",
|
||||
imageSrc: "https://storage.googleapis.com/webild/users/user_3AJoeL1kj3KAGCFdKZaVyRTrBRV/an-illustration-of-financial-process-aut-1778165804096-d3ea01b2.png",
|
||||
imageSrc: "https://storage.googleapis.com/webild/users/user_3AJoeL1kj3KAGCFdKZaVyRTrBRV/an-illustration-of-financial-process-aut-1778165804096-d3ea01b2.png?_wi=2",
|
||||
},
|
||||
{
|
||||
title: "Global Regulatory Compliance",
|
||||
description: "Stay compliant with ever-evolving financial regulations through automated monitoring and reporting.",
|
||||
buttonIcon: "CheckCircle",
|
||||
imageSrc: "https://storage.googleapis.com/webild/users/user_3AJoeL1kj3KAGCFdKZaVyRTrBRV/a-visual-concept-for-regulatory-complian-1778165802615-1e994baa.png",
|
||||
imageSrc: "https://storage.googleapis.com/webild/users/user_3AJoeL1kj3KAGCFdKZaVyRTrBRV/a-visual-concept-for-regulatory-complian-1778165802615-1e994baa.png?_wi=2",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
|
||||
3
src/pages/Metrics.tsx
Normal file
3
src/pages/Metrics.tsx
Normal file
@@ -0,0 +1,3 @@
|
||||
export default function MetricsPage() {
|
||||
return <h1>Metrics Page</h1>;
|
||||
}
|
||||
3
src/pages/Pricing.tsx
Normal file
3
src/pages/Pricing.tsx
Normal file
@@ -0,0 +1,3 @@
|
||||
export default function PricingPage() {
|
||||
return <h1>Pricing Page</h1>;
|
||||
}
|
||||
3
src/pages/Solutions.tsx
Normal file
3
src/pages/Solutions.tsx
Normal file
@@ -0,0 +1,3 @@
|
||||
export default function SolutionsPage() {
|
||||
return <h1>Solutions Page</h1>;
|
||||
}
|
||||
Reference in New Issue
Block a user