Skip to content

Commit e554ae7

Browse files
committed
Refactor: Remove deprecated components, sections, and data, and update navigation and content links.
1 parent 4cc71be commit e554ae7

File tree

13 files changed

+36
-282
lines changed

13 files changed

+36
-282
lines changed

client/src/assets/react.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

client/src/components/Footer.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export default function Footer() {
8686
{ name: 'Home', href: '/' },
8787
{ name: 'Showroom', href: '/showroom' },
8888
{ name: 'About Us', href: '/about' },
89-
{ name: 'Apply', href: '/join' }
89+
{ name: 'Apply', href: '/apply' }
9090
].map((item) => (
9191
<li key={item.name}>
9292
<Link to={item.href} className="text-white/70 hover:text-accent transition-colors text-sm block">

client/src/components/FoundryExperience.jsx

Lines changed: 0 additions & 56 deletions
This file was deleted.

client/src/components/Loader.jsx

Whitespace-only changes.

client/src/data/content.js

Lines changed: 1 addition & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
// Legacy services array (keeping for backward compatibility if needed elsewhere)
2-
export const services = [];
3-
4-
// New 3-Category Structure for The Forge
1+
// 3-Category Structure for The Forge
52
export const forgeCategories = [
63
{
74
id: 'forge',
@@ -113,48 +110,3 @@ export const forgeCategories = [
113110
]
114111
}
115112
];
116-
117-
export const projects = [
118-
{
119-
img: 'https://placehold.co/800x600/0A0A0A/EAEAEA?text=Project+Alpha',
120-
title: 'Project Alpha',
121-
desc: 'A cutting-edge SaaS platform for data analytics, delivered on time and on budget.'
122-
},
123-
{
124-
img: 'https://placehold.co/800x600/0A0A0A/EAEAEA?text=Project+Beta',
125-
title: 'Project Beta',
126-
desc: 'A digital marketing campaign that drove a 200% return on investment for a major e-commerce brand.'
127-
},
128-
{
129-
img: 'https://placehold.co/800x600/0A0A0A/EAEAEA?text=Project+Gamma',
130-
title: 'Project Gamma',
131-
desc: 'A sleek, intuitive mobile application for a community-based startup.'
132-
},
133-
{
134-
img: 'https://placehold.co/800x600/0A0A0A/EAEAEA?text=Project+Delta',
135-
title: 'Project Delta',
136-
desc: 'A complete UI/UX overhaul for a legacy enterprise system, improving user satisfaction by 40%.'
137-
},
138-
];
139-
140-
export const ideas = [
141-
{ title: 'Gamified Learning App for Coding', votes: 62 },
142-
{ title: 'Community Skill-Sharing Platform', votes: 45 },
143-
{ title: 'AI-Powered Project Manager', votes: 28 },
144-
{ title: 'Eco-Friendly Tech Marketplace', votes: 15 },
145-
];
146-
147-
export const builders = [
148-
{
149-
name: 'Aisha Sharma',
150-
role: 'Lead React Developer',
151-
avatar: 'https://placehold.co/100x100/0A0A0A/EAEAEA',
152-
quote: 'I learned more in three months at Enclop than in two years of classes. Working on a real-world SaaS product was a complete game-changer for my resume.'
153-
},
154-
{
155-
name: 'Ben Carter',
156-
role: 'UI/UX Designer',
157-
avatar: 'https://placehold.co/100x100/0A0A0A/EAEAEA',
158-
quote: 'Enclop gave me the creative freedom to design an entire mobile app interface. The mentorship was incredible and it directly led to my first internship offer.'
159-
}
160-
];

client/src/hooks/useScrollAnimations.js

Whitespace-only changes.

client/src/lib/HeroCanvas.js

Lines changed: 0 additions & 35 deletions
This file was deleted.

client/src/lib/supabase.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,11 @@
1-
<<<<<<< HEAD
21

3-
=======
4-
>>>>>>> r-main
52
import { createClient } from '@supabase/supabase-js';
63

74
const supabaseUrl = import.meta.env.VITE_SUPABASE_URL;
85
const supabaseAnonKey = import.meta.env.VITE_SUPABASE_ANON_KEY;
96

10-
<<<<<<< HEAD
11-
=======
127
if (!supabaseUrl || !supabaseAnonKey) {
138
console.error('Missing Supabase environment variables!');
149
}
1510

16-
>>>>>>> r-main
1711
export const supabase = createClient(supabaseUrl, supabaseAnonKey);

client/src/pages/HomePage.jsx

Lines changed: 34 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -13,52 +13,57 @@ import Crucible from '../sections/Crucible';
1313
export default function HomePage() {
1414
useEffect(() => {
1515
const lenis = new Lenis();
16+
let rafId;
1617
function raf(time) {
1718
lenis.raf(time);
18-
requestAnimationFrame(raf);
19+
rafId = requestAnimationFrame(raf);
1920
}
20-
requestAnimationFrame(raf);
21+
rafId = requestAnimationFrame(raf);
22+
return () => {
23+
cancelAnimationFrame(rafId);
24+
lenis.destroy();
25+
};
2126
}, []);
2227

2328
return (
2429
<>
2530
<Hero />
26-
31+
2732
{/* Wrapper for content */}
2833
<div className="content-grid-bg">
29-
30-
34+
35+
3136

3237
<FoundryPulse />
3338
<ValueProposition />
34-
39+
3540
{/* THE FORGE (Services) - Image Left */}
36-
<SectionPreview
37-
subtitle="Our Capabilities"
38-
title="The Forge"
39-
description="We don't just write code. We architect solutions. From high-scale SaaS platforms to immersive web experiences, we bring professional-grade engineering to every commit."
40-
image="https://images.unsplash.com/photo-1550751827-4bd374c3f58b?q=80&w=2070&auto=format&fit=crop" // Replace with your own asset
41-
label="Service Catalog"
42-
linkText="Explore Services"
43-
linkUrl="/services"
44-
reversed={true} // Image on Right
45-
/>
41+
<SectionPreview
42+
subtitle="Our Capabilities"
43+
title="The Forge"
44+
description="We don't just write code. We architect solutions. From high-scale SaaS platforms to immersive web experiences, we bring professional-grade engineering to every commit."
45+
image="https://images.unsplash.com/photo-1550751827-4bd374c3f58b?q=80&w=2070&auto=format&fit=crop" // Replace with your own asset
46+
label="Service Catalog"
47+
linkText="Explore Services"
48+
linkUrl="/forge"
49+
reversed={true} // Image on Right
50+
/>
51+
52+
{/* THE SHOWROOM (Work) - Image Right */}
53+
<SectionPreview
54+
subtitle="Selected Works"
55+
title="The Showroom"
56+
description="Evidence of execution. Browse our gallery of shipped products, open-source contributions, and experimental prototypes."
57+
image="https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?q=80&w=1964&auto=format&fit=crop" // Replace with your own asset
58+
label="Project Gallery"
59+
linkText="View Case Studies"
60+
linkUrl="/showroom"
61+
reversed={false} // Image on Left
62+
/>
4663

47-
{/* THE SHOWROOM (Work) - Image Right */}
48-
<SectionPreview
49-
subtitle="Selected Works"
50-
title="The Showroom"
51-
description="Evidence of execution. Browse our gallery of shipped products, open-source contributions, and experimental prototypes."
52-
image="https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?q=80&w=1964&auto=format&fit=crop" // Replace with your own asset
53-
label="Project Gallery"
54-
linkText="View Case Studies"
55-
linkUrl="/work"
56-
reversed={false} // Image on Left
57-
/>
58-
5964
<EnterFoundry />
6065
<StarterKit />
61-
66+
6267
</div>
6368
</>
6469
);

client/src/pages/ShowroomPage.jsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import Header from '../components/Header';
2-
import Footer from '../components/Footer';
31
import Showroom from '../sections/Showroom';
42

53
export default function ShowroomPage() {

0 commit comments

Comments
 (0)