mirror of
https://git.aramjonghu.dev/AramJonghu/aramjonghu-site.git
synced 2026-09-12 17:33:30 +02:00
chore(cleanup): removed double title card text; less wasted space
This commit is contained in:
@@ -5,9 +5,6 @@ import aboutMd from "../content/about.md?raw";
|
|||||||
export default function About(): ReactElement {
|
export default function About(): ReactElement {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<h1 className="text-center m-6 text-3xl font-bold text-ctp-mauve">
|
|
||||||
About
|
|
||||||
</h1>
|
|
||||||
<MdProcessor content={aboutMd} />
|
<MdProcessor content={aboutMd} />
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -5,9 +5,6 @@ import currentActivityMd from "../content/current-activity.md?raw";
|
|||||||
export default function CurrentActivity(): ReactElement {
|
export default function CurrentActivity(): ReactElement {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<h1 className="text-center m-6 text-3xl font-bold text-ctp-mauve">
|
|
||||||
Current activity
|
|
||||||
</h1>
|
|
||||||
<MdProcessor content={currentActivityMd} />
|
<MdProcessor content={currentActivityMd} />
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -10,17 +10,14 @@ export default function ProjectInfo(): ReactElement {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<h1 className="text-center m-6 text-3xl font-bold text-ctp-mauve">
|
<div className="flex justify-between mx-30 mb-6">
|
||||||
Projects
|
|
||||||
</h1>
|
|
||||||
<div className="flex justify-center mb-6">
|
|
||||||
<button
|
<button
|
||||||
onClick={prevProject}
|
onClick={prevProject}
|
||||||
className="px-3 py-1 rounded ui-btn text-ctp-text"
|
className="px-3 py-1 rounded ui-btn text-ctp-text"
|
||||||
>
|
>
|
||||||
◀︎ Prev
|
◀︎ Prev
|
||||||
</button>
|
</button>
|
||||||
<span className="self-center mx-6 font-medium">
|
<span className="self-center mx-6 text-ctp-mauve text-2xl font-bold">
|
||||||
{projects[projIdx].name} ({projIdx + 1}/{projects.length})
|
{projects[projIdx].name} ({projIdx + 1}/{projects.length})
|
||||||
</span>
|
</span>
|
||||||
<button
|
<button
|
||||||
|
|||||||
Reference in New Issue
Block a user