Skip to content

Commit 5ef100f

Browse files
authored
Develop: Header hide; update Footer links (#144)
2 parents 7d00678 + 198e785 commit 5ef100f

File tree

6 files changed

+53
-25
lines changed

6 files changed

+53
-25
lines changed

src/assets/styles/header.css

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
display: grid;
1212
grid-template-columns: 1fr auto 1fr;
1313
align-items: center;
14+
min-height: 5rem;
1415

1516
.header__brand {
1617
display: flex;
@@ -30,6 +31,31 @@
3031
}
3132
}
3233

34+
.title {
35+
font-size: 3rem;
36+
font-weight: bold;
37+
background: linear-gradient(270deg, #ff416c, #ff4b2b, #1e90ff, #32cd32);
38+
background-size: 800% 800%;
39+
background-clip: inherit;
40+
-webkit-background-clip: text;
41+
-webkit-text-fill-color: transparent;
42+
animation: animateGradient 8s ease infinite;
43+
}
44+
45+
@keyframes animateGradient {
46+
0% {
47+
background-position: 0% 50%;
48+
}
49+
50+
50% {
51+
background-position: 100% 50%;
52+
}
53+
54+
100% {
55+
background-position: 0% 50%;
56+
}
57+
}
58+
3359
/* --- Navigation Links --- */
3460
.caption {
3561
display: flex;
@@ -89,4 +115,4 @@
89115
width: 2rem;
90116
border-radius: 50%;
91117
cursor: pointer;
92-
}
118+
}

src/components/ZodiacTab.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import "@/assets/styles/zodiac.css";
2121
import type { Language } from "@/types/zodiac";
2222

2323
document.addEventListener("DOMContentLoaded", () => {
24-
const zodiacsPromise = fetch("/src/data/zodiac.json").then((res) => res.json());
24+
const zodiacsPromise = fetch("src/data/zodiac.json").then((res) => res.json());
2525

2626
zodiacsPromise.then((zodiacs) => {
2727
const zodiacsGrid = document.getElementById("zodiacsGrid");

src/content/support.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ If something isn’t working:
3737

3838
- Make sure your internet connection is active.
3939
- Try refreshing the page.
40-
- Use a modern browser like **Chrome**, **Firefox**, or **Edge**.
40+
- Use a modern browser like   **Chrome**, **Firefox**, or   **Edge**.
4141
- If you're using a school device, check for any firewall or content blockers.
4242

4343
---

src/layouts/common/Footer.astro

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -49,36 +49,35 @@ import ToggleIcon from "@/assets/icons/toggle.svg";
4949
</details>
5050
<details class="footer__nav--item" open>
5151
<summary class="footer__nav--title">
52-
<span>For Parents</span>
52+
<span>General</span>
5353
<i class="fa-solid fa-chevron-down"></i>
5454
</summary>
5555
<div class="footer__nav--links">
56-
<a href="/varnmala">Getting Started</a>
57-
<a href="/parent">Parent Resources</a>
56+
<a href="/about">About Us</a>
5857
<a href="/faq">FAQs</a>
5958
<a href="/support">Support</a>
6059
<a href="/blog">Blog</a>
61-
</div>
62-
</details>
63-
<details class="footer__nav--item" open>
64-
<summary class="footer__nav--title">
65-
<span>For Schools</span>
66-
<i class="fa-solid fa-chevron-down"></i>
67-
</summary>
68-
<div class="footer__nav--links">
69-
<a href="/school">School Programs</a>
70-
<a href="/classroom">Classroom Tools</a>
71-
<a href="/teacher">Teacher Resources</a>
7260
<a href="/contact">Contact Us</a>
73-
<a href="/gallery">Gallery</a>
7461
</div>
7562
</details>
7663
</div>
64+
<details class="footer__nav--item" open>
65+
<summary class="footer__nav--title">
66+
<span>Resources</span>
67+
<i class="fa-solid fa-chevron-down"></i>
68+
</summary>
69+
<div class="footer__nav--links">
70+
<a href="/school">School Programs</a>
71+
<a href="/classroom">Classroom Tools</a>
72+
<a href="/teacher">Teacher Resources</a>
73+
<a href="/parent">Parent Resources</a>
74+
</div>
75+
</details>
7776
</div>
78-
<div class="copyright">
79-
© 2025 recursivezero.com. All rights reserved.
80-
<a href="/privacy">Privacy Policy</a> | <a href="/terms">Terms and Conditions</a> | <a href="/cookies">Cookies</a>
81-
</div>
77+
</div>
78+
<div class="copyright">
79+
© 2025 recursivezero.com. All rights reserved.
80+
<a href="/privacy">Privacy Policy</a> | <a href="/terms">Terms and Conditions</a> | <a href="/cookies">Cookies</a>
8281
</div>
8382

8483
<script>

src/layouts/common/Header.astro

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,21 @@ import logoImage from "/public/assets/images/512x512.png";
77
const { hasBack = true } = Astro.props;
88
---
99

10+
1011
<header class="header">
1112
<div class="header__brand">
1213
<Picture src={logoImage} formats={["png", "webp"]} alt="template logo" class="logo" />
1314
<span title={APP_NAME}>{APP_NAME}</span>
1415
</div>
1516

16-
<div class="caption">
17+
<div class="title">Welcome to the world of learning</div>
18+
19+
<!--<div class="caption">
1720
<a href="/" class:list={{ "is-active": Astro.url.pathname === "/home" || Astro.url.pathname === "/" }}>Home</a>
1821
<a href="/about" class:list={{ "is-active": Astro.url.pathname.startsWith("/about") }}>About</a>
1922
<a href="/parent" class:list={{ "is-active": Astro.url.pathname.startsWith("/parent") }}>Parents</a>
2023
<a href="/teacher" class:list={{ "is-active": Astro.url.pathname.startsWith("/teacher") }}>Teachers</a>
21-
</div>
24+
</div>-->
2225

2326
<div class="action-group">
2427
<slot name="left">

src/utils/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ export const NavbarLinks: LinkProps[] = [
192192
name: "Zodiac",
193193
title: "zodiac",
194194
path: "/zodiac",
195-
isActive: true
195+
isActive: false
196196
},
197197
{
198198
name: "Nakshtra",

0 commit comments

Comments
 (0)