this repo has no description
0
fork

Configure Feed

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

fonts

alice 63ed73d6 d143c177

+16 -11
+13 -2
src/app/layout.tsx
··· 3 3 import { Inter, Libre_Baskerville } from "next/font/google"; 4 4 import localFont from "next/font/local"; 5 5 import { cx } from "#/lib/cx"; 6 + 6 7 import "./globals.css"; 7 8 8 - import { CLOUDFLARE_BEACON_TOKEN, DESCRIPTION, HOSTNAME, PLAUSIBLE_DOMAIN, USE_PLAUSIBLE } from "#/lib/config"; 9 9 import Script from "next/script"; 10 + import { 11 + CLOUDFLARE_BEACON_TOKEN, 12 + DESCRIPTION, 13 + HOSTNAME, 14 + PLAUSIBLE_DOMAIN, 15 + USE_PLAUSIBLE, 16 + } from "#/lib/config"; 10 17 11 18 const sans = Inter({ 12 19 variable: "--font-inter", ··· 65 72 > 66 73 {children} 67 74 </body> 68 - <Script async defer src="https://scripts.simpleanalyticscdn.com/latest.js"></Script> 75 + <Script 76 + async 77 + defer 78 + src="https://scripts.simpleanalyticscdn.com/latest.js" 79 + ></Script> 69 80 <Script 70 81 src="https://static.cloudflareinsights.com/beacon.min.js" 71 82 data-cf-beacon={`{"token": "${CLOUDFLARE_BEACON_TOKEN}"}`}
+1 -1
src/app/page.tsx
··· 8 8 9 9 export default function Home() { 10 10 return ( 11 - <div className="xs:px-8 grid min-h-dvh grid-rows-[20px_1fr_20px] justify-items-center px-4 py-2 pb-20 sm:p-8 gap-16"> 11 + <div className="xs:px-8 grid min-h-dvh grid-rows-[20px_1fr_20px] justify-items-center gap-16 px-4 py-2 pb-20 sm:p-8"> 12 12 <main className="row-start-2 flex w-full max-w-[400px] flex-col items-center gap-8 sm:items-start"> 13 13 <div> 14 14 <Title level="h1" className="m-0 flex flex-row justify-end">
-6
src/app/post/[rkey]/opengraph-image.tsx
··· 44 44 ), 45 45 { 46 46 ...size, 47 - fonts: [ 48 - { 49 - name: "Libre Baskerville", 50 - data: fontData, 51 - }, 52 - ], 53 47 }, 54 48 ); 55 49 }
+2 -2
src/app/post/[rkey]/page.tsx
··· 13 13 import { PostInfo } from "#/components/post-info"; 14 14 import { Code, Paragraph, Title } from "#/components/typography"; 15 15 import { getPost, getPosts } from "#/lib/api"; 16 - import { MY_DID, HOSTNAME, AUTHOR_NAME } from "#/lib/config"; 16 + import { AUTHOR_NAME, HOSTNAME, MY_DID } from "#/lib/config"; 17 17 18 18 export const dynamic = "force-static"; 19 19 export const revalidate = 3600; // 1 hour ··· 44 44 const post = await getPost(rkey); 45 45 46 46 return ( 47 - <div className="xs:px-8 grid min-h-dvh grid-rows-[10px_1fr_20px] justify-items-center px-4 py-2 pb-20 sm:p-8 gap-16"> 47 + <div className="xs:px-8 grid min-h-dvh grid-rows-[10px_1fr_20px] justify-items-center gap-16 px-4 py-2 pb-20 sm:p-8"> 48 48 <link rel="alternate" href={post.uri} /> 49 49 <main className="row-start-2 flex w-full max-w-[600px] flex-col items-center gap-0 overflow-hidden sm:items-start"> 50 50 <article className="w-full space-y-4">