Replace About with Contact and introduce the homelab on Home
This commit is contained in:
parent
d5fe7407da
commit
08c430638d
2 changed files with 19 additions and 11 deletions
|
|
@ -5,7 +5,7 @@ const { chromium } = require(process.env.PLAYWRIGHT_PATH || "playwright");
|
|||
|
||||
const base = process.env.SITE_URL || "http://127.0.0.1:18790";
|
||||
const endpoint = "https://health.quorate.dev/health";
|
||||
const paths = ["/", "/about/", "/blog/", "/404.html", "/blog/specimen/"];
|
||||
const paths = ["/", "/contact/", "/blog/", "/404.html", "/blog/specimen/"];
|
||||
|
||||
const days = Array(30).fill(1);
|
||||
days[1] = null;
|
||||
|
|
@ -130,8 +130,11 @@ async function checkPage(page, path) {
|
|||
await checkLayout(page);
|
||||
|
||||
switch (path) {
|
||||
case "/about/":
|
||||
assert.equal(await page.locator("article p").textContent(), "WIP");
|
||||
case "/contact/":
|
||||
assert.equal(
|
||||
await page.locator("article a").getAttribute("href"),
|
||||
"mailto:[email protected]",
|
||||
);
|
||||
break;
|
||||
case "/blog/":
|
||||
await checkBlog(page);
|
||||
|
|
|
|||
|
|
@ -3,7 +3,8 @@ title = "Typography specimen"
|
|||
description = "Lorem ipsum dolor sit amet, consectetur adipiscing elit."
|
||||
date = 2026-09-15
|
||||
+++
|
||||
A paragraph with **bold**, *emphasis*, [a link](/about/), and `inline code`.
|
||||
|
||||
A paragraph with **bold**, _emphasis_, [a link](/contact/), and `inline code`.
|
||||
|
||||
## Lists
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue