Skip to content

Commit

Permalink
Fix checks and rm console log
Browse files Browse the repository at this point in the history
  • Loading branch information
tucker-gordon-bah committed Nov 17, 2024
1 parent 71a51c7 commit 8913c0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion web/src/lib/utils/contenful-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import type { ContentfulRecap } from '$lib/models/Contentful.model';
import { error } from '@sveltejs/kit';
import { createClient } from 'contentful';

console.log('Creating Contentful client');
const client = createClient({
space: CONTENTFUL_SPACE_ID,
// Use the preview access token and host if we're in development so that the unpublished
Expand Down
4 changes: 2 additions & 2 deletions web/src/routes/[leagueId]/posts/[year]/[slug]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<!-- <meta property="og:image" content={data.post.image} /> -->
</svelte:head>

<article class="prose dark:prose-invert mx-auto mb-8">
<article class="prose mx-auto mb-8 dark:prose-invert">
<hgroup>
<div class="flex items-center justify-between">
<span class="shrink-0 italic">{formatDate(data.post.createdAt)}</span>
Expand Down Expand Up @@ -52,7 +52,7 @@
<!-- TODO: add a link that takes you to edit page on contentful -->
<a
href="https://app.contentful.com/spaces/u8rkbtuumsz9/entries/{data.post.postId}"
class="btn text-primary-500 p-0 no-underline hover:underline"
class="btn p-0 text-primary-500 no-underline hover:underline"
target="_blank">
<Icon icon="material-symbols:edit" />
<span>Edit this page</span>
Expand Down

0 comments on commit 8913c0d

Please sign in to comment.