mirror of
https://git.aramjonghu.dev/AramJonghu/aramjonghu-site.git
synced 2026-09-14 10:03:30 +02:00
Compare commits
3
Commits
9993dbd727
...
f3bdf16fa9
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f3bdf16fa9 | ||
|
|
93c4d09b35 | ||
|
|
7a2bac2a7b |
@@ -1,25 +1,25 @@
|
|||||||
name: Format frontend with Prettier
|
name: Format frontend with Prettier
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: ["master"]
|
branches: ["master"]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
format:
|
format:
|
||||||
runs-on: alpine
|
runs-on: alpine
|
||||||
container: node:26-alpine
|
container: node:26-alpine
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: apk add --no-cache git
|
run: apk add --no-cache git
|
||||||
|
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install frontend deps
|
- name: Install frontend deps
|
||||||
working-directory: frontend
|
working-directory: frontend
|
||||||
run: npm install
|
run: npm install
|
||||||
|
|
||||||
- name: Run Prettier check
|
- name: Run Prettier check
|
||||||
working-directory: frontend
|
working-directory: frontend
|
||||||
run: npx prettier --check .
|
run: npx prettier --check .
|
||||||
|
|||||||
@@ -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>
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -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>
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -1,5 +1,7 @@
|
|||||||
import { useState, type ReactElement } from "react";
|
import { useState, type ReactElement } from "react";
|
||||||
import ProjectsReadme from "../components/ProjectsReadme";
|
import ProjectsReadme from "../components/ProjectsReadme";
|
||||||
|
import Systems from "../components/Systems";
|
||||||
|
import About from "../components/About";
|
||||||
|
|
||||||
interface ProjectInfo {
|
interface ProjectInfo {
|
||||||
id: string;
|
id: string;
|
||||||
@@ -73,12 +75,20 @@ export default function Home(): ReactElement {
|
|||||||
{
|
{
|
||||||
id: "systems",
|
id: "systems",
|
||||||
title: "Systems",
|
title: "Systems",
|
||||||
content: <p>Systems content goes here.</p>,
|
content: (
|
||||||
|
<>
|
||||||
|
<Systems />
|
||||||
|
</>
|
||||||
|
),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: "about",
|
id: "about",
|
||||||
title: "About",
|
title: "About",
|
||||||
content: <p>About content goes here.</p>,
|
content: (
|
||||||
|
<>
|
||||||
|
<About />
|
||||||
|
</>
|
||||||
|
),
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
Generated
-6
@@ -1,6 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "aramjonghu-site",
|
|
||||||
"lockfileVersion": 3,
|
|
||||||
"requires": true,
|
|
||||||
"packages": {}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user