diff --git a/app/components/ContentLockup.js b/app/components/ContentLockup.js index 05b4615..3a21436 100644 --- a/app/components/ContentLockup.js +++ b/app/components/ContentLockup.js @@ -48,6 +48,20 @@ const ContentLockup = ({ shape: "w-[20px] h-[20px] md:w-[24px] md:h-[24px] lg:w-[28px] lg:h-[28px]", }, + learn: { + container: "flex flex-col gap-[var(--spacing-scale-012)] relative z-10", + textContainer: "flex flex-col gap-[var(--spacing-scale-012)]", + titleGroup: "flex flex-col gap-[var(--spacing-scale-012)]", + titleContainer: "flex gap-[var(--spacing-scale-008)] items-center", + title: + "font-bricolage-grotesque font-medium text-[28px] leading-[36px] tracking-[0] text-[var(--color-content-default-primary)]", + subtitle: + "font-space-grotesk font-normal text-[16px] leading-[24px] tracking-[0] text-[var(--color-content-default-primary)]", + description: + "font-inter font-normal text-[16px] leading-[140%] lg:text-[18px] lg:leading-[150%] xl:text-[20px] xl:leading-[160%] text-[var(--color-content-secondary)]", + shape: + "w-[20px] h-[20px] md:w-[24px] md:h-[24px] lg:w-[28px] lg:h-[28px]", + }, ask: { container: "flex flex-col gap-[var(--spacing-scale-008)] relative z-10", textContainer: "flex flex-col gap-[var(--spacing-scale-008)]", diff --git a/app/learn/page.js b/app/learn/page.js index 67322d1..6bbb71c 100644 --- a/app/learn/page.js +++ b/app/learn/page.js @@ -1,109 +1,52 @@ import ContentThumbnailTemplate from "../components/ContentThumbnailTemplate"; - -// Mock blog post data for testing -const mockPost1 = { - slug: "resolving-active-conflicts", - frontmatter: { - title: "Resolving Active Conflicts", - description: - "Practical steps for resolving conflicts while maintaining trust, cooperation, and shared goals", - author: "Author name", - date: "2025-04-15", - }, -}; - -const mockPost2 = { - slug: "operational-security-mutual-aid", - frontmatter: { - title: "Operational Security for Mutual Aid", - description: - "Tactics to protect members, secure communication, and prevent Infiltration", - author: "Author name", - date: "2025-04-10", - }, -}; - -const mockPost3 = { - slug: "making-decisions-without-hierarchy", - frontmatter: { - title: "Making decisions without hierarchy", - description: - "A brief guide to collaborative nonhierarchical decision making", - author: "Author name", - date: "2025-04-05", - }, -}; +import ContentLockup from "../components/ContentLockup"; +import { getAllBlogPosts, getRecentBlogPosts } from "../../lib/content"; export default function LearnPage() { - // Mock slug order for consistent background cycling - const mockSlugOrder = [ - "resolving-active-conflicts", - "operational-security-mutual-aid", - "making-decisions-without-hierarchy", - ]; + // Get real blog posts from the content system + const allPosts = getAllBlogPosts(); + const recentPosts = getRecentBlogPosts(3); + + // Create slug order for consistent background cycling + const slugOrder = allPosts.map((post) => post.slug); return ( -
+
We're working on adding more educational content to help you build better communities. Check back soon for new articles and resources.