diff --git a/src/assets/contact/index.ts b/src/assets/contact/index.ts deleted file mode 100644 index 32696c3f..00000000 --- a/src/assets/contact/index.ts +++ /dev/null @@ -1,12 +0,0 @@ -export { default as GreyBorderTop } from './top-border.svg'; -export { default as GreyBorderBottom } from './bottom-border.svg'; -export { default as MiddleBody } from './middle-body.svg'; -export { default as ArrowRightIcon } from './arrow-right-icon.svg'; -export { default as HawkSVG } from './hawk.svg'; -export { default as BirdPartsSVG } from './bird_parts.svg'; -export { default as EmailSVG } from './email.svg'; -export { default as LinkedInSVG } from './linkedin.svg'; -export { default as InstagramSVG } from './instagram.svg'; -export { default as TwitterSVG } from './twitter.svg'; -export { default as FacebookSVG } from './facebook.svg'; -export { default as DevpostSVG } from './devpost.svg'; \ No newline at end of file diff --git a/src/assets/index.tsx b/src/assets/index.tsx index 48685e99..9ecf185f 100644 --- a/src/assets/index.tsx +++ b/src/assets/index.tsx @@ -1,7 +1,16 @@ - +/* + * + * Hero Section SVGs + * + */ export { HeroBackgroundMobile } from './hero/bg-mobile-svg'; export { HeroBackgroundDesktop } from './hero/bg-desktop-svg'; +/* + * + * Social Icons SVGs + * + */ import { MailIcon, LinkedInIcon, @@ -19,3 +28,113 @@ export { FacebookIcon, DevpostIcon, }; + +/* + * + * About Section SVGs + * + */ +import AboutAirBalloon from './about/about-air-balloon.svg'; +import AboutSectionDesktop from './about/about-section-desktop.svg'; +import AboutSectionMobile from './about/about-section-mobile.svg'; + +export { + AboutAirBalloon, + AboutSectionDesktop, + AboutSectionMobile +}; + +/* + * + * Contact Section SVGs + * + */ +import ArrowRightIcon from './contact/arrow-right-icon.svg'; +import BirdParts from './contact/bird_parts.svg'; +import BottomBorder from './contact/bottom-border.svg'; +import DevPost from './contact/devpost.svg'; +import Email from './contact/email.svg'; +import Facebook from './contact/facebook.svg'; +import Hawk from './contact/hawk.svg'; +import Instagram from './contact/instagram.svg'; +import LinkedIn from './contact/linkedin.svg'; +import MiddleBody from './contact/middle-body.svg'; +import TopBorder from './contact/top-border.svg'; +import Twitter from './contact/twitter.svg'; + +export { + ArrowRightIcon, + BirdParts, + BottomBorder, + DevPost, + Email, + Facebook, + Hawk, + Instagram, + LinkedIn, + MiddleBody, + TopBorder, + Twitter, +}; + +/* + * + * Sponsor & Partner logos PNGs + * + */ +import OnePassword from './logos/1password.png'; +import Assembly from './logos/assembly.png'; +import Balsamiq from './logos/balsamiq.png'; +import CCubed from './logos/ccubed.png'; +import DCL from './logos/dcl.png'; +import DigitalOcean from './logos/digitalocean.png'; +import Echo3D from './logos/echo3d.png'; +import FDM from './logos/fdm.png'; +import FOSSA from './logos/fossa.png'; +import LCS from './logos/lcs.png'; +import LeadingLeaders from './logos/leadingleaders.png'; +import MLH from './logos/mlh.png'; +import Ollon from './logos/ollon.png'; +import Roomiez from './logos/roomiez.png'; +import SOC from './logos/soc.png'; +import StudentsUnion from './logos/studentsunion.png'; +import Taskade from './logos/taskade.png'; +import Veritas from './logos/veritas.png'; + +export { + OnePassword, + Assembly, + Balsamiq, + CCubed, + DCL, + DigitalOcean, + Echo3D, + FDM, + FOSSA, + LCS, + LeadingLeaders, + MLH, + Ollon, + Roomiez, + SOC, + StudentsUnion, + Taskade, + Veritas, +}; + +/* + * + * Team SVGs + * + */ +import Clouds from './team/clouds.svg'; +import MeetTheTeamBalloon from './team/meet-the-team-balloon-banner.svg'; +import MeetTheTeamBuildingLeft from './team/meet-the-team-building-left.svg'; +import MeetTheTeamBuildingRight from './team/meet-the-team-building-right.svg'; + +export { + Clouds, + MeetTheTeamBalloon, + MeetTheTeamBuildingLeft, + MeetTheTeamBuildingRight, +}; \ No newline at end of file diff --git a/src/components/index.tsx b/src/components/index.tsx index 0eadadd1..96368b1f 100644 --- a/src/components/index.tsx +++ b/src/components/index.tsx @@ -1,15 +1,16 @@ /* * - * @component + * @components * */ export { Button } from './Button/Button'; export { NavItems } from './Navbar/NavItems'; export { Navbar } from './Navbar/Navbar'; export { Menu } from './Navbar/Menu'; + /* * - * @section + * @sections * */ export { HeroSection } from "./sections/Hero.section" diff --git a/src/components/sections/About.section.tsx b/src/components/sections/About.section.tsx index 8471a3b2..2096e72a 100644 --- a/src/components/sections/About.section.tsx +++ b/src/components/sections/About.section.tsx @@ -1,7 +1,5 @@ import React, { useEffect, useState } from 'react'; -import AboutAirBalloon from '../../assets/about/about-air-balloon.svg'; -import AboutSectionDesktop from '../../assets/about/about-section-desktop.svg'; -import AboutSectionMobile from '../../assets/about/about-section-mobile.svg'; +import { AboutAirBalloon, AboutSectionDesktop, AboutSectionMobile } from '@assets'; const AboutSection: React.FC = () => { const [translateY, setTranslateY] = useState(0); diff --git a/src/components/sections/Contact.section.tsx b/src/components/sections/Contact.section.tsx index 8e6e8656..0b916e64 100644 --- a/src/components/sections/Contact.section.tsx +++ b/src/components/sections/Contact.section.tsx @@ -1,13 +1,13 @@ import React from 'react'; -import { GreyBorderTop, GreyBorderBottom, MiddleBody, ArrowRightIcon, HawkSVG, BirdPartsSVG, EmailSVG, LinkedInSVG, InstagramSVG, TwitterSVG, FacebookSVG, DevpostSVG } from '../../assets/contact'; +import { TopBorder, BottomBorder, MiddleBody, ArrowRightIcon, Hawk, BirdParts, Email, LinkedIn, Instagram, Twitter, Facebook, DevPost } from '@assets'; const ContactSection: React.FC = () => { return ( - - - + + + CONTACT US @@ -32,22 +32,22 @@ const ContactSection: React.FC = () => { - + - + - + - + - + - + @@ -55,7 +55,7 @@ const ContactSection: React.FC = () => { - + ); }; diff --git a/src/components/sections/Sponsor.section.tsx b/src/components/sections/Sponsor.section.tsx index 07ba84c5..7ae0f54f 100644 --- a/src/components/sections/Sponsor.section.tsx +++ b/src/components/sections/Sponsor.section.tsx @@ -1,36 +1,14 @@ import React from 'react'; -import GreyBorderTop from '../../assets/sponsor/top-border.svg'; -import GreyBorderBottom from '../../assets/sponsor/bottom-border.svg'; -import MiddleBody from '../../assets/sponsor/middle-body.svg'; -import HawkSVG from '../../assets/sponsor/hawk.svg'; -import BirdPartsSVG from '../../assets/sponsor/bird_parts.svg'; -// Sponsor logos -import VeritasLogo from '../../assets/logos/veritas.png'; -import AssemblyLogo from '../../assets/logos/assembly.png'; -import SocLogo from '../../assets/logos/soc.png'; -import FdmLogo from '../../assets/logos/fdm.png'; -import Echo3dLogo from '../../assets/logos/echo3d.png'; -import LeadingLogo from '../../assets/logos/leadingleaders.png'; -import OllonLogo from '../../assets/logos/ollon.png'; -import OnePasswordLogo from '../../assets/logos/1password.png'; -import RoomiezLogo from '../../assets/logos/roomiez.png'; -import BalsamiqLogo from '../../assets/logos/balsamiq.png'; -import DigitalOceanLogo from '../../assets/logos/digitalocean.png'; -import TaskadeLogo from '../../assets/logos/taskade.png'; -import DclLogo from '../../assets/logos/dcl.png'; -// Partner logos -import StudentUnionLogo from '../../assets/logos/studentsunion.png'; -import CcubedLogo from '../../assets/logos/ccubed.png'; -import MlhLogo from '../../assets/logos/mlh.png'; -import FossaLogo from '../../assets/logos/fossa.png'; -import LcsLogo from '../../assets/logos/lcs.png'; +import { TopBorder, BottomBorder, MiddleBody, Hawk, BirdParts} from '@assets'; +import { Veritas, Assembly, SOC, FDM, Echo3D, LeadingLeaders, Ollon, OnePassword, Roomiez, Balsamiq, DigitalOcean, Taskade, DCL } from '@assets'; +import { StudentsUnion, CCubed, MLH, FOSSA, LCS } from '@assets'; const SponsorSection: React.FC = () => { return ( - - - + + + @@ -41,49 +19,49 @@ const SponsorSection: React.FC = () => { - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -91,16 +69,16 @@ const SponsorSection: React.FC = () => { PARTNERS - - - - - + + + + + - + ); };