Skip to content

FilecoinFoundationWeb/fil-one

Repository files navigation

Fil One — Landing Page

Marketing landing page for Fil One, S3-compatible object storage built on Filecoin.

Tech stack

  • React 18 + TypeScript
  • Vite (build & dev server)
  • Tailwind CSS
  • shadcn/ui (Radix primitives)
  • React Router (client-side routing)
  • Framer Motion (animations)
  • Vitest (unit tests)

Project structure

src/
├── assets/                # Images & SVGs (feature cards, logo, dashboard preview, CTA bg)
├── components/
│   ├── Navbar.tsx
│   ├── NavLink.tsx
│   ├── HeroSection.tsx         # Hero with walkthrough video player
│   ├── HeroLens.tsx            # WebGL interactive lens effect on logo
│   ├── IntroSection.tsx
│   ├── FeaturesSection.tsx     # Horizontal scrolling feature carousel
│   ├── ComparisonSection.tsx   # Competitor comparison table (responsive)
│   ├── PricingSection.tsx
│   ├── SavingsSection.tsx
│   ├── FaqSection.tsx
│   ├── CtaSection.tsx
│   ├── Footer.tsx
│   ├── JsonLd.tsx              # Structured data for SEO
│   ├── WaitlistInput.tsx       # HubSpot waitlist form
│   └── ui/                     # shadcn/ui primitives
├── pages/
│   ├── Index.tsx
│   ├── ContactSales.tsx        # HubSpot-connected contact form
│   ├── PrivacyPolicy.tsx
│   ├── TermsOfUse.tsx
│   └── NotFound.tsx
├── hooks/
│   ├── useInView.ts            # Scroll-reveal intersection observer
│   ├── useSeo.ts               # Per-page meta tags & Open Graph
│   ├── use-mobile.tsx          # Mobile breakpoint detection
│   └── use-toast.ts            # Toast notifications
└── lib/
    ├── hubspot.ts              # HubSpot portal config & form helpers
    └── utils.ts                # Shared utilities (cn, etc.)

Getting started

git clone https://github.com/FilecoinFoundationWeb/fil-one.git
cd fil-one

npm install
npm run dev

Available scripts

Script Description
npm run dev Start Vite dev server
npm run build Production build
npm run preview Preview production build locally
npm run lint Run ESLint
npm test Run tests with Vitest

HubSpot integration

Two forms submit to HubSpot via the Forms API v3:

  • Waitlist — hero section
  • Contact Sales/contact-sales

Portal ID and form GUIDs are centralised in src/lib/hubspot.ts.

Pages & routes

Route Description
/ Main landing page
/contact-sales Contact sales form
/privacy Privacy Policy
/terms Terms of Use

Deployment

Deployed on Vercel. Pushing to main triggers a production deployment automatically. SPA routing is handled via vercel.json.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages