Compare commits

...
3 Commits
5 changed files with 50 additions and 24 deletions
+16 -16
View File
@@ -1,25 +1,25 @@
name: Format frontend with Prettier
on:
push:
branches: ["master"]
push:
branches: ["master"]
jobs:
format:
runs-on: alpine
container: node:26-alpine
format:
runs-on: alpine
container: node:26-alpine
steps:
- name: Install dependencies
run: apk add --no-cache git
steps:
- name: Install dependencies
run: apk add --no-cache git
- name: Checkout repo
uses: actions/checkout@v4
- name: Checkout repo
uses: actions/checkout@v4
- name: Install frontend deps
working-directory: frontend
run: npm install
- name: Install frontend deps
working-directory: frontend
run: npm install
- name: Run Prettier check
working-directory: frontend
run: npx prettier --check .
- name: Run Prettier check
working-directory: frontend
run: npx prettier --check .
+12
View File
@@ -0,0 +1,12 @@
export default function About() {
return (
<>
<h1 className="text-center m-6 text-3xl font-bold text-ctp-mauve">
About
</h1>
<div className="flex justify-center mb-6">
<p className="text-ctp-text"></p>
</div>
</>
);
}
+10
View File
@@ -0,0 +1,10 @@
export default function Systems() {
return (
<>
<h1 className="text-center m-6 text-3xl font-bold text-ctp-mauve">
Systems
</h1>
<div></div>
</>
);
}
+12 -2
View File
@@ -1,5 +1,7 @@
import { useState, type ReactElement } from "react";
import ProjectsReadme from "../components/ProjectsReadme";
import Systems from "../components/Systems";
import About from "../components/About";
interface ProjectInfo {
id: string;
@@ -73,12 +75,20 @@ export default function Home(): ReactElement {
{
id: "systems",
title: "Systems",
content: <p>Systems content goes here.</p>,
content: (
<>
<Systems />
</>
),
},
{
id: "about",
title: "About",
content: <p>About content goes here.</p>,
content: (
<>
<About />
</>
),
},
];
-6
View File
@@ -1,6 +0,0 @@
{
"name": "aramjonghu-site",
"lockfileVersion": 3,
"requires": true,
"packages": {}
}