added supabase

This commit is contained in:
Austin
2026-02-20 09:12:47 -06:00
parent 3c293159ff
commit 76f1241761
54 changed files with 3162 additions and 445 deletions
+4 -2
View File
@@ -1,13 +1,15 @@
export const dynamic = 'force-dynamic';
import React from 'react';
import PostCard from '@/components/PostCard';
import Sidebar from '@/components/Sidebar';
import { getSortedPostsData } from '@/lib/markdown';
import { getSortedPostsData } from '@/lib/posts';
import { PostMetadata } from '@/types';
import Image from 'next/image';
// This function runs on the server during build time
async function getHomeData() {
const posts = getSortedPostsData();
const posts = await getSortedPostsData();
// Create tag data
const allTags = posts.flatMap(post => post.tags);