diff --git a/.gitea/workflows/node-build.yaml b/.gitea/workflows/node-build.yaml index fc33453..20bf153 100644 --- a/.gitea/workflows/node-build.yaml +++ b/.gitea/workflows/node-build.yaml @@ -1,5 +1,8 @@ name: Node.js CI -on: [push] +on: + push: + branches: + - 'main' jobs: build_app: diff --git a/src/routes/learnings/+page.svelte b/src/routes/learnings/+page.svelte index 167a581..f33d5e5 100644 --- a/src/routes/learnings/+page.svelte +++ b/src/routes/learnings/+page.svelte @@ -1 +1,28 @@ -

Blog style learnings description.

\ No newline at end of file + +

{posts.title}

\ No newline at end of file diff --git a/src/utils/sanity/client.js b/src/utils/sanity/client.js new file mode 100644 index 0000000..b92c817 --- /dev/null +++ b/src/utils/sanity/client.js @@ -0,0 +1,9 @@ +import { createClient } from "@sanity/client" + +export const client = createClient({ + projectId: "f4465sc9", + dataset: "production", + apiVersion: "2024-03-11", + // Set to `true` for production environments + useCdn: false, +}) \ No newline at end of file