chore(cleanup): removed double title card text; less wasted space

This commit is contained in:
2026-07-23 03:29:05 +02:00
parent d2b2eb2343
commit f91587a767
3 changed files with 2 additions and 11 deletions
-3
View File
@@ -5,9 +5,6 @@ import aboutMd from "../content/about.md?raw";
export default function About(): ReactElement {
return (
<>
<h1 className="text-center m-6 text-3xl font-bold text-ctp-mauve">
About
</h1>
<MdProcessor content={aboutMd} />
</>
);
@@ -5,9 +5,6 @@ import currentActivityMd from "../content/current-activity.md?raw";
export default function CurrentActivity(): ReactElement {
return (
<>
<h1 className="text-center m-6 text-3xl font-bold text-ctp-mauve">
Current activity
</h1>
<MdProcessor content={currentActivityMd} />
</>
);
+2 -5
View File
@@ -10,17 +10,14 @@ export default function ProjectInfo(): ReactElement {
return (
<>
<h1 className="text-center m-6 text-3xl font-bold text-ctp-mauve">
Projects
</h1>
<div className="flex justify-center mb-6">
<div className="flex justify-between mx-30 mb-6">
<button
onClick={prevProject}
className="px-3 py-1 rounded ui-btn text-ctp-text"
>
Prev
</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})
</span>
<button