Skip to content

Commit 9f1f11a

Browse files
committed
feat: restructure website with new IA and navigation
- Add Brand and Product pages with section navigation - Update footer to reflect new IA (Foundations, Brand, Product, Connect) - Enhance homepage hero with meaningful Brand/Product links - Add translation support for all new content - Implement elegant section navigation with auto-scroll - Add placeholder components for empty sections - Restore product principles from original design - Update section titles and navigation structure - Remove outdated components and links
1 parent f1f1e97 commit 9f1f11a

22 files changed

+1634
-578
lines changed

next.config.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
import type { NextConfig } from "next";
22

33
const nextConfig: NextConfig = {
4-
output: 'export',
5-
trailingSlash: true,
6-
basePath: '/design',
7-
assetPrefix: '/design',
84
images: {
95
unoptimized: true,
106
},

src/app/design/brand/page.tsx

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
'use client';
2+
3+
import Header from '@/components/Header';
4+
import Footer from '@/components/Footer';
5+
import SectionNavigation from '@/components/SectionNavigation';
6+
import SectionPlaceholder from '@/components/SectionPlaceholder';
7+
import { Award, FileText, Download } from 'lucide-react';
8+
import { useLanguage } from '@/contexts/LanguageContext';
9+
10+
export default function BrandPage() {
11+
const { t } = useLanguage();
12+
13+
const sections = [
14+
{ id: 'principles', label: t('brand.sections.principles') },
15+
{ id: 'guidelines', label: t('brand.sections.guidelines') },
16+
{ id: 'resources', label: t('brand.sections.resources') }
17+
];
18+
19+
return (
20+
<main className="min-h-screen">
21+
<Header />
22+
23+
<SectionNavigation sections={sections} />
24+
25+
<div id="principles" className="min-h-screen flex items-center justify-center scroll-mt-24">
26+
<SectionPlaceholder
27+
title={t('brand.principles.title')}
28+
description={t('brand.principles.description')}
29+
icon={Award}
30+
/>
31+
</div>
32+
33+
<div id="guidelines" className="min-h-screen flex items-center justify-center scroll-mt-24">
34+
<SectionPlaceholder
35+
title={t('brand.guidelines.title')}
36+
description={t('brand.guidelines.description')}
37+
icon={FileText}
38+
/>
39+
</div>
40+
41+
<div id="resources" className="min-h-screen flex items-center justify-center scroll-mt-24">
42+
<SectionPlaceholder
43+
title={t('brand.resources.title')}
44+
description={t('brand.resources.description')}
45+
icon={Download}
46+
/>
47+
</div>
48+
<Footer />
49+
</main>
50+
);
51+
}

src/app/design/product/page.tsx

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
'use client';
2+
3+
import Header from '@/components/Header';
4+
import Footer from '@/components/Footer';
5+
import SectionNavigation from '@/components/SectionNavigation';
6+
import ProductPrinciples from '@/components/ProductPrinciples';
7+
import SectionPlaceholder from '@/components/SectionPlaceholder';
8+
import { FileText, Download } from 'lucide-react';
9+
import { useLanguage } from '@/contexts/LanguageContext';
10+
11+
export default function ProductPage() {
12+
const { t } = useLanguage();
13+
14+
const sections = [
15+
{ id: 'principles', label: t('product.sections.principles') },
16+
{ id: 'guidelines', label: t('product.sections.guidelines') },
17+
{ id: 'resources', label: t('product.sections.resources') }
18+
];
19+
20+
return (
21+
<main className="min-h-screen">
22+
<Header />
23+
24+
<SectionNavigation sections={sections} />
25+
<div id="principles" className="min-h-screen flex items-center justify-center scroll-mt-24">
26+
<ProductPrinciples />
27+
</div>
28+
29+
<div id="guidelines" className="min-h-screen flex items-center justify-center scroll-mt-24">
30+
<SectionPlaceholder
31+
title={t('product.guidelines.title')}
32+
description={t('product.guidelines.description')}
33+
icon={FileText}
34+
/>
35+
</div>
36+
37+
<div id="resources" className="min-h-screen flex items-center justify-center scroll-mt-24">
38+
<SectionPlaceholder
39+
title={t('product.resources.title')}
40+
description={t('product.resources.description')}
41+
icon={Download}
42+
/>
43+
</div>
44+
<Footer />
45+
</main>
46+
);
47+
}

0 commit comments

Comments
 (0)