diff --git a/components/common/Button.tsx b/components/common/Button.tsx index bf0826f63..bfda545e3 100644 --- a/components/common/Button.tsx +++ b/components/common/Button.tsx @@ -1,5 +1,7 @@ import Link from 'next/link' import React, { FC, ReactElement } from 'react' + +// Icons import { AiFillGithub } from 'react-icons/ai' interface ButtonProps { diff --git a/components/common/SocialLinks.tsx b/components/common/SocialLinks.tsx index 2d202741c..aefcba3b4 100644 --- a/components/common/SocialLinks.tsx +++ b/components/common/SocialLinks.tsx @@ -1,12 +1,14 @@ import React, { FC, ReactElement } from 'react' import Image from 'next/image' +import { SanityAboutPage } from '../../types/schema' + +// Static assets import InstagramLogoW from '../../public/logos/instagramLogoW.svg' import TwitterLogoW from '../../public/logos/twitterLogoW.svg' import GithubLogoW from '../../public/logos/githubLogoW.svg' import DiscordLogoW from '../../public/logos/discordLogoW.svg' import DevLogoW from '../../public/logos/devLogoW.svg' import YoutubeLogoW from '../../public/logos/youtubeLogoW.svg' -import { SanityAboutPage } from '../../types/schema' const data = [ { diff --git a/components/common/SocialShare.tsx b/components/common/SocialShare.tsx index 90ad65fd1..ea1e8e37b 100644 --- a/components/common/SocialShare.tsx +++ b/components/common/SocialShare.tsx @@ -1,4 +1,6 @@ import React, { FC } from 'react' + +// Icons import { BsTwitter, BsLinkedin, BsFacebook } from 'react-icons/bs' import { FaHackerNewsSquare } from 'react-icons/fa' diff --git a/components/common/layout/PageLayout.tsx b/components/common/layout/PageLayout.tsx index 1a8a82224..56f15caf2 100644 --- a/components/common/layout/PageLayout.tsx +++ b/components/common/layout/PageLayout.tsx @@ -1,6 +1,7 @@ -import Head from 'next/head' import React, { FC, ReactElement } from 'react' import { SanityNavigation, SanitySeo } from '../../../types/schema' + +// Components import Header from '../../sections/navigation/Header' import Footer from '../../sections/Footer' import Subscribe from '../../sections/Subscribe' diff --git a/components/common/text/Heading.tsx b/components/common/text/Heading.tsx index 17e1453e3..00e8f32a6 100644 --- a/components/common/text/Heading.tsx +++ b/components/common/text/Heading.tsx @@ -1,5 +1,7 @@ import React, { FC, ReactElement } from 'react' import useMediaQuery from '../../hooks/useMediaQuery' + +// Components import DecoratedText from './utils/DecoratedText' interface HeadingProps { diff --git a/components/sections/Footer.tsx b/components/sections/Footer.tsx index b09828722..6e034ebe4 100644 --- a/components/sections/Footer.tsx +++ b/components/sections/Footer.tsx @@ -1,11 +1,15 @@ -import Image from 'next/image' -import Link from 'next/link' import React, { FC } from 'react' -import OpenSaucedLogo from '../../public/logos/brandLogo.svg' +import Link from 'next/link' +import Image from 'next/image' + +// Components import SectionWrapper from '../common/layout/SectionWrapper' import SocialLinks from '../common/SocialLinks' import { navigationLinks } from './navigation/Header' +import OpenSaucedLogo from '../../public/logos/brandLogo.svg' + + const footerContext = { pages: [ { @@ -45,7 +49,7 @@ const Footer: FC = ({ pressPage }) => {
- Brand logo + Brand logo
diff --git a/components/sections/Subscribe.tsx b/components/sections/Subscribe.tsx index b8ba29e9d..598eeb8f8 100644 --- a/components/sections/Subscribe.tsx +++ b/components/sections/Subscribe.tsx @@ -1,8 +1,12 @@ import React, { FC, ReactElement, useRef, useState, useEffect } from 'react' +import Image from 'next/image' + +// Components import GradientBorderWrapper from '../common/GradientBorderWrapper' import SectionWrapper from '../common/layout/SectionWrapper' import { Heading, Typography } from '../common/text' -import Image from 'next/image' + +// Static Assets import StrokeR3 from '../../public/background-strokes/stroke_r_3.svg' import StrokeL3 from '../../public/background-strokes/stroke_l_3.svg' import StrokeMobile2 from '../../public/background-strokes/stroke_mobile_2.svg' diff --git a/components/sections/about/Background.tsx b/components/sections/about/Background.tsx index 39e402601..37d8b9a8e 100644 --- a/components/sections/about/Background.tsx +++ b/components/sections/about/Background.tsx @@ -1,5 +1,7 @@ -import Image from 'next/image' import React, { FC } from 'react' +import Image from 'next/image' + +// Static Assets import StrokeL4 from '../../../public/background-strokes/stroke_l_4.svg' import StrokeR3 from '../../../public/background-strokes/stroke_r_3.svg' import StrokeMobile1 from '../../../public/background-strokes/stroke_mobile_1.svg' diff --git a/components/sections/about/FollowUs.tsx b/components/sections/about/FollowUs.tsx index 896498838..24821444f 100644 --- a/components/sections/about/FollowUs.tsx +++ b/components/sections/about/FollowUs.tsx @@ -1,8 +1,10 @@ import React, { FC, ReactElement } from 'react' +import { SanityAboutPage } from '../../../types/schema' + +// Components import SectionWrapper from '../../common/layout/SectionWrapper' import GradientBorderWrapper from '../../common/GradientBorderWrapper' import SocialLinks from '../../common/SocialLinks' -import { SanityAboutPage } from '../../../types/schema' interface FollowUsProps { social: SanityAboutPage['socialLinks'] diff --git a/components/sections/about/Links.tsx b/components/sections/about/Links.tsx index 62d80be9c..4f4a88546 100644 --- a/components/sections/about/Links.tsx +++ b/components/sections/about/Links.tsx @@ -1,13 +1,16 @@ import React, { FC, ReactElement } from 'react' +import Image from 'next/image' +import { SanityAboutPage } from '../../../types/schema' + +// Components import GradientBorderWrapper from '../../common/GradientBorderWrapper' import SectionWrapper from '../../common/layout/SectionWrapper' import { Typography } from '../../common/text' -import Image from 'next/image' import OrangeRightArrow from '../../../public/orange_right_arrow.png' import OrangeRightArrowSmall from '../../../public/orange_right_arrow_small.png' import useMediaQuery from '../../hooks/useMediaQuery' import Link from 'next/link' -import { SanityAboutPage } from '../../../types/schema' + interface LinksProps { services: SanityAboutPage['services'] } diff --git a/components/sections/about/about/About.tsx b/components/sections/about/about/About.tsx index a2e7f1e29..69aca5c04 100644 --- a/components/sections/about/about/About.tsx +++ b/components/sections/about/about/About.tsx @@ -1,6 +1,8 @@ import React, { FC, ReactElement } from 'react' import { SanityAboutPage } from '../../../../types/schema' import { getPartialString, getPartialStringFromEnd } from '../../../../utils/stringUtils' + +// Components import SectionWrapper from '../../../common/layout/SectionWrapper' import { Heading, Typography } from '../../../common/text' import MetricCard from './MetricCard' diff --git a/components/sections/about/about/MetricCard.tsx b/components/sections/about/about/MetricCard.tsx index fdfb658c1..42d297f9d 100644 --- a/components/sections/about/about/MetricCard.tsx +++ b/components/sections/about/about/MetricCard.tsx @@ -1,5 +1,6 @@ import React, { FC, ReactElement } from 'react' -import { SanityAboutPage } from '../../../../types/schema' + +// Components import { Typography } from '../../../common/text' import DecoratedText from '../../../common/text/utils/DecoratedText' diff --git a/components/sections/blog/Background.tsx b/components/sections/blog/Background.tsx index 7a4a29613..70a49881e 100644 --- a/components/sections/blog/Background.tsx +++ b/components/sections/blog/Background.tsx @@ -1,5 +1,7 @@ -import Image from 'next/image' import React, { FC } from 'react' +import Image from 'next/image' + +// Static Assets import StrokeL5 from '../../../public/background-strokes/stroke_l_5.svg' import StrokeR4 from '../../../public/background-strokes/stroke_r_4.svg' import StrokeMobile1 from '../../../public/background-strokes/stroke_mobile_1.svg' diff --git a/components/sections/blog/Blogs.tsx b/components/sections/blog/Blogs.tsx index 74451e72c..a3225a394 100644 --- a/components/sections/blog/Blogs.tsx +++ b/components/sections/blog/Blogs.tsx @@ -1,6 +1,8 @@ import React, { FC, ReactElement } from 'react' import { SanityBlog } from '../../../types/schema' + +// Components import SectionWrapper from '../../common/layout/SectionWrapper' import { Heading, Typography } from '../../common/text' import Post from './components/Post' diff --git a/components/sections/blog/FeaturedPost.tsx b/components/sections/blog/FeaturedPost.tsx index cd06c5772..66be6fe93 100644 --- a/components/sections/blog/FeaturedPost.tsx +++ b/components/sections/blog/FeaturedPost.tsx @@ -1,6 +1,8 @@ import Image from 'next/image' import React, { FC, ReactElement } from 'react' import { SanityBlog } from '../../../types/schema' + +// Components import GradientBorderWrapper from '../../common/GradientBorderWrapper' import Blog from './components/Post' diff --git a/components/sections/blog/[slug]/PageContent.tsx b/components/sections/blog/[slug]/PageContent.tsx index bcf24d9eb..5c1844102 100644 --- a/components/sections/blog/[slug]/PageContent.tsx +++ b/components/sections/blog/[slug]/PageContent.tsx @@ -1,5 +1,8 @@ import React, { FC, ReactElement } from 'react' import { SanityBlog } from '../../../../types/schema' +import getReadTime from '../../../../utils/getReadTime' + +// Components import SectionWrapper from '../../../common/layout/SectionWrapper' import { Heading, Typography } from '../../../common/text' import OrangeClock from '../../../../public/orange_clock.png' @@ -13,7 +16,6 @@ import Blog from '../components/Post' import ReactPlayer from 'react-player' import DecoratedText from '../../../common/text/utils/DecoratedText' import OgData from '../../../common/OgData' -import getReadTime from '../../../../utils/getReadTime' import SocialShare from '../../../common/SocialShare' interface PageContentProps { @@ -57,12 +59,12 @@ const PageContent: FC = ({
- Author + Author
{author}
- Clock + Clock
{`${getReadTime(blogContent || "")} ${ @@ -76,9 +78,9 @@ const PageContent: FC = ({
Cover
diff --git a/components/sections/blog/components/Post.tsx b/components/sections/blog/components/Post.tsx index 6f21d7da7..3be6ea6c5 100644 --- a/components/sections/blog/components/Post.tsx +++ b/components/sections/blog/components/Post.tsx @@ -1,13 +1,15 @@ import Image from 'next/image' import React, { FC, ReactElement } from 'react' import { SanityBlog } from '../../../../types/schema' +import getReadTime from '../../../../utils/getReadTime' + +// Components import GradientBorderWrapper from '../../../common/GradientBorderWrapper' import { Typography } from '../../../common/text' import OrangeClock from '../../../../public/orange_clock.png' import OrangeAuthor from '../../../../public/orange_author.png' import { Button } from '../../../common' import LocalTypography from './LocalTypography' -import getReadTime from '../../../../utils/getReadTime' interface PostProps { data: SanityBlog @@ -44,7 +46,7 @@ const Post: FC = ({ data, featured }): ReactElement => {
- Cover + Cover
diff --git a/components/sections/home-page/Background.tsx b/components/sections/home-page/Background.tsx index 231850902..9d21e5ef5 100644 --- a/components/sections/home-page/Background.tsx +++ b/components/sections/home-page/Background.tsx @@ -1,11 +1,11 @@ -import Image from 'next/image' import React, { FC } from 'react' -import upperStroke from '../../../public/upperStroke.svg' +import Image from 'next/image' + +// Static assets +import upperStroke from '../../../public/background-strokes/upperStroke.svg' import left_2_stroke from '../../../public/background-strokes/left_2_stroke.svg' import right_2_stroke from '../../../public/background-strokes/right_2_stroke.svg' import right_3_stroke from '../../../public/background-strokes/right_3_stroke.svg' -import StrokeMobile2 from '../../../public/background-strokes/stroke_mobile_2.svg' -import StrokeMobile3 from '../../../public/background-strokes/stroke_mobile_3.svg' const Background: FC = ({ children }) => { return ( diff --git a/components/sections/home-page/CTA.tsx b/components/sections/home-page/CTA.tsx index e40ceb28d..4c08ba072 100644 --- a/components/sections/home-page/CTA.tsx +++ b/components/sections/home-page/CTA.tsx @@ -1,6 +1,8 @@ import React, { FC } from 'react' +import { SanityHomePage } from '../../../types/schema' + +// Components import SectionWrapper from '../../common/layout/SectionWrapper' -import { SanityCalender, SanityHomePage } from '../../../types/schema' import { Heading, Typography } from '../../common/text' import { Button } from '../../common' diff --git a/components/sections/home-page/GitHubMock.tsx b/components/sections/home-page/GitHubMock.tsx index 87410a8dd..c3d9e7050 100644 --- a/components/sections/home-page/GitHubMock.tsx +++ b/components/sections/home-page/GitHubMock.tsx @@ -1,14 +1,19 @@ -import Image from 'next/image' import React, { FC } from 'react' -import { SanityGithubMock, SanityHomePage } from '../../../types/schema' +import Image from 'next/image' +import { SanityHomePage } from '../../../types/schema' +import useMediaQuery from '../../hooks/useMediaQuery' + +// Static assets import GreenSquares from '../../../public/greenSquares.svg' import GreenSquaresSmall from '../../../public/greenSquares_small.svg' import TrueImpactIMG from '../../../public/trueImpact.png' + +// Components import SectionWrapper from '../../common/layout/SectionWrapper' import { Heading, Typography } from '../../common/text' -import useMediaQuery from '../../hooks/useMediaQuery' import DecoratedText from '../../common/text/utils/DecoratedText' -import BackgroundStroke from '../../../public/middleRight.svg' +import BackgroundStroke from '../../../public/background-strokes/middleRight.svg' + interface GitHubMockProps { moreHeading: string[] diff --git a/components/sections/home-page/Hero.tsx b/components/sections/home-page/Hero.tsx index 057168d09..b53abcb60 100644 --- a/components/sections/home-page/Hero.tsx +++ b/components/sections/home-page/Hero.tsx @@ -1,11 +1,13 @@ import React from 'react' +import Link from 'next/link' import { SanityHomePage } from '../../../types/schema' + +// Components import SectionWrapper from '../../common/layout/SectionWrapper' import ContainerWithLine from '../../common/ContainerWithLine' import { Heading, Typography } from '../../common/text' import { Button } from '../../common' import DecoratedText from '../../common/text/utils/DecoratedText' -import Link from 'next/link' interface HeroProps { data: SanityHomePage['hero'] } diff --git a/components/sections/home-page/Insights.tsx b/components/sections/home-page/Insights.tsx index b4006fad7..4e345be93 100644 --- a/components/sections/home-page/Insights.tsx +++ b/components/sections/home-page/Insights.tsx @@ -1,5 +1,7 @@ import React, { FC, ReactElement } from 'react' import { SanityHomePage } from '../../../types/schema' + +// Components import { Button } from '../../common' import SectionWrapper from '../../common/layout/SectionWrapper' import { Heading, Typography } from '../../common/text' diff --git a/components/sections/home-page/Logos.tsx b/components/sections/home-page/Logos.tsx index d2536c62e..565925cbc 100644 --- a/components/sections/home-page/Logos.tsx +++ b/components/sections/home-page/Logos.tsx @@ -1,6 +1,8 @@ import React from 'react' -import SectionWrapper from '../../common/layout/SectionWrapper' import { SanityUser } from '../../../types/schema' + +// Components +import SectionWrapper from '../../common/layout/SectionWrapper' import ContainerWithLine from '../../common/ContainerWithLine' import { Typography } from '../../common/text' diff --git a/components/sections/home-page/Newsletter.tsx b/components/sections/home-page/Newsletter.tsx index 38bedfbf7..8252bd60e 100644 --- a/components/sections/home-page/Newsletter.tsx +++ b/components/sections/home-page/Newsletter.tsx @@ -1,11 +1,14 @@ import React from 'react' +import Image from 'next/image' + +// Components import SectionWrapper from '../../common/layout/SectionWrapper' import { Heading, Typography } from '../../common/text' import GradientBorderWrapper from '../../common/GradientBorderWrapper' -import Image from 'next/image' -import StrokeR3 from '../../../public/_3_rightStroke.svg' -import StrokeL3 from '../../../public/_3_leftStroke.svg' +// Static assets +import StrokeR3 from '../../../public/background-strokes/_3_rightStroke.svg' +import StrokeL3 from '../../../public/background-strokes/_3_leftStroke.svg' const Newsletter = () => { return ( diff --git a/components/sections/home-page/blogs/Blog.tsx b/components/sections/home-page/blogs/Blog.tsx index 6e9b4be3f..fecc1beb4 100644 --- a/components/sections/home-page/blogs/Blog.tsx +++ b/components/sections/home-page/blogs/Blog.tsx @@ -2,6 +2,8 @@ import Image from 'next/image' import Link from 'next/link' import React, { FC, ReactElement } from 'react' import { SanityBlog } from '../../../../types/schema' + +// Components import GradientBorderWrapper from '../../../common/GradientBorderWrapper' interface BlogProps { diff --git a/components/sections/home-page/blogs/Blogs.tsx b/components/sections/home-page/blogs/Blogs.tsx index d0e7f6f12..861cd86e3 100644 --- a/components/sections/home-page/blogs/Blogs.tsx +++ b/components/sections/home-page/blogs/Blogs.tsx @@ -1,12 +1,14 @@ import React, { FC, ReactElement } from 'react' import { SanityBlog, SanityHomePage } from '../../../../types/schema' +import { useInView } from 'react-intersection-observer' +import { motion } from 'framer-motion' + +// Components import { Button } from '../../../common' import SectionWrapper from '../../../common/layout/SectionWrapper' import { Heading, Typography } from '../../../common/text' import Blog from './Blog' -import { useInView } from 'react-intersection-observer' -import { motion } from 'framer-motion' interface BlogsProps { blogs: SanityBlog[] diff --git a/components/sections/home-page/features/Features.tsx b/components/sections/home-page/features/Features.tsx index bd9ab7158..3d588525c 100644 --- a/components/sections/home-page/features/Features.tsx +++ b/components/sections/home-page/features/Features.tsx @@ -1,5 +1,7 @@ import React, { FC } from 'react' import { SanityHomePage } from '../../../../types/schema' + +// Components import Feature from './Feature' import SectionWrapper from '../../../common/layout/SectionWrapper' import EndingLine from '../../../common/EndingLine' diff --git a/components/sections/home-page/testimonials/Testimonial.tsx b/components/sections/home-page/testimonials/Testimonial.tsx index 3ce132de6..1fafc0876 100644 --- a/components/sections/home-page/testimonials/Testimonial.tsx +++ b/components/sections/home-page/testimonials/Testimonial.tsx @@ -1,10 +1,12 @@ -import Image from 'next/image' import React, { FC } from 'react' +import Image from 'next/image' +import { motion } from 'framer-motion' +import { useInView } from 'react-intersection-observer' import { SanityTestimonial } from '../../../../types/schema' + +// Components import GradientBorderWrapper from '../../../common/GradientBorderWrapper' -import { motion } from 'framer-motion' -import { useInView } from 'react-intersection-observer' interface TestimonialProps { testimonial: SanityTestimonial diff --git a/components/sections/home-page/testimonials/Testimonials.tsx b/components/sections/home-page/testimonials/Testimonials.tsx index dc3ce299b..489b83646 100644 --- a/components/sections/home-page/testimonials/Testimonials.tsx +++ b/components/sections/home-page/testimonials/Testimonials.tsx @@ -1,5 +1,7 @@ import React, { FC, useState } from 'react' import { SanityHomePage, SanityTestimonial } from '../../../../types/schema' + +// Components import SectionWrapper from '../../../common/layout/SectionWrapper' import { Heading, Typography } from '../../../common/text' import Testimonial from './Testimonial' diff --git a/components/sections/navigation/DesktopNavigation.tsx b/components/sections/navigation/DesktopNavigation.tsx index 5f63cc255..e85da3168 100644 --- a/components/sections/navigation/DesktopNavigation.tsx +++ b/components/sections/navigation/DesktopNavigation.tsx @@ -1,9 +1,11 @@ +import { FC } from 'react' +import Image from 'next/image' import Link from 'next/link' +import { useRouter } from 'next/router' + +// Components import { Button } from '../../common' -import Image from 'next/image' import { SanityNavigation } from '../../../types/schema' -import { FC } from 'react' -import { useRouter } from 'next/router' interface DesktopNavigationProps { navigationItems: SanityNavigation[] diff --git a/components/sections/navigation/DropdownMenu.tsx b/components/sections/navigation/DropdownMenu.tsx index 2e2ba05b7..e8368e330 100644 --- a/components/sections/navigation/DropdownMenu.tsx +++ b/components/sections/navigation/DropdownMenu.tsx @@ -1,9 +1,10 @@ -import { Menu, Transition } from '@headlessui/react' +import { Fragment } from 'react' import Image from 'next/image' +import { Menu, Transition } from '@headlessui/react' import Link from 'next/link' -import { Fragment } from 'react' -import MobileMenu from '../../../public/mobile_menu.svg' + import SocialLinks from '../../common/SocialLinks' +import MobileMenu from '../../../public/mobile_menu.svg' interface MenuItem { label: string diff --git a/components/sections/navigation/Header.tsx b/components/sections/navigation/Header.tsx index 50b40c876..ddc51df01 100644 --- a/components/sections/navigation/Header.tsx +++ b/components/sections/navigation/Header.tsx @@ -1,10 +1,13 @@ import React, { FC, ReactElement } from 'react' +import { SanityNavigation } from '../../../types/schema' + +// Components import SectionWrapper from '../../common/layout/SectionWrapper' import DesktopNavigation from './DesktopNavigation' -import BrandLogo from '../../../public/logos/brandLogo.svg' -import { SanityNavigation } from '../../../types/schema' import MobileNavigation from './MobileNavigation' +import BrandLogo from '../../../public/logos/brandLogo.svg' + interface HeaderProps { navigationItems: SanityNavigation[] } diff --git a/components/sections/navigation/MobileNavigation.tsx b/components/sections/navigation/MobileNavigation.tsx index b15af5e61..9eb694856 100644 --- a/components/sections/navigation/MobileNavigation.tsx +++ b/components/sections/navigation/MobileNavigation.tsx @@ -1,7 +1,8 @@ -import Link from 'next/link' import React, { FC, ReactElement } from 'react' -import { SanityNavigation } from '../../../types/schema' import Image from 'next/image' +import Link from 'next/link' +import { SanityNavigation } from '../../../types/schema' + import DropdownMenu from './DropdownMenu' interface MobileNavigationProps { diff --git a/components/sections/press/OpenSaucedLogos.tsx b/components/sections/press/OpenSaucedLogos.tsx index 2dc15389d..6bdcf6e72 100644 --- a/components/sections/press/OpenSaucedLogos.tsx +++ b/components/sections/press/OpenSaucedLogos.tsx @@ -1,6 +1,7 @@ import React, { FC } from 'react' -import OpenSaucedLogo from './OpenSaucedLogo' + import { openSaucedlogos } from '../../../staticFiles/assetsData' +import OpenSaucedLogo from './OpenSaucedLogo' const OpenSaucedLogos:FC = () => { return ( diff --git a/components/sections/press/PressHeading.tsx b/components/sections/press/PressHeading.tsx index 37413bd07..7653863f8 100644 --- a/components/sections/press/PressHeading.tsx +++ b/components/sections/press/PressHeading.tsx @@ -1,10 +1,12 @@ import Image from 'next/image' import Link from 'next/link' import React, { FC } from 'react' -import BrandKitLogo from '../../../public/brandkit-logo.svg' -import UShape from '../../../public/uShape.svg' import SectionWrapper from '../../common/layout/SectionWrapper' +// Static Assets +import BrandKitLogo from '../../../public/brandkit-logo.svg' +import UShape from '../../../public/background-strokes/uShape.svg' + interface Props { headingData: { subtitle: string @@ -43,7 +45,6 @@ const PressHeading: FC = ({ headingData }) => {
OpenSauced Icon
diff --git a/components/sections/pricing/Background.tsx b/components/sections/pricing/Background.tsx index 22b4b2ecc..d02b3a9c0 100644 --- a/components/sections/pricing/Background.tsx +++ b/components/sections/pricing/Background.tsx @@ -1,5 +1,7 @@ -import Image from 'next/image' import React, { FC } from 'react' +import Image from 'next/image' + +// Static assets import StrokeL1 from '../../../public/background-strokes/stroke_l_1.svg' import StrokeL2 from '../../../public/background-strokes/stroke_l_2.svg' import StrokeR1 from '../../../public/background-strokes/stroke_r_1.svg' diff --git a/components/sections/pricing/features/FeatureCard.tsx b/components/sections/pricing/features/FeatureCard.tsx index dc84b0017..61981807d 100644 --- a/components/sections/pricing/features/FeatureCard.tsx +++ b/components/sections/pricing/features/FeatureCard.tsx @@ -1,5 +1,6 @@ -import Image from 'next/image' import React, { FC, ReactElement } from 'react' +import Image from 'next/image' + import { Typography } from '../../../common/text' interface FeatureCardProps { diff --git a/components/sections/pricing/features/Features.tsx b/components/sections/pricing/features/Features.tsx index 890fe3b54..f8f5b5888 100644 --- a/components/sections/pricing/features/Features.tsx +++ b/components/sections/pricing/features/Features.tsx @@ -1,10 +1,12 @@ import React, { FC, ReactElement } from 'react' import SectionWrapper from '../../../common/layout/SectionWrapper' -import { Heading, Typography } from '../../../common/text' -import FeatureCard from './FeatureCard' import { SanityPricingPage } from '../../../../types/schema' import { getPartialString, getPartialStringFromEnd } from '../../../../utils/stringUtils' +// Components +import { Heading, Typography } from '../../../common/text' +import FeatureCard from './FeatureCard' + interface FeatureProps { premiumFeatures: SanityPricingPage['premiumFeatures'][] premiumIntro: SanityPricingPage['premiumFeatureIntro'] diff --git a/components/sections/teams/CTA.tsx b/components/sections/teams/CTA.tsx index e40ceb28d..4c08ba072 100644 --- a/components/sections/teams/CTA.tsx +++ b/components/sections/teams/CTA.tsx @@ -1,6 +1,8 @@ import React, { FC } from 'react' +import { SanityHomePage } from '../../../types/schema' + +// Components import SectionWrapper from '../../common/layout/SectionWrapper' -import { SanityCalender, SanityHomePage } from '../../../types/schema' import { Heading, Typography } from '../../common/text' import { Button } from '../../common' diff --git a/components/sections/teams/GitHubMock.tsx b/components/sections/teams/GitHubMock.tsx index 87410a8dd..c3fce102e 100644 --- a/components/sections/teams/GitHubMock.tsx +++ b/components/sections/teams/GitHubMock.tsx @@ -1,14 +1,17 @@ -import Image from 'next/image' import React, { FC } from 'react' -import { SanityGithubMock, SanityHomePage } from '../../../types/schema' +import Image from 'next/image' +import { SanityHomePage } from '../../../types/schema' +import useMediaQuery from '../../hooks/useMediaQuery' + +// Static Assets import GreenSquares from '../../../public/greenSquares.svg' import GreenSquaresSmall from '../../../public/greenSquares_small.svg' -import TrueImpactIMG from '../../../public/trueImpact.png' +import BackgroundStroke from '../../../public/middleRight.svg' + +// Components import SectionWrapper from '../../common/layout/SectionWrapper' import { Heading, Typography } from '../../common/text' -import useMediaQuery from '../../hooks/useMediaQuery' import DecoratedText from '../../common/text/utils/DecoratedText' -import BackgroundStroke from '../../../public/middleRight.svg' interface GitHubMockProps { moreHeading: string[] diff --git a/components/sections/teams/Insights.tsx b/components/sections/teams/Insights.tsx index b4006fad7..4e345be93 100644 --- a/components/sections/teams/Insights.tsx +++ b/components/sections/teams/Insights.tsx @@ -1,5 +1,7 @@ import React, { FC, ReactElement } from 'react' import { SanityHomePage } from '../../../types/schema' + +// Components import { Button } from '../../common' import SectionWrapper from '../../common/layout/SectionWrapper' import { Heading, Typography } from '../../common/text' diff --git a/components/sections/teams/TeamsHero.tsx b/components/sections/teams/TeamsHero.tsx index 1ed05c449..0c51f5fc0 100644 --- a/components/sections/teams/TeamsHero.tsx +++ b/components/sections/teams/TeamsHero.tsx @@ -1,11 +1,11 @@ import React from 'react' +import Link from 'next/link' import { SanityHomePage } from '../../../types/schema' -import Image from 'next/image' + import SectionWrapper from '../../common/layout/SectionWrapper' -import { Button } from '../../common' -import { Heading, Typography } from '../../common/text' -import Link from 'next/link' import DecoratedText from '../../common/text/utils/DecoratedText' +import { Heading, Typography } from '../../common/text' +import { Button } from '../../common' interface HeroProps { data: SanityHomePage['hero'] diff --git a/components/sections/teams/TeamsLogos.tsx b/components/sections/teams/TeamsLogos.tsx index 60efa4abc..135d73941 100644 --- a/components/sections/teams/TeamsLogos.tsx +++ b/components/sections/teams/TeamsLogos.tsx @@ -1,7 +1,8 @@ import React from 'react' -import SectionWrapper from '../../common/layout/SectionWrapper' import { SanityUser } from '../../../types/schema' +import SectionWrapper from '../../common/layout/SectionWrapper' + interface LogosProps { data: SanityUser[] } diff --git a/components/sections/teams/features/TeamsFeature.tsx b/components/sections/teams/features/TeamsFeature.tsx index ca575b995..45c26821f 100644 --- a/components/sections/teams/features/TeamsFeature.tsx +++ b/components/sections/teams/features/TeamsFeature.tsx @@ -1,4 +1,6 @@ import React, { FC } from 'react' + +// Components import { Heading, Typography } from '../../../common/text' import { FeatureProps } from './TeamsFeatures' diff --git a/components/sections/teams/features/TeamsFeatures.tsx b/components/sections/teams/features/TeamsFeatures.tsx index 24b958c85..cc1275959 100644 --- a/components/sections/teams/features/TeamsFeatures.tsx +++ b/components/sections/teams/features/TeamsFeatures.tsx @@ -1,7 +1,10 @@ import React, { FC } from 'react' import { SanityHomePage } from '../../../../types/schema' + +// Components import Feature from './TeamsFeature' import SectionWrapper from '../../../common/layout/SectionWrapper' + interface Props { data: SanityHomePage['features'] } diff --git a/public/Mask group.svg b/public/Mask group.svg deleted file mode 100644 index df535cc4a..000000000 --- a/public/Mask group.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/public/Vector.svg b/public/Vector.svg deleted file mode 100644 index 30e6dace9..000000000 --- a/public/Vector.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/public/_5_leftStroke.svg b/public/_5_leftStroke.svg deleted file mode 100644 index 22230d67f..000000000 --- a/public/_5_leftStroke.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/public/_5_rightStroke.svg b/public/_5_rightStroke.svg deleted file mode 100644 index 30e6dace9..000000000 --- a/public/_5_rightStroke.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/public/background-drip-mirrored.svg b/public/background-drip-mirrored.svg deleted file mode 100644 index bb13a0e12..000000000 --- a/public/background-drip-mirrored.svg +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/public/background-drip-mirrored2.svg b/public/background-drip-mirrored2.svg deleted file mode 100644 index 1e1035821..000000000 --- a/public/background-drip-mirrored2.svg +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/public/background-drip.svg b/public/background-drip.svg deleted file mode 100644 index d75fa92d3..000000000 --- a/public/background-drip.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/background-drip2.svg b/public/background-drip2.svg deleted file mode 100644 index 2e793e381..000000000 --- a/public/background-drip2.svg +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - diff --git a/public/_3_leftStroke.svg b/public/background-strokes/_3_leftStroke.svg similarity index 100% rename from public/_3_leftStroke.svg rename to public/background-strokes/_3_leftStroke.svg diff --git a/public/_3_rightStroke.svg b/public/background-strokes/_3_rightStroke.svg similarity index 100% rename from public/_3_rightStroke.svg rename to public/background-strokes/_3_rightStroke.svg diff --git a/public/middleRight.svg b/public/background-strokes/middleRight.svg similarity index 100% rename from public/middleRight.svg rename to public/background-strokes/middleRight.svg diff --git a/public/uShape.svg b/public/background-strokes/uShape.svg similarity index 100% rename from public/uShape.svg rename to public/background-strokes/uShape.svg diff --git a/public/upperStroke.svg b/public/background-strokes/upperStroke.svg similarity index 100% rename from public/upperStroke.svg rename to public/background-strokes/upperStroke.svg diff --git a/public/dripGraphic_calendar_vector.svg b/public/dripGraphic_calendar_vector.svg deleted file mode 100644 index 3b54b1b8a..000000000 --- a/public/dripGraphic_calendar_vector.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/public/ellipesOverlap.svg b/public/ellipesOverlap.svg deleted file mode 100644 index 57fffc924..000000000 --- a/public/ellipesOverlap.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/public/ellipseOrange.svg b/public/ellipseOrange.svg deleted file mode 100644 index 75da88693..000000000 --- a/public/ellipseOrange.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/public/feature_2.png b/public/feature_2.png deleted file mode 100644 index c531f4ed1..000000000 Binary files a/public/feature_2.png and /dev/null differ diff --git a/public/feature_3.png b/public/feature_3.png deleted file mode 100644 index 6e509394f..000000000 Binary files a/public/feature_3.png and /dev/null differ diff --git a/public/hero.png b/public/hero.png deleted file mode 100644 index ff230e4f5..000000000 Binary files a/public/hero.png and /dev/null differ diff --git a/public/leftSidePizzaStroke.svg b/public/leftSidePizzaStroke.svg deleted file mode 100644 index 9bd739b8a..000000000 --- a/public/leftSidePizzaStroke.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/public/opopo.svg b/public/opopo.svg deleted file mode 100644 index 81ca5055c..000000000 --- a/public/opopo.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/public/pizzaSlices.svg b/public/pizzaSlices.svg deleted file mode 100644 index 1f2dc2a56..000000000 --- a/public/pizzaSlices.svg +++ /dev/null @@ -1,1682 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/public/rightSidePizzaStroke.svg b/public/rightSidePizzaStroke.svg deleted file mode 100644 index ee243f7e0..000000000 --- a/public/rightSidePizzaStroke.svg +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - diff --git a/public/social-proof/github.png b/public/social-proof/github.png deleted file mode 100644 index d9815db48..000000000 Binary files a/public/social-proof/github.png and /dev/null differ diff --git a/public/feature_1.svg b/public/team-features/feature_1.svg similarity index 100% rename from public/feature_1.svg rename to public/team-features/feature_1.svg diff --git a/public/feature_2.svg b/public/team-features/feature_2.svg similarity index 100% rename from public/feature_2.svg rename to public/team-features/feature_2.svg diff --git a/public/feature_3.svg b/public/team-features/feature_3.svg similarity index 100% rename from public/feature_3.svg rename to public/team-features/feature_3.svg diff --git a/public/feature_4.svg b/public/team-features/feature_4.svg similarity index 100% rename from public/feature_4.svg rename to public/team-features/feature_4.svg diff --git a/public/trueImpact.png b/public/trueImpact.png deleted file mode 100644 index 3ef061206..000000000 Binary files a/public/trueImpact.png and /dev/null differ diff --git a/public/vercel.svg b/public/vercel.svg deleted file mode 100644 index fbf0e25a6..000000000 --- a/public/vercel.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - \ No newline at end of file diff --git a/public/weAreMore.svg b/public/weAreMore.svg deleted file mode 100644 index 75972748f..000000000 --- a/public/weAreMore.svg +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -