Wowie what a gay little website for my gay little self aria.coffee
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

style: Biome check, lint and format

Aria e75e0013 23050eea

+13 -12
+1
src/components/Greeting.jsx
··· 12 12 <button 13 13 class="greetButton px-2 rounded-xl" 14 14 onClick={() => setGreeting(randomMessage())} 15 + type="submit" 15 16 > 16 17 New Greeting 17 18 </button>
+2 -2
src/content.config.ts
··· 1 + // Import utilities from `astro:content` 2 + import { defineCollection, z } from "astro:content"; 1 3 // Import the glob loader 2 4 import { glob } from "astro/loaders"; 3 - // Import utilities from `astro:content` 4 - import { z, defineCollection } from "astro:content"; 5 5 // Define a `loader` and `schema` for each collection 6 6 const blog = defineCollection({ 7 7 loader: glob({ pattern: "**/[^_]*.md", base: "./src/blog" }),
+1 -1
src/layouts/BaseLayout.astro
··· 1 1 --- 2 - import NavHeader from "../components/NavHeader.astro"; 3 2 import Favicon from "../components/Favicon.astro"; 4 3 import Footer from "../components/Footer.astro"; 4 + import NavHeader from "../components/NavHeader.astro"; 5 5 import "../styles/aria.css"; 6 6 import EmbedCode from "../components/EmbedCode.astro"; 7 7
+1 -1
src/pages/blog.astro
··· 1 1 --- 2 2 import { getCollection } from "astro:content"; 3 3 4 - import BaseLayout from "../layouts/BaseLayout.astro"; 5 4 import BlogEntry from "../components/BlogEntry.astro"; 6 5 import Partition from "../components/Partition.astro"; 6 + import BaseLayout from "../layouts/BaseLayout.astro"; 7 7 const allPosts = await getCollection("blog"); 8 8 9 9 const pageTitle = "Aria's blog";
+1 -1
src/pages/friends.astro
··· 1 1 --- 2 2 import FriendLink from "../components/FriendLink.astro"; 3 3 import "../styles/aria.css"; 4 - import BaseLayout from "../layouts/BaseLayout.astro"; 5 4 import Partition from "../components/Partition.astro"; 5 + import BaseLayout from "../layouts/BaseLayout.astro"; 6 6 7 7 const pageTitle = "Aria's friends"; 8 8 ---
+1 -1
src/pages/index.astro
··· 1 1 --- 2 2 import Partition from "../components/Partition.astro"; 3 3 4 - import BaseLayout from "../layouts/BaseLayout.astro"; 5 4 import Greeting from "../components/Greeting"; 6 5 import Social from "../components/Social.astro"; 6 + import BaseLayout from "../layouts/BaseLayout.astro"; 7 7 const pageTitle = "Aria"; 8 8 --- 9 9
+1 -1
src/pages/other buttons.astro
··· 1 1 --- 2 2 import FriendLink from "../components/FriendLink.astro"; 3 3 import "../styles/aria.css"; 4 - import BaseLayout from "../layouts/BaseLayout.astro"; 5 4 import Partition from "../components/Partition.astro"; 5 + import BaseLayout from "../layouts/BaseLayout.astro"; 6 6 7 7 const pageTitle = "Aria's friends"; 8 8 ---
+1 -1
src/pages/rss.xml.js
··· 1 - import rss from "@astrojs/rss"; 2 1 import { getCollection } from "astro:content"; 2 + import rss from "@astrojs/rss"; 3 3 4 4 export async function GET(context) { 5 5 const posts = await getCollection("blog");
+2 -2
src/pages/tags/[tag].astro
··· 1 1 --- 2 2 import { getCollection } from "astro:content"; 3 3 4 - import BaseLayout from "../../layouts/BaseLayout.astro"; 5 4 import BlogEntry from "../../components/BlogEntry.astro"; 6 5 import Partition from "../../components/Partition.astro"; 6 + import BaseLayout from "../../layouts/BaseLayout.astro"; 7 7 8 8 export async function getStaticPaths() { 9 9 const allPosts = await getCollection("blog"); 10 10 11 11 const uniqueTags = [ 12 - ...new Set(allPosts.map((post: any) => post.data.tags).flat()), 12 + ...new Set(allPosts.flatMap((post: any) => post.data.tags)), 13 13 ]; 14 14 15 15 return uniqueTags.map((tag) => {
+2 -2
src/pages/tags/index.astro
··· 1 1 --- 2 2 import { getCollection } from "astro:content"; 3 3 4 - import BaseLayout from "../../layouts/BaseLayout.astro"; 5 4 import Partition from "../../components/Partition.astro"; 5 + import BaseLayout from "../../layouts/BaseLayout.astro"; 6 6 const allPosts = await getCollection("blog"); 7 - const tags = [...new Set(allPosts.map((post: any) => post.data.tags).flat())]; 7 + const tags = [...new Set(allPosts.flatMap((post: any) => post.data.tags))]; 8 8 const pageTitle = "Tag Index"; 9 9 --- 10 10