Skip to content

Fix Sanity config #19

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/web/pages/blog/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ export default function Blog({ posts }: { posts: BlogPost[] }) {
<div className="bg-white dark:bg-gray-800 px-6 pt-16 pb-20 lg:px-8 lg:pt-16 lg:pb-28">
<div className="relative mx-auto max-w-lg divide-y-2 divide-gray-200 dark:divide-gray-600 lg:max-w-6xl">
<div>
<h2 className="text-3xl font-bold tracking-tight text-white dark:text-gray-200 sm:text-4xl hero">
<h2 className="text-3xl font-bold tracking-tight text-black dark:text-gray-200 sm:text-4xl hero">
<BookOpenIcon className="h-12 w-12 inline mr-2" />
Recent publications
Recent Posts
</h2>
<p className="mt-3 text-xl text-gray-500 dark:text-gray-400 sm:mt-4">
{TAGLINE}
Expand Down
2 changes: 1 addition & 1 deletion apps/web/utils/cms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import imageUrlBuilder from "@sanity/image-url";
import { SanityImageSource } from "@sanity/image-url/lib/types/types";

const client = createClient({
projectId: process.env.SANITY_PROJECT_ID, // you can find this in sanity.json
projectId: process.env.NEXT_PUBLIC_SANITY_PROJECT_ID, // you can find this in sanity.json
dataset: "production", // or the name you chose in step 1
useCdn: true, // `false` if you want to ensure fresh data
});
Expand Down