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/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/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/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 = ({
-
-