Merge and use newsletter-api for immediate welcome emails
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
commit
e2a17a38b9
|
|
@ -0,0 +1,13 @@
|
||||||
|
FROM node:20-alpine AS builder
|
||||||
|
WORKDIR /app
|
||||||
|
RUN corepack enable && corepack prepare pnpm@latest --activate
|
||||||
|
COPY package.json pnpm-lock.yaml* package-lock.json* ./
|
||||||
|
RUN if [ -f pnpm-lock.yaml ]; then pnpm install --frozen-lockfile; elif [ -f package-lock.json ]; then npm ci; else npm install; fi
|
||||||
|
COPY . .
|
||||||
|
RUN if [ -f pnpm-lock.yaml ]; then pnpm build; else npm run build; fi
|
||||||
|
|
||||||
|
FROM nginx:alpine
|
||||||
|
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||||
|
COPY --from=builder /app/out /usr/share/nginx/html
|
||||||
|
EXPOSE 80
|
||||||
|
CMD ["nginx", "-g", "daemon off;"]
|
||||||
|
|
@ -7,15 +7,34 @@ import { Suspense } from "react"
|
||||||
import "./globals.css"
|
import "./globals.css"
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
|
metadataBase: new URL("https://trippinballs.lol"),
|
||||||
title: "TrippinBalls.lol - Post-Capitalist Alternatives",
|
title: "TrippinBalls.lol - Post-Capitalist Alternatives",
|
||||||
description:
|
description:
|
||||||
"Exploring mycoeconomics, permaculture currencies, and post-capitalist alternatives to neoliberalism. Society is trippin balls on extraction - let's find better ways.",
|
"Exploring mycoeconomics, permaculture currencies, and post-capitalist alternatives to neoliberalism. Society is trippin balls on extraction - let's find better ways.",
|
||||||
generator: "v0.app",
|
generator: "v0.app",
|
||||||
keywords: "mycoeconomics, permaculture, post-capitalism, alternative economics, mutual aid, degrowth, commons",
|
keywords: "mycoeconomics, permaculture, post-capitalism, alternative economics, mutual aid, degrowth, commons",
|
||||||
openGraph: {
|
openGraph: {
|
||||||
|
type: "website",
|
||||||
|
locale: "en_US",
|
||||||
|
url: "https://trippinballs.lol",
|
||||||
title: "TrippinBalls.lol - Post-Capitalist Alternatives",
|
title: "TrippinBalls.lol - Post-Capitalist Alternatives",
|
||||||
description: "Exploring mycoeconomics and post-capitalist alternatives to neoliberalism",
|
description: "Exploring mycoeconomics and post-capitalist alternatives to neoliberalism",
|
||||||
type: "website",
|
siteName: "TrippinBalls.lol",
|
||||||
|
images: [
|
||||||
|
{
|
||||||
|
url: "/og-image.jpg",
|
||||||
|
width: 1200,
|
||||||
|
height: 630,
|
||||||
|
alt: "TrippinBalls.lol - Post-Capitalist Alternatives",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
twitter: {
|
||||||
|
card: "summary_large_image",
|
||||||
|
title: "TrippinBalls.lol - Post-Capitalist Alternatives",
|
||||||
|
description:
|
||||||
|
"Exploring mycoeconomics, permaculture currencies, and post-capitalist alternatives to neoliberalism. Society is trippin balls on extraction - let's find better ways.",
|
||||||
|
images: ["/og-image.jpg"],
|
||||||
},
|
},
|
||||||
icons: {
|
icons: {
|
||||||
icon: "data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🔮</text></svg>",
|
icon: "data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🔮</text></svg>",
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,15 @@
|
||||||
|
server {
|
||||||
|
listen 80;
|
||||||
|
server_name _;
|
||||||
|
root /usr/share/nginx/html;
|
||||||
|
index index.html index.htm;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
try_files $uri $uri/ $uri.html =404;
|
||||||
|
}
|
||||||
|
|
||||||
|
error_page 404 /404.html;
|
||||||
|
|
||||||
|
gzip on;
|
||||||
|
gzip_types text/plain text/css application/json application/javascript text/xml application/xml text/javascript;
|
||||||
|
}
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 14 KiB |
Loading…
Reference in New Issue