mirror of
https://git.srhtnin.garden/sarah/srhtnin.github.io.git
synced 2026-10-14 10:48:12 +02:00
Added subnavbar.
This commit is contained in:
1 parent
bdf6871b84
commit
46c35689d7
8 files changed
+298
-19
No files matched your search
+13
-3
@@ -2,6 +2,14 @@
|
||||
|
||||
$PageTitle = "Home";
|
||||
|
||||
$SubNavbarItems = [
|
||||
"Welcome" => "#Welcome",
|
||||
"About me" => "#AboutMe",
|
||||
"Credits" => "#Credits"
|
||||
];
|
||||
|
||||
$SubNavbarCurrent = "Welcome";
|
||||
|
||||
?>
|
||||
|
||||
<!DOCTYPE html>
|
||||
@@ -11,9 +19,10 @@ $PageTitle = "Home";
|
||||
|
||||
<body>
|
||||
<?php require __DIR__ . "/Bits/Navbar.php"; ?>
|
||||
<?php require __DIR__ . "/Bits/SubNavbar.php"; ?>
|
||||
|
||||
<main class="MainContainer">
|
||||
<h1>Welcome</h1>
|
||||
<h1 id="Welcome">Welcome</h1>
|
||||
|
||||
<p>
|
||||
You've arrived at Sarahtonin's homepage.
|
||||
@@ -26,7 +35,7 @@ $PageTitle = "Home";
|
||||
</b>
|
||||
</p>
|
||||
|
||||
<h2>About me</h2>
|
||||
<h2 id="AboutMe">About me</h2>
|
||||
|
||||
<p>
|
||||
I'm Sarahtonin. The creator of this very website.
|
||||
@@ -43,7 +52,7 @@ $PageTitle = "Home";
|
||||
<a href="/Pages/Sarahtonin.html">page</a> about me.
|
||||
</p>
|
||||
|
||||
<h3>Credits</h3>
|
||||
<h3 id="Credits">Credits</h3>
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
@@ -62,6 +71,7 @@ $PageTitle = "Home";
|
||||
</ul>
|
||||
</main>
|
||||
|
||||
<script src="/Scripts/SubNavbar.js"></script>
|
||||
<script src="/Scripts/Script.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user