feat: overhaul LandingPage with comprehensive artisan benefit, category, and onboarding step features
All checks were successful
Beta CI/CD Pipeline / build-and-test (push) Successful in 1m1s
Beta CI/CD Pipeline / deploy-beta (push) Successful in 24s

This commit is contained in:
vickytechkey 2026-09-09 22:23:40 +05:30
parent d02c8907a6
commit d26d5f997f
20 changed files with 1307 additions and 106 deletions

View file

@ -10,6 +10,31 @@
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Libre+Caslon+Text:ital,wght@0,400;0,700;1,400&family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0" />
<script src="https://cdn.tailwindcss.com?plugins=forms,container-queries"></script>
<script>
tailwind = {
config: {
theme: {
extend: {
colors: {
brand: {
maroon: '#671B26',
maroonHover: '#52141e',
footerWine: '#791B2C',
cream: '#fbf9f5',
creamDark: '#f2eee6',
navy: '#1B2667',
border: '#e6e1d8'
}
},
fontFamily: {
sans: ['Inter', 'system-ui', '-apple-system', 'Segoe UI', 'Roboto', 'sans-serif']
}
}
}
}
};
</script>
</head>
<body>
<div id="root"></div>

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 75 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

View file

@ -55,10 +55,9 @@ describe('Supplier Portal Onboarding & Active Dashboard Tests', () => {
it('renders landing page with correct primary titles', () => {
render(<App />)
expect(screen.getByText(/The Winter Weaves/i)).toBeInTheDocument()
expect(screen.getByText(/Sell Authentic Handcrafted Products Across India & Worldwide/i)).toBeInTheDocument()
expect(screen.getByRole('heading', { name: /^Explore by Craft$/i })).toBeInTheDocument()
expect(screen.getByRole('heading', { name: /^Featured Seller Categories$/i })).toBeInTheDocument()
})
it('navigates to Support page and handles contact form submission', () => {

View file

@ -17,12 +17,15 @@ function AppRouter() {
return <DashboardLayout />;
}
if (currentPage === 'home') {
return <LandingPage />;
}
return (
<div className="is-flex is-flex-direction-column" style={{ minHeight: '100vh' }}>
<Header />
<main className="is-flex-grow-1">
{currentPage === 'profile-completion' && <OnboardingWizard />}
{currentPage === 'home' && <LandingPage />}
{currentPage === 'about' && <AboutPage />}
{currentPage === 'contact' && <ContactPage />}
{(currentPage === 'login' || currentPage === 'signup') && <AuthForms />}

File diff suppressed because it is too large Load diff