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 { 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} />
</> </>
); );
+2 -5
View File
@@ -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