Compare commits

..
4 Commits
Author SHA1 Message Date
Squid 1327350c66 Updated CI workflow
Moorly Website CI / build (push) Successful in 6s
2026-11-05 21:08:54 +01:00
Squid 2284236ef5 Added deploy script after successfull check on commit
Moorly Website CI / build (push) Successful in 6s
2026-11-05 20:59:06 +01:00
Squid 3b318038a6 Prepared CI-integration
Moorly Website CI / build (push) Successful in 6s
2026-11-05 20:25:36 +01:00
Squid 2756c9bf72 Prepared site with Astro7.4.6 on node24 2026-11-05 20:23:22 +01:00
9 changed files with 5327 additions and 0 deletions

No files matched your search

+69
View File
@@ -0,0 +1,69 @@
name: Moorly Website CI
on:
push:
branches:
- dev
- main
workflow_dispatch:
jobs:
build:
runs-on: linux-x64
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Check Node version
run: |
node --version
npm --version
test "$(node -p 'process.versions.node.split(".")[0]')" = "24"
- name: Install dependencies
run: npm ci
- name: Check
run: npm run check
- name: Build
run: npm run build
- name: Security audit
run: npm audit
- name: Deploy website
if: github.event_name == 'push' && (github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/main')
env:
DEPLOY_SSH_KEY: ${{ secrets.DEPLOY_SSH_KEY }}
DEPLOY_HOST: ${{ secrets.DEPLOY_HOST }}
DEPLOY_USER: ${{ secrets.DEPLOY_USER }}
run: |
set -eu
case "$GITHUB_REF" in
refs/heads/dev)
DEPLOY_PATH="/var/MoorlyWeb/dev/"
;;
refs/heads/main)
DEPLOY_PATH="/var/MoorlyWeb/production/"
;;
*)
echo "Unsupported branch: $GITHUB_REF"
exit 1
;;
esac
KEY_FILE="$(mktemp)"
trap 'rm -f "$KEY_FILE"' EXIT
printf '%s\n' "$DEPLOY_SSH_KEY" > "$KEY_FILE"
chmod 600 "$KEY_FILE"
rsync -az --delete \
-e "ssh -i $KEY_FILE -o IdentitiesOnly=yes -o StrictHostKeyChecking=yes -o UserKnownHostsFile=$HOME/.ssh/known_hosts" \
dist/ "${DEPLOY_USER}@${DEPLOY_HOST}:${DEPLOY_PATH}"
+6
View File
@@ -0,0 +1,6 @@
node_modules/
dist/
.astro/
.env
.env.production
.DS_Store
+1
View File
@@ -0,0 +1 @@
24
+1
View File
@@ -0,0 +1 @@
README.md
+3
View File
@@ -0,0 +1,3 @@
import { defineConfig } from 'astro/config';
export default defineConfig({});
+4947
View File
File diff suppressed because it is too large. Load diff
+19
View File
@@ -0,0 +1,19 @@
{
"name": "moorly-website",
"type": "module",
"version": "0.0.0",
"private": true,
"scripts": {
"dev": "astro dev",
"build": "astro build",
"preview": "astro preview",
"check": "astro check"
},
"dependencies": {
"astro": "^7.4.6"
},
"devDependencies": {
"@astrojs/check": "^0.9.12",
"typescript": "^6.0.3"
}
}
+276
View File
@@ -0,0 +1,276 @@
---
const arms = Array.from({ length: 8 }, (_, i) => i * 45);
const year = new Date().getFullYear();
---
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Moorly — Coming Soon</title>
<meta name="description" content="Moorly is coming. Something is being forged in the north." />
<meta name="theme-color" content="#0b0f0e" />
<link
rel="icon"
href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' fill='%230b0f0e'/%3E%3Cpath d='M16 5l9 11-9 11-9-11z' fill='none' stroke='%23c9a86a' stroke-width='2'/%3E%3C/svg%3E"
/>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400&display=swap"
rel="stylesheet"
/>
<style is:global>
:root {
--bg: #0b0f0e;
--bone: #ece5d5;
--muted: #8e9691;
--bronze: #c9a86a;
--line: rgba(201, 168, 106, 0.22);
}
*,
*::before,
*::after {
box-sizing: border-box;
}
html,
body {
margin: 0;
min-height: 100%;
}
body {
min-height: 100svh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: clamp(2.5rem, 6vh, 4.5rem);
padding: clamp(2rem, 7vw, 5rem) 1.5rem;
background:
radial-gradient(ellipse at 50% -20%, rgba(201, 168, 106, 0.12), transparent 55%),
radial-gradient(ellipse at 50% 120%, rgba(90, 120, 105, 0.1), transparent 60%),
var(--bg);
color: var(--bone);
font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
text-align: center;
overflow: hidden;
position: relative;
}
/* Carved frame, barely there */
body::before {
content: "";
position: fixed;
inset: clamp(10px, 2vw, 22px);
border: 1px solid rgba(201, 168, 106, 0.1);
pointer-events: none;
}
/* Vignette */
body::after {
content: "";
position: fixed;
inset: 0;
background: radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, 0.45));
pointer-events: none;
}
/* Faint fjord ridges at the foot of the page */
.landscape {
position: fixed;
inset: auto 0 0;
width: 100%;
height: min(48vh, 26rem);
pointer-events: none;
}
.landscape svg {
display: block;
width: 100%;
height: 100%;
}
.landscape::after {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(to bottom, var(--bg) 0%, transparent 45%);
opacity: 0.55;
}
.crest {
width: 3.75rem;
height: auto;
margin-bottom: 2.25rem;
color: var(--bronze);
opacity: 0.7;
}
.crest svg {
display: block;
width: 100%;
height: auto;
}
main {
position: relative;
z-index: 1;
display: flex;
flex-direction: column;
align-items: center;
max-width: 38rem;
animation: rise 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.wordmark {
margin: 0;
font-family: "Cormorant Garamond", "Iowan Old Style", Palatino, Georgia, serif;
font-weight: 300;
font-size: clamp(3rem, 12vw, 6.5rem);
line-height: 1;
letter-spacing: 0.24em;
/* letter-spacing adds trailing space; pull it back to keep centering true */
text-indent: 0.24em;
text-transform: uppercase;
}
.rule {
display: flex;
align-items: center;
gap: 1rem;
width: min(18rem, 70vw);
margin: 2rem 0 1.75rem;
color: var(--bronze);
}
.rule::before,
.rule::after {
content: "";
flex: 1;
height: 1px;
background: linear-gradient(to right, transparent, var(--line));
}
.rule::after {
background: linear-gradient(to left, transparent, var(--line));
}
.rule svg {
width: 2.25rem;
height: auto;
opacity: 0.85;
}
.tagline {
margin: 0;
font-family: "Cormorant Garamond", "Iowan Old Style", Palatino, Georgia, serif;
font-size: clamp(1.5rem, 4vw, 2.1rem);
font-weight: 400;
letter-spacing: 0.2em;
text-transform: uppercase;
color: var(--bone);
}
.sub {
margin: 1.4rem 0 0;
max-width: 30rem;
font-size: clamp(0.9rem, 2.2vw, 1rem);
line-height: 1.75;
color: var(--muted);
letter-spacing: 0.01em;
}
footer {
position: relative;
z-index: 1;
font-size: 0.64rem;
letter-spacing: 0.32em;
text-transform: uppercase;
color: rgba(142, 150, 145, 0.85);
}
footer span {
color: rgba(201, 168, 106, 0.6);
}
@keyframes rise {
from {
opacity: 0;
transform: translateY(14px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@media (prefers-reduced-motion: reduce) {
main {
animation: none;
}
}
@media (max-width: 420px) {
.wordmark {
letter-spacing: 0.16em;
text-indent: 0.16em;
}
}
</style>
</head>
<body>
<div class="landscape" aria-hidden="true">
<svg viewBox="0 0 1440 400" preserveAspectRatio="none">
<path
fill="#131b18"
d="M0 300 L90 250 L170 275 L260 205 L350 260 L450 190 L540 245 L640 175 L740 240 L830 200 L930 255 L1030 195 L1130 250 L1230 210 L1330 255 L1440 215 L1440 400 L0 400 Z"
/>
<path
fill="#0e1513"
d="M0 340 L110 300 L210 325 L310 270 L410 315 L520 265 L630 310 L740 275 L850 320 L960 280 L1070 325 L1180 285 L1290 320 L1440 290 L1440 400 L0 400 Z"
/>
<path
fill="#0c1210"
d="M0 372 L120 345 L240 365 L360 335 L480 362 L600 340 L720 365 L840 345 L960 368 L1080 342 L1200 365 L1320 348 L1440 368 L1440 400 L0 400 Z"
/>
</svg>
</div>
<main>
<div class="crest" aria-hidden="true">
<svg viewBox="0 0 600 600" fill="none" stroke="currentColor" stroke-width="8">
{
arms.map((angle) => {
const rad = (angle * Math.PI) / 180;
const x = 300 + 190 * Math.cos(rad);
const y = 300 + 190 * Math.sin(rad);
return <line x1="300" y1="300" x2={x} y2={y} />;
})
}
<circle cx="300" cy="300" r="230" />
<circle cx="300" cy="300" r="190" />
<circle cx="300" cy="300" r="26" />
</svg>
</div>
<h1 class="wordmark">Moorly</h1>
<div class="rule" aria-hidden="true">
<svg viewBox="0 0 48 16" fill="none" stroke="currentColor" stroke-width="1">
<path d="M24 1.5 33.5 8 24 14.5 14.5 8Z" />
<path d="M24 5 29 8l-5 3-5-3Z" />
<path d="M1 8h8M39 8h8" />
</svg>
</div>
<p class="tagline">The site is coming</p>
<p class="sub">
Something is being forged in the north. The gates aren't open yet — but the fire is lit.
</p>
</main>
<footer>&copy; {year} <span>&#9670;</span> Moorly</footer>
</body>
</html>
+5
View File
@@ -0,0 +1,5 @@
{
"extends": "astro/tsconfigs/strict",
"include": [".astro/types.d.ts", "**/*"],
"exclude": ["dist"]
}