mirror of
https://git.aramjonghu.dev/AramJonghu/aramjonghu-site.git
synced 2026-09-10 16:53:30 +02:00
Compare commits
3
Commits
9993dbd727
...
f3bdf16fa9
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f3bdf16fa9 | ||
|
|
93c4d09b35 | ||
|
|
7a2bac2a7b |
@@ -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 .
|
||||
|
||||
@@ -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 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 />
|
||||
</>
|
||||
),
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
Generated
-6
@@ -1,6 +0,0 @@
|
||||
{
|
||||
"name": "aramjonghu-site",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {}
|
||||
}
|
||||
Reference in New Issue
Block a user