Initial commit: coming soon one-pager
This commit is contained in:
5 files changed
+16
-11
No files matched your search
+2
-6
@@ -1,12 +1,8 @@
|
||||
FROM node:lts-alpine AS deps
|
||||
WORKDIR /app
|
||||
COPY package.json pnpm-lock.yaml ./
|
||||
RUN npm install -g pnpm && pnpm install --frozen-lockfile
|
||||
|
||||
FROM node:lts-alpine AS builder
|
||||
RUN npm install -g pnpm
|
||||
WORKDIR /app
|
||||
COPY --from=deps /app/node_modules ./node_modules
|
||||
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./
|
||||
RUN pnpm install --frozen-lockfile
|
||||
COPY . .
|
||||
RUN pnpm build
|
||||
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
# comingsoon
|
||||
|
||||
Coming soon placeholder for [fristy.net](https://fristy.net)
|
||||
|
||||
My personal corner lives at [fristy.dev](https://fristy.dev).
|
||||
Coming soon placeholder page.
|
||||
|
||||
## Stack
|
||||
|
||||
@@ -15,9 +13,15 @@ pnpm install
|
||||
pnpm dev # http://localhost:3000
|
||||
```
|
||||
|
||||
## Env
|
||||
|
||||
| Variable | What it does |
|
||||
| --------- | ------------------------------- |
|
||||
| SITE_NAME | Kicker text (default: fristy.net) |
|
||||
|
||||
## CI/CD
|
||||
|
||||
Pushes to `main` run format check, lint and build first. If those pass, the Docker image is built and pushed to the Gitea registry (`git.fristy.net/fristy/comingsoon:latest`).
|
||||
Pushes to `main` run format check, lint and build first. If those pass, the Docker image is built and pushed to the registry.
|
||||
|
||||
## License
|
||||
|
||||
|
||||
+2
-1
@@ -1,8 +1,9 @@
|
||||
export default function Home() {
|
||||
const siteName = process.env.SITE_NAME ?? "fristy.net";
|
||||
return (
|
||||
<main className="stage">
|
||||
<div className="hero">
|
||||
<p className="kicker">{"// fristy.net"}</p>
|
||||
<p className="kicker">{`// ${siteName}`}</p>
|
||||
<h1 className="title">
|
||||
coming <span className="accent">soon</span>
|
||||
</h1>
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
"name": "comingsoon",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"packageManager": "pnpm@11.2.2",
|
||||
"scripts": {
|
||||
"dev": "next dev",
|
||||
"build": "next build",
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
allowBuilds:
|
||||
sharp: false
|
||||
unrs-resolver: true
|
||||
Reference in new issue
Block a user