feat: implement website layout and homepage

- Reorganize components into common/, home/, company/, product/ directories
- Add BaseLayout with shared SiteNav and SiteFooter
- Implement homepage sections: Hero, SocialProofBar, ProductShowcase,
  UseCase, GetStarted, ProductCards, CaseStudySpotlight, BuildWhat
- Add reusable components: BrandButton, NodeBadge, ProductCard,
  FooterLinkColumn, NavDesktopLink, MobileMenu
- Add PPFormula font family, client logos, and icon assets
- Add hero/footer logo frame sequences for scroll-driven animations
- Add useFrameScrub composable and smoothScroll (Lenis + GSAP ScrollTrigger)
- Add route config, nav config, and placeholder pages for all routes
- Add Playwright e2e tests for homepage and navigation
- Add GSAP and Lenis dependencies
- Fix stylelint color-function-notation in global.css
This commit is contained in:
Yourz
2026-04-11 20:18:40 +08:00
parent aeedb60628
commit 14140db09f
260 changed files with 3102 additions and 1867 deletions

View File

@@ -6,20 +6,26 @@
"scripts": {
"dev": "astro dev",
"build": "astro build",
"preview": "astro preview"
"preview": "astro preview",
"test:e2e": "playwright test",
"test:e2e:local": "PLAYWRIGHT_LOCAL=1 playwright test"
},
"dependencies": {
"@astrojs/sitemap": "catalog:",
"@comfyorg/design-system": "workspace:*",
"@vercel/analytics": "catalog:",
"gsap": "catalog:",
"lenis": "catalog:",
"vue": "catalog:"
},
"devDependencies": {
"@astrojs/check": "catalog:",
"@astrojs/vue": "catalog:",
"@tailwindcss/vite": "catalog:",
"astro": "catalog:",
"tailwindcss": "catalog:",
"typescript": "catalog:"
"typescript": "catalog:",
"@playwright/test": "catalog:"
},
"nx": {
"tags": [
@@ -75,6 +81,14 @@
"cwd": "apps/website",
"command": "astro check"
}
},
"test:e2e": {
"executor": "nx:run-commands",
"dependsOn": ["build"],
"options": {
"cwd": "apps/website",
"command": "playwright test"
}
}
}
}