diff --git a/README.md b/README.md index 5743b92..a9c6560 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Repository for `Laconic`'s website. npm install -g yarn ``` -2. Create `.env`: check out which environment variables you'll need to run the project in `.env.example` +2. Create `.env`: check out which environment variables you'll need to run the project in `.env.example`. Note that if running locally, your `NEXT_PUBLIC_API` should be set to `0.0.0.0:3000`. 3. Install the dependencies with: diff --git a/public/videos/banner-about-light.mp4 b/public/videos/banner-about-light.mp4 index 6d2bd11..4c3e569 100644 Binary files a/public/videos/banner-about-light.mp4 and b/public/videos/banner-about-light.mp4 differ diff --git a/public/videos/banner-about-light.webm b/public/videos/banner-about-light.webm index 07a0245..54fd154 100644 Binary files a/public/videos/banner-about-light.webm and b/public/videos/banner-about-light.webm differ diff --git a/public/videos/banner-about.mp4 b/public/videos/banner-about.mp4 index 30c606f..89f9ea8 100644 Binary files a/public/videos/banner-about.mp4 and b/public/videos/banner-about.mp4 differ diff --git a/public/videos/banner-about.webm b/public/videos/banner-about.webm index cfa09a6..b41adba 100644 Binary files a/public/videos/banner-about.webm and b/public/videos/banner-about.webm differ diff --git a/src/components/common/card/card.module.scss b/src/components/common/card/card.module.scss index edd0ddf..27156df 100644 --- a/src/components/common/card/card.module.scss +++ b/src/components/common/card/card.module.scss @@ -352,7 +352,14 @@ text-transform: none !important; line-height: 1.2; - font-size: tovw(40px, 'default', 25px); + width: 100%; + font-size: tovw(32px, 'default', 20px); + display: -webkit-box; + margin: 0 auto; + -webkit-line-clamp: 2; + -webkit-box-orient: vertical; + overflow: hidden; + text-overflow: ellipsis; } p { diff --git a/src/components/sections/about/team/index.tsx b/src/components/sections/about/team/index.tsx index e67fff0..0f3cb9e 100644 --- a/src/components/sections/about/team/index.tsx +++ b/src/components/sections/about/team/index.tsx @@ -50,13 +50,13 @@ const TeamSection = ({ teamData, data }: Props) => { diff --git a/src/components/sections/community/events/events.module.scss b/src/components/sections/community/events/events.module.scss index 8046ada..0fd973f 100644 --- a/src/components/sections/community/events/events.module.scss +++ b/src/components/sections/community/events/events.module.scss @@ -116,6 +116,7 @@ width: tovw(1550px, 'default', 150px); height: 100%; content: ''; + pointer-events: none; } &::before { diff --git a/src/components/sections/products/stack/index.tsx b/src/components/sections/products/stack/index.tsx index 9bcd71d..51fb237 100644 --- a/src/components/sections/products/stack/index.tsx +++ b/src/components/sections/products/stack/index.tsx @@ -76,14 +76,6 @@ const Stack = ({ data }: Props) => {
-
- stack - stack -
diff --git a/src/lib/constants.ts b/src/lib/constants.ts index 56d30b1..919c66a 100644 --- a/src/lib/constants.ts +++ b/src/lib/constants.ts @@ -19,8 +19,8 @@ export const basementLog = ` ██████╗ ██╔══██╗ ██╗ ██████╔╝ ██╝ - ╚═════╝ - + ╚═════╝ + From the basement. https://basement.studio ` @@ -34,7 +34,7 @@ export const defaultMeta = { } } -export const gaTrackingId = 'GTM-WJMQ92T' +export const gaTrackingId = 'G-4H9G2QYKTH' export const socialLinks = { youTube: 'https://www.youtube.com/c/MrBeast6000', diff --git a/src/pages/press.tsx b/src/pages/press.tsx index 4b1a42d..d454010 100644 --- a/src/pages/press.tsx +++ b/src/pages/press.tsx @@ -9,16 +9,11 @@ import { PageLayout } from '~/components/layout/page' import Related from '~/components/sections/about/related' import Hero from '~/components/sections/newsroom/hero' import Media from '~/components/sections/newsroom/media' -import Press from '~/components/sections/newsroom/press' import { FooterQuery } from '~/lib/cms/queries/footer' import { HeaderQuery } from '~/lib/cms/queries/header' import { - PressFeatured, - PressFeaturedSection, PressHero, PressMedia, - PressPress, - PressReleases } from '~/lib/cms/queries/press' import { request } from '../lib/datocms' @@ -33,20 +28,12 @@ export const getStaticProps = async () => { const [ pressHero, - pressFeatured, - pressFeaturedData, - pressReleases, pressMedia, - pressPress, footerData, headerData ] = await Promise.all([ request(PressHero), - request(PressFeaturedSection), - request(PressFeatured), - request(PressReleases), request(PressMedia), - request(PressPress), request(FooterQuery), request(HeaderQuery) ]) @@ -54,11 +41,7 @@ export const getStaticProps = async () => { return { props: { heroData: pressHero?.pressPage, - featuredData: pressFeatured?.pressPage, - featuredPostsData: pressFeaturedData?.allBlogPosts?.slice(0, 3), - pressPostsData: pressReleases?.allPressReleases, mediaData: pressMedia?.pressPage, - pressData: pressPress?.pressPage, footerData: footerData?.footer, headerData: headerData?.header, initialBlogPosts: { @@ -78,11 +61,7 @@ export const getStaticProps = async () => { const Newsroom = ({ initialBlogPosts, heroData, - featuredData, - featuredPostsData, mediaData, - pressData, - pressPostsData, footerData, headerData }: InferGetStaticPropsType) => { @@ -90,13 +69,6 @@ const Newsroom = ({ - -