Rename About page to Impressum

This commit is contained in:
IM23a-cernik
2025-05-22 11:12:28 +02:00
parent 2d7f5a4de7
commit dcc58f85d5
4 changed files with 33 additions and 10 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. # See https://help.github.com/articles/ignoring-files/ for more impressum ignoring files.
# dependencies # dependencies
/node_modules /node_modules
+27 -4
View File
@@ -4,7 +4,12 @@
<option name="autoReloadType" value="SELECTIVE" /> <option name="autoReloadType" value="SELECTIVE" />
</component> </component>
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="15d653a3-00a9-440e-a365-0d5dba6a77a9" name="Changes" comment="Add dynamic page titles and update project routing" /> <list default="true" id="15d653a3-00a9-440e-a365-0d5dba6a77a9" name="Changes" comment="Add Title component for dynamic page titles in layout">
<change beforePath="$PROJECT_DIR$/.gitignore" beforeDir="false" afterPath="$PROJECT_DIR$/.gitignore" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/app/about/page.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/app/impressum/page.js" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/app/layout.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/app/layout.js" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" /> <option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" /> <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
@@ -142,7 +147,7 @@
<workItem from="1747212060956" duration="11000" /> <workItem from="1747212060956" duration="11000" />
<workItem from="1747212107053" duration="3000" /> <workItem from="1747212107053" duration="3000" />
<workItem from="1747290521182" duration="4840000" /> <workItem from="1747290521182" duration="4840000" />
<workItem from="1747895515224" duration="7034000" /> <workItem from="1747895515224" duration="7887000" />
</task> </task>
<task id="LOCAL-00001" summary="created a base layout"> <task id="LOCAL-00001" summary="created a base layout">
<option name="closed" value="true" /> <option name="closed" value="true" />
@@ -272,7 +277,23 @@
<option name="project" value="LOCAL" /> <option name="project" value="LOCAL" />
<updated>1747903868949</updated> <updated>1747903868949</updated>
</task> </task>
<option name="localTasksCounter" value="17" /> <task id="LOCAL-00017" summary="Update page titles">
<option name="closed" value="true" />
<created>1747904046937</created>
<option name="number" value="00017" />
<option name="presentableId" value="LOCAL-00017" />
<option name="project" value="LOCAL" />
<updated>1747904046937</updated>
</task>
<task id="LOCAL-00018" summary="Add Title component for dynamic page titles in layout">
<option name="closed" value="true" />
<created>1747904246431</created>
<option name="number" value="00018" />
<option name="presentableId" value="LOCAL-00018" />
<option name="project" value="LOCAL" />
<updated>1747904246431</updated>
</task>
<option name="localTasksCounter" value="19" />
<servers /> <servers />
</component> </component>
<component name="TypeScriptGeneratedFilesManager"> <component name="TypeScriptGeneratedFilesManager">
@@ -294,6 +315,8 @@
<MESSAGE value="Added new project links for Stalinium Mod and Portfolio; updated About page content" /> <MESSAGE value="Added new project links for Stalinium Mod and Portfolio; updated About page content" />
<MESSAGE value="Added Kotlin" /> <MESSAGE value="Added Kotlin" />
<MESSAGE value="Add dynamic page titles and update project routing" /> <MESSAGE value="Add dynamic page titles and update project routing" />
<option name="LAST_COMMIT_MESSAGE" value="Add dynamic page titles and update project routing" /> <MESSAGE value="Update page titles" />
<MESSAGE value="Add Title component for dynamic page titles in layout" />
<option name="LAST_COMMIT_MESSAGE" value="Add Title component for dynamic page titles in layout" />
</component> </component>
</project> </project>
@@ -1,4 +1,4 @@
export default function About() { export default function Impressum() {
return <div className={"h-full p-7.5 text-wrap w-screen md:w-2/3"}> return <div className={"h-full p-7.5 text-wrap w-screen md:w-2/3"}>
<h1 className={"text-4xl md:text-5xl"}>Impressum und Haftungsausschluss</h1> <h1 className={"text-4xl md:text-5xl"}>Impressum und Haftungsausschluss</h1>
<h2 className={"text-2xl md:text-3xl"}>Impressum</h2> <h2 className={"text-2xl md:text-3xl"}>Impressum</h2>
+4 -4
View File
@@ -15,8 +15,8 @@ export default function RootLayout({children}) {
switch (pathname) { switch (pathname) {
case "/": case "/":
return "Kristians Portfolio"; return "Kristians Portfolio";
case "/about": case "/impressum":
return "About"; return "Impressum";
case "/projects": case "/projects":
return "Projects"; return "Projects";
case "/me": case "/me":
@@ -72,8 +72,8 @@ export default function RootLayout({children}) {
</Link> </Link>
</li> </li>
<li className=""> <li className="">
<Link href="/about"> <Link href="/impressum">
About Impressum
</Link> </Link>
</li> </li>
</ul> </ul>