diff --git a/src/styles/typography.scss b/src/styles/typography.scss index fb39b98..de9fbe4 100644 --- a/src/styles/typography.scss +++ b/src/styles/typography.scss @@ -112,9 +112,7 @@ a { color: white; background-color: $darkPrimaryColor; } -} -a { img { border-bottom: none; } diff --git a/src/utils/contentfulPosts.tsx b/src/utils/contentfulPosts.tsx index e189d20..092abd4 100644 --- a/src/utils/contentfulPosts.tsx +++ b/src/utils/contentfulPosts.tsx @@ -5,12 +5,9 @@ import { Entry, } from "contentful"; -const space = process.env.NEXT_PUBLIC_CONTENTFUL_SPACE_ID || ""; -const accessToken = process.env.NEXT_PUBLIC_CONTENTFUL_ACCESS_TOKEN || ""; - const client = createClient({ - space, - accessToken, + space: process.env.CONTENTFUL_SPACE_ID ?? "", + accessToken: process.env.CONTENTFUL_ACCESS_TOKEN ?? "", }); export async function getAllPosts(name: string) {