Update page titles

This commit is contained in:
IM23a-cernik
2025-05-22 10:54:04 +02:00
parent f4d2165ef7
commit 2e96f2bb77
2 changed files with 36 additions and 28 deletions
+35 -27
View File
@@ -4,9 +4,7 @@
<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="Added Kotlin"> <list default="true" id="15d653a3-00a9-440e-a365-0d5dba6a77a9" name="Changes" comment="Add dynamic page titles and update project routing" />
<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" />
@@ -44,30 +42,31 @@
<option name="hideEmptyMiddlePackages" value="true" /> <option name="hideEmptyMiddlePackages" value="true" />
<option name="showLibraryContents" value="true" /> <option name="showLibraryContents" value="true" />
</component> </component>
<component name="PropertiesComponent">{ <component name="PropertiesComponent"><![CDATA[{
&quot;keyToString&quot;: { "keyToString": {
&quot;RunOnceActivity.ShowReadmeOnStart&quot;: &quot;true&quot;, "RunOnceActivity.ShowReadmeOnStart": "true",
&quot;RunOnceActivity.git.unshallow&quot;: &quot;true&quot;, "RunOnceActivity.git.unshallow": "true",
&quot;SHARE_PROJECT_CONFIGURATION_FILES&quot;: &quot;true&quot;, "SHARE_PROJECT_CONFIGURATION_FILES": "true",
&quot;git-widget-placeholder&quot;: &quot;main&quot;, "git-widget-placeholder": "main",
&quot;javascript.nodejs.core.library.configured.version&quot;: &quot;20.18.0&quot;, "javascript.nodejs.core.library.configured.version": "20.18.0",
&quot;javascript.nodejs.core.library.typings.version&quot;: &quot;20.17.47&quot;, "javascript.nodejs.core.library.typings.version": "20.17.47",
&quot;js.debugger.nextJs.config.created.client&quot;: &quot;true&quot;, "js.debugger.nextJs.config.created.client": "true",
&quot;js.debugger.nextJs.config.created.server&quot;: &quot;true&quot;, "js.debugger.nextJs.config.created.server": "true",
&quot;last_opened_file_path&quot;: &quot;C:/BZZ/JS/portfolio/src/app/projects&quot;, "last_opened_file_path": "C:/BZZ/JS/portfolio/src/app",
&quot;node.js.detected.package.eslint&quot;: &quot;true&quot;, "node.js.detected.package.eslint": "true",
&quot;node.js.detected.package.tslint&quot;: &quot;true&quot;, "node.js.detected.package.tslint": "true",
&quot;node.js.selected.package.eslint&quot;: &quot;(autodetect)&quot;, "node.js.selected.package.eslint": "(autodetect)",
&quot;node.js.selected.package.tslint&quot;: &quot;(autodetect)&quot;, "node.js.selected.package.tslint": "(autodetect)",
&quot;nodejs_package_manager_path&quot;: &quot;npm&quot;, "nodejs_package_manager_path": "npm",
&quot;npm.build.executor&quot;: &quot;Run&quot;, "npm.build.executor": "Run",
&quot;settings.editor.selected.configurable&quot;: &quot;preferences.pluginManager&quot;, "settings.editor.selected.configurable": "preferences.pluginManager",
&quot;ts.external.directory.path&quot;: &quot;C:\\Program Files\\JetBrains\\WebStorm 2024.1.2\\plugins\\javascript-plugin\\jsLanguageServicesImpl\\external&quot;, "ts.external.directory.path": "C:\\Program Files\\JetBrains\\WebStorm 2024.1.2\\plugins\\javascript-plugin\\jsLanguageServicesImpl\\external",
&quot;vue.rearranger.settings.migration&quot;: &quot;true&quot; "vue.rearranger.settings.migration": "true"
} }
}</component> }]]></component>
<component name="RecentsManager"> <component name="RecentsManager">
<key name="CopyFile.RECENT_KEYS"> <key name="CopyFile.RECENT_KEYS">
<recent name="C:\BZZ\JS\portfolio\src\app" />
<recent name="C:\BZZ\JS\portfolio\src\app\projects" /> <recent name="C:\BZZ\JS\portfolio\src\app\projects" />
<recent name="C:\BZZ\JS\portfolio\src\app\me" /> <recent name="C:\BZZ\JS\portfolio\src\app\me" />
</key> </key>
@@ -143,7 +142,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="6714000" /> <workItem from="1747895515224" duration="7034000" />
</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" />
@@ -265,7 +264,15 @@
<option name="project" value="LOCAL" /> <option name="project" value="LOCAL" />
<updated>1747903299068</updated> <updated>1747903299068</updated>
</task> </task>
<option name="localTasksCounter" value="16" /> <task id="LOCAL-00016" summary="Add dynamic page titles and update project routing">
<option name="closed" value="true" />
<created>1747903868949</created>
<option name="number" value="00016" />
<option name="presentableId" value="LOCAL-00016" />
<option name="project" value="LOCAL" />
<updated>1747903868949</updated>
</task>
<option name="localTasksCounter" value="17" />
<servers /> <servers />
</component> </component>
<component name="TypeScriptGeneratedFilesManager"> <component name="TypeScriptGeneratedFilesManager">
@@ -286,6 +293,7 @@
<MESSAGE value="Changed a project name" /> <MESSAGE value="Changed a project name" />
<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" />
<option name="LAST_COMMIT_MESSAGE" value="Added Kotlin" /> <MESSAGE value="Add dynamic page titles and update project routing" />
<option name="LAST_COMMIT_MESSAGE" value="Add dynamic page titles and update project routing" />
</component> </component>
</project> </project>
+1 -1
View File
@@ -42,7 +42,7 @@ export default function RootLayout({children}) {
return ( return (
<html lang="en" suppressHydrationWarning> <html lang="en" suppressHydrationWarning>
<Head> <Head>
<title>{getTitle()}</title> <title>Kurwa</title>
</Head> </Head>
<body <body
className={"text-emerald-800 dark:text-emerald-300 bg-gradient-to-tr dark:from-black dark:via-emerald-800 dark:to-black from-gray-300 via-emerald-100 to-gray-300"}> className={"text-emerald-800 dark:text-emerald-300 bg-gradient-to-tr dark:from-black dark:via-emerald-800 dark:to-black from-gray-300 via-emerald-100 to-gray-300"}>