Skip to content

Commit

Permalink
feat:changed navigation url of landing page
Browse files Browse the repository at this point in the history
  • Loading branch information
AYANscyy2 committed Jan 15, 2025
1 parent ccce80e commit 7276ef2
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 21 deletions.
29 changes: 24 additions & 5 deletions src/app/page.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,32 @@
'use client';

import Link from 'next/link';
import AboutUs from '@/components/about-us/about-us';
import CampusAmbasador from '@/components/campusAmbasador/CampusAmbasador';
import CommunityPartnerSection from '@/components/communityPartners/CommunityPartners';
import Gallery from '@/components/gallery/gallery';
import Hero from '@/components/hero/hero';
import Prizes from '@/components/prizes/prizes';
import Questions from '@/components/questions/Questions';
import { PastSponsors, Sponsors } from '@/components/sponsors/sponsors';
import { StatsMain } from '@/components/stats/stats-main';
import Timeline from '@/components/timeline/timeline';

// import Link from 'next/link';

export default function Home() {
return (
<div>
<Link href={'/playground'}>
<h3>Go to Playground</h3>
</Link>
<div className='flex flex-col items-center justify-center w-full h-full px-0 md:px-5'>
<Hero />
<AboutUs />
<StatsMain />
<Prizes />
<Gallery />
<Timeline />
<Sponsors />
<PastSponsors />
<CommunityPartnerSection />
<CampusAmbasador />
<Questions />
</div>
);
}
17 changes: 3 additions & 14 deletions src/app/playground/page.js
Original file line number Diff line number Diff line change
@@ -1,21 +1,9 @@
'use client';
import React from 'react';

import AboutUs from '@/components/about-us/about-us';
import CampusAmbasador from '@/components/campusAmbasador/CampusAmbasador';
import CommunityPartnerSection from '@/components/communityPartners/CommunityPartners';
import Gallery from '@/components/gallery/gallery';
import Hero from '@/components/hero/hero';
import Prizes from '@/components/prizes/prizes';
import Questions from '@/components/questions/Questions';
import { StatsMain } from '@/components/stats/stats-main';
import Timeline from '@/components/timeline/timeline';
import { Sponsors, PastSponsors } from '@/components/sponsors/sponsors';

const Playground = () => {
return (
<div className='flex flex-col items-center justify-center w-full h-full px-0 md:px-5'>
<Hero />
{/* <Hero />
<AboutUs />
<StatsMain />
<Prizes />
Expand All @@ -25,7 +13,8 @@ const Playground = () => {
<PastSponsors />
<CommunityPartnerSection />
<CampusAmbasador />
<Questions />
<Questions /> */}
hello from playmground
</div>
);
};
Expand Down
2 changes: 1 addition & 1 deletion src/components/hero/hero.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
TextStyle,
} from './styles';

export default function Home() {
export default function Hero() {
return (
<ParentContainer id='Home'>
<SectionContainer>
Expand Down
2 changes: 1 addition & 1 deletion src/components/questions/Questions.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const Questions = () => {
return (
<>
<QuestionsHeadingContainer className='!mt-20' id='FAQs'>
<H1>Questions?</H1>
<H1>FAQs?</H1>
</QuestionsHeadingContainer>
<ParagrapgContainer>
<Paragraph className='!text-center !font-extralight'>
Expand Down

0 comments on commit 7276ef2

Please sign in to comment.