Skip to content

Commit 302d216

Browse files
committed
fix: minior spacing fixes
1 parent 81e012f commit 302d216

4 files changed

Lines changed: 6 additions & 44 deletions

File tree

app/(landing)/about/page.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import { testimonials } from '@/components/testimonials/data/testimonial';
1111
import AboutUsHero from './AboutUsHero';
1212
import OurTeam from './OurTeam';
1313
import Partners from './Partners';
14+
import { Footer } from '@/components/landing-page';
1415

1516
export const metadata: Metadata = generatePageMetadata('about');
1617

@@ -26,6 +27,7 @@ const AboutPage = () => {
2627
<Partners />
2728
</div>
2829
<TestimonialsSection testimonials={testimonials} />
30+
<Footer />
2931
</section>
3032
);
3133
};

app/(landing)/page.tsx

Lines changed: 3 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
'use client';
2-
import gsap from 'gsap';
3-
import { useGSAP } from '@gsap/react';
4-
import { ScrollTrigger } from 'gsap/ScrollTrigger';
5-
import { ScrollToPlugin } from 'gsap/ScrollToPlugin';
6-
import { ScrollSmoother } from 'gsap/ScrollSmoother';
7-
import { useRef } from 'react';
2+
83
import BeamBackground from '@/components/landing-page/BeamBackground';
94
import { Hero } from '@/components/landing-page';
105
import HowBoundlessWork from '@/components/landing-page/HowBoundlessWork';
@@ -15,31 +10,10 @@ import BlogSection from '@/components/landing-page/blog/BlogSection';
1510
import { Footer } from '@/components/landing-page/footer';
1611

1712
export default function LandingPage() {
18-
const containerRef = useRef<HTMLDivElement>(null);
19-
const contentRef = useRef<HTMLDivElement>(null);
20-
21-
gsap.registerPlugin(ScrollTrigger, ScrollSmoother, ScrollToPlugin);
22-
23-
useGSAP(
24-
() => {
25-
ScrollSmoother.create({
26-
wrapper: containerRef.current,
27-
content: contentRef.current,
28-
smooth: 2,
29-
smoothTouch: 0.1,
30-
effects: true,
31-
});
32-
},
33-
{ scope: containerRef }
34-
);
35-
3613
return (
37-
<div ref={containerRef} className='relative overflow-hidden'>
14+
<div className='relative overflow-hidden'>
3815
<BeamBackground />
39-
<div
40-
ref={contentRef}
41-
className='relative z-10 mx-auto max-w-[1300px] space-y-[23px] md:space-y-[80px]'
42-
>
16+
<div className='relative z-10 mx-auto max-w-[1300px] space-y-[60px] md:space-y-[80px]'>
4317
<Hero />
4418
<WhyBoundless />
4519
<BackedBy />

components/landing-page/BackedBy.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ const BackedBy = () => {
196196

197197
return (
198198
<section
199-
className='relative h-full w-full px-6 py-5 md:px-12 md:py-16 lg:px-[100px]'
199+
className='relative my-[70px] h-full w-full px-6 py-[59px] md:px-12 md:py-16 lg:px-[100px]'
200200
id='backed-by'
201201
aria-labelledby='backed-by-heading'
202202
>

components/landing-page/footer.tsx

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -147,20 +147,6 @@ export function Footer() {
147147
)}
148148
</div>
149149
))}
150-
<div className='ml-4 h-6 w-0.5 bg-[#2B2B2B]' aria-hidden='true' />
151-
<Link
152-
href={`mailto:${socialLinks.gmail}`}
153-
className='rounded transition-opacity hover:opacity-80 focus:ring-2 focus:ring-white/50 focus:outline-none'
154-
aria-label='Contact us via email'
155-
>
156-
<Image
157-
src='/footer/gmail.svg'
158-
alt='Email contact'
159-
width={24}
160-
height={24}
161-
className='h-6 w-6'
162-
/>
163-
</Link>
164150
</nav>
165151

166152
<p className='text-center text-sm text-gray-400'>

0 commit comments

Comments
 (0)