+ Blog +
++ Learn about community governance, decision-making, and building + successful organizations. +
+From 62a704661265fef55ad84807fd84964dc22900d7 Mon Sep 17 00:00:00 2001 From: adilallo <39313955+adilallo@users.noreply.github.com> Date: Fri, 12 Sep 2025 16:16:56 -0600 Subject: [PATCH] Fix performance tests --- .gitea/workflows/ci.yaml | 3 +- app/blog/page.js | 61 +++++++++++++++ performance-budgets.json | 162 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 225 insertions(+), 1 deletion(-) create mode 100644 app/blog/page.js diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 77d2cf1..9d4e29a 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -316,7 +316,8 @@ jobs: "$CHROME_PATH" --version # Run LHCI with arm64 Node + arm64 Chrome - npx lhci autorun --chrome-path="$CHROME_PATH" --collect.url=http://$HOST:$PORT/ + # Test homepage and blog pages + npx lhci autorun --chrome-path="$CHROME_PATH" --collect.url=http://$HOST:$PORT/ --collect.url=http://$HOST:$PORT/blog --collect.url=http://$HOST:$PORT/blog/resolving-active-conflicts kill "$SVPID" 2>/dev/null || true env: diff --git a/app/blog/page.js b/app/blog/page.js new file mode 100644 index 0000000..7953ccf --- /dev/null +++ b/app/blog/page.js @@ -0,0 +1,61 @@ +import { getAllBlogPosts } from "../../lib/content"; +import Header from "../components/Header"; +import ContentThumbnailTemplate from "../components/ContentThumbnailTemplate"; +import ContentContainer from "../components/ContentContainer"; + +export const metadata = { + title: "Blog - CommunityRule", + description: + "Learn about community governance, decision-making, and building successful organizations.", + openGraph: { + title: "Blog - CommunityRule", + description: + "Learn about community governance, decision-making, and building successful organizations.", + url: "https://communityrule.com/blog", + siteName: "CommunityRule", + type: "website", + }, + twitter: { + card: "summary_large_image", + title: "Blog - CommunityRule", + description: + "Learn about community governance, decision-making, and building successful organizations.", + }, +}; + +export default function BlogPage() { + const posts = getAllBlogPosts(); + + // Create slug order for consistent icon cycling + const slugOrder = posts.map((post) => post.slug); + + return ( +
+ Learn about community governance, decision-making, and building + successful organizations. +
+