summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2023-10-02 14:10:56 +0800
committerlittleblack111 <littleblack11111@gmail.com>2023-10-02 14:10:56 +0800
commitaa91acb5a17c67ed929a5dd5440195736745450d (patch)
tree72c7323f3025513579d5dc05f0dfee29f3a3462e /index.html
parent12cb115c9d74698129607a5907471a907e10d8aa (diff)
make navBar(header) presist active depending on which page user's on
Diffstat (limited to 'index.html')
-rw-r--r--index.html34
1 files changed, 18 insertions, 16 deletions
diff --git a/index.html b/index.html
index b823e481..b33d20e1 100644
--- a/index.html
+++ b/index.html
@@ -1,6 +1,6 @@
<!DOCTYPE html5>
<html lang="en">
-<script src="/src/js/includehtml.js"></script>
+<script src="/src/js/includeheader.js"></script>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
@@ -10,23 +10,25 @@
</head>
<body>
<!-- headers -->
- <div include-html="/src/html/headers.html"></div>
- <script>includeHTML();</script>
+ <div include-header="/src/html/headers.html"></div>
+ <script>includeHeader();</script>
<!-- index page -->
- <section class="indexPage">
- <div class="window">
- <div class="placeholder" id="infos">
- <div class="text">
- <h2>Hello! This is</h2>
- <object class="br"></object>
- <h1 class="title">littleblack111</h1>
- <object class="br"></object>
- <h2>welcome to my <br> website!</h2>
- </div>
- </div>
- </div>
- </section>
+ <div class="wrapper">
+ <section class="indexPage">
+ <div class="window slowScroll">
+ <div class="placeholder" id="infos">
+ <div class="text fastScroll">
+ <h2>Hello! This is</h2>
+ <object class="br"></object>
+ <h1 class="title">littleblack111</h1>
+ <object class="br"></object>
+ <h2>welcome to my <br> website!</h2>
+ </div>
+ </div>
+ </div>
+ </section>
+ </div>
<script src="/src/js/index.js"></script>
</body>