diff --git a/web/app/layout.tsx b/web/app/layout.tsx index 8d9ba8b..3476621 100644 --- a/web/app/layout.tsx +++ b/web/app/layout.tsx @@ -1,11 +1,11 @@ - -import './globals.css' -import localFont from "next/font/local" +import Script from 'next/script'; +import './globals.css'; +import localFont from 'next/font/local'; const neue_machina = localFont({ src: '/NeueMachina-Regular.otf', - variable: '--font-neuemachina' -}) + variable: '--font-neuemachina', +}); export const metadata = { title: 'GDSC VIT', @@ -24,16 +24,40 @@ export const metadata = { }, ], }, -} +}; export default function RootLayout({ children, }: { - children: React.ReactNode + children: React.ReactNode; }) { return ( - - {children} - - ) + + + + + +
+ `, + }} + /> + {children} + + + ); } diff --git a/web/components/Footer.tsx b/web/components/Footer.tsx index a6e7ddc..68ef426 100644 --- a/web/components/Footer.tsx +++ b/web/components/Footer.tsx @@ -1,30 +1,30 @@ -import Image from 'next/image' -import { useRouter } from 'next/navigation' -import React from 'react' -import { FC } from 'react' -import { scroller } from 'react-scroll' -import socials from "@/content/social.json" -import Icon from './Icons' -import Link from 'next/link' +import Image from 'next/image'; +import { useRouter } from 'next/navigation'; +import React from 'react'; +import { FC } from 'react'; +import { scroller } from 'react-scroll'; +import socials from '@/content/social.json'; +import Icon from './Icons'; +import Link from 'next/link'; interface Props { - bg?: string + bg?: string; } -const Footer: FC = ({bg}) => { - const router = useRouter() +const Footer: FC = ({ bg }) => { + const router = useRouter(); const scrollToSection = (section: string) => { - router.push("/") - localStorage.setItem("visited", 'true') + router.push('/'); + localStorage.setItem('visited', 'true'); scroller.scrollTo(section, { duration: 1500, delay: 150, smooth: true, containerId: 'main-thing', // offset: 50, - }) - } + }); + }; return ( //
//

Made with ♥ by GDSC-VIT

@@ -32,37 +32,82 @@ const Footer: FC = ({bg}) => {
{/* add an image sticking to the bottom of this div and with some margin on top */} - footer -
+ footer +
- - Logo -

Google Developer

-

Students Clubs VIT

+ + Logo +

Google Developer

+

Students Clubs VIT

-
-

scrollToSection("fame")} className='font-bold w-min cursor-pointer'> +
+

scrollToSection('fame')} + className="font-bold w-min cursor-pointer" + > Achievements

-

scrollToSection("events")} className='font-bold w-min cursor-pointer'> +

scrollToSection('events')} + className="font-bold w-min cursor-pointer" + > Events

-

router.push("/team")} className='font-bold w-min cursor-pointer'> +

router.push('/team')} + className="font-bold w-min cursor-pointer" + > Team

-

scrollToSection("projects")} className='font-bold w-min cursor-pointer'> +

scrollToSection('projects')} + className="font-bold w-min cursor-pointer" + > Projects

-

dscvitvellore@gmail.com

-
- {socials.map((social, i) => )} +

+ {' '} + dscvitvellore@gmail.com +

+
+ {socials.map((social, i) => ( + + ))}
-

Made with 💙 by GDSC-VIT

+

+ Made with 💙 by GDSC-VIT +

+

+ Copyright ©{new Date().getFullYear()}, All rights reserved. +

- ) -} + ); +}; -export default Footer +export default Footer; diff --git a/web/content/fame.json b/web/content/fame.json index cf82f64..218ea75 100644 --- a/web/content/fame.json +++ b/web/content/fame.json @@ -1,18 +1,18 @@ [ { "title": "Best Club Award 2020", - "img":"/fame.png" + "img": "/vit.jpeg" }, { - "title": "Poll Police Project", - "img":"/fame.png" + "title": "Election Eye", + "img": "/fame.png" }, { "title": "Built the tech for some of India's largest college fests", - "img":"/riviera.png" + "img": "/riviera.png" }, { "title": "2000+ participants in events", - "img":"/2000.jpeg" + "img": "/2000.jpeg" } ] diff --git a/web/public/vit.jpeg b/web/public/vit.jpeg new file mode 100644 index 0000000..1d48a69 Binary files /dev/null and b/web/public/vit.jpeg differ