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
|
FROM node:lts-alpine AS builder
|
||||||
RUN npm install -g pnpm
|
RUN npm install -g pnpm
|
||||||
WORKDIR /app
|
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 . .
|
COPY . .
|
||||||
RUN pnpm build
|
RUN pnpm build
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,6 @@
|
|||||||
# comingsoon
|
# comingsoon
|
||||||
|
|
||||||
Coming soon placeholder for [fristy.net](https://fristy.net)
|
Coming soon placeholder page.
|
||||||
|
|
||||||
My personal corner lives at [fristy.dev](https://fristy.dev).
|
|
||||||
|
|
||||||
## Stack
|
## Stack
|
||||||
|
|
||||||
@@ -15,9 +13,15 @@ pnpm install
|
|||||||
pnpm dev # http://localhost:3000
|
pnpm dev # http://localhost:3000
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Env
|
||||||
|
|
||||||
|
| Variable | What it does |
|
||||||
|
| --------- | ------------------------------- |
|
||||||
|
| SITE_NAME | Kicker text (default: fristy.net) |
|
||||||
|
|
||||||
## CI/CD
|
## 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
|
## License
|
||||||
|
|
||||||
|
|||||||
+2
-1
@@ -1,8 +1,9 @@
|
|||||||
export default function Home() {
|
export default function Home() {
|
||||||
|
const siteName = process.env.SITE_NAME ?? "fristy.net";
|
||||||
return (
|
return (
|
||||||
<main className="stage">
|
<main className="stage">
|
||||||
<div className="hero">
|
<div className="hero">
|
||||||
<p className="kicker">{"// fristy.net"}</p>
|
<p className="kicker">{`// ${siteName}`}</p>
|
||||||
<h1 className="title">
|
<h1 className="title">
|
||||||
coming <span className="accent">soon</span>
|
coming <span className="accent">soon</span>
|
||||||
</h1>
|
</h1>
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
"name": "comingsoon",
|
"name": "comingsoon",
|
||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
|
"packageManager": "pnpm@11.2.2",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev",
|
"dev": "next dev",
|
||||||
"build": "next build",
|
"build": "next build",
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
allowBuilds:
|
||||||
|
sharp: false
|
||||||
|
unrs-resolver: true
|
||||||
Reference in new issue
Block a user