Skip to content

Commit 83385c3

Browse files
committed
update header footer;custom font added
1 parent db717f2 commit 83385c3

19 files changed

+102
-125
lines changed

public/fonts/Stardom-Regular.woff

25.2 KB
Binary file not shown.

public/fonts/Stardom-Regular.woff2

19.7 KB
Binary file not shown.
-21.7 KB
Binary file not shown.

src/assets/icons/arrow.svg

Lines changed: 0 additions & 2 deletions
Loading

src/assets/icons/hamburger.svg

Lines changed: 0 additions & 11 deletions
This file was deleted.

src/assets/icons/star.svg

Lines changed: 10 additions & 0 deletions
Loading

src/assets/styles/custom-font.css

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
/* src/styles/custom-font.css */
2+
23
@font-face {
3-
font-family: "Mudra";
4-
src: url("/assets/fonts/MudraMohta-Regular.ttf") format("truetype");
5-
font-weight: normal;
4+
font-family: "Stardom";
5+
src:
6+
url("/fonts/Stardom-regular.woff") format("woff"),
7+
url("/fonts/Stardom-regular.woff2") format("woff2");
8+
font-weight: 400;
69
font-style: normal;
10+
font-display: swap;
711
}

src/assets/styles/footer.css

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
@apply flex flex-col items-center justify-center gap-3 text-gray-700 underline underline-offset-2 dark:text-gray-500;
88
}
99

10-
.footer__nav--item {
11-
@apply underline underline-offset-2 hover:text-blue-500 dark:hover:text-blue-400;
10+
.footer__nav__item {
11+
@apply underline underline-offset-2 hover:text-blue-500;
12+
color: inherit;
13+
margin: 0.5rem;
14+
text-decoration: underline;
1215
}

src/assets/styles/globals.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*@import "./custom-font.css";*/
1+
@import url("./custom-font.css");
22
@tailwind base;
33
@tailwind components;
44
@tailwind utilities;

src/components/AboutSection.astro

Lines changed: 34 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,41 @@
1+
---
2+
3+
---
4+
5+
<style>
6+
@media (prefers-color-scheme: dark) {
7+
img {
8+
filter: brightness(50%) sepia(70%) invert(100%);
9+
}
10+
}
11+
12+
@media (prefers-color-scheme: light) {
13+
img {
14+
filter: none;
15+
}
16+
}
17+
section {
18+
font-family: "Stardom", sans-serif;
19+
color: inherit;
20+
}
21+
p {
22+
color: #6c757d;
23+
&:hover {
24+
color: #9c1a82;
25+
}
26+
}
27+
img {
28+
border-radius: 0.5rem;
29+
/*filter: brightness(50%) sepia(70%) invert(100%);*/
30+
}
31+
</style>
132
<section>
233
<div class="w-full px-4 py-8 md:px-6 md:py-12 lg:px-8">
334
<div class="mx-auto">
4-
<h2 class="mb-[0.8rem] inline-block rounded-md py-[2px] text-[27px]">What we do</h2>
5-
<h1 class="mb-[1.1rem] text-[36px] font-bold leading-[42px] tracking-[-0.03em] lg:text-[61px] lg:leading-[72px]">
35+
<h1 class="mb-[0.8rem] inline-block rounded-md py-[2px] text-[27px]">What we do</h1>
36+
<h2 class="mb-[1.1rem] text-[36px] font-bold leading-[42px] tracking-[-0.03em] lg:text-[61px] lg:leading-[72px]">
637
Efficient apps that simplify your life.
7-
</h1>
38+
</h2>
839
<div class="flex flex-col gap-[1.5rem] lg:flex-row lg:justify-between lg:gap-[1.2rem] xl:gap-[3rem]">
940
<figure class="basis-[55%] lg:h-[500px]">
1041
<img

src/components/Footer.astro

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,28 @@
1+
---
2+
import "@/assets/styles/footer.css";
3+
import { FooterLinks } from "@/utils/constants";
4+
---
5+
16
<footer>
27
<div class="h-[1px] w-full bg-white/70"></div>
38

49
<div class="p-[20px] lg:py-[50px]">
510
<div class="mx-auto flex max-w-[100rem] flex-row items-center justify-between">
611
<div class="footer-bottom mb-[30px] lg:mb-[40px] lg:pt-[20px]">
712
<div>
8-
<p class="footerBottomA text-[12.5px] leading-[20px] text-[#999]">
13+
<p class="text-[12.5px] leading-[20px] text-[#999]">
914
©2025
10-
<a href="/" class="footerBottomB text-[#fff]">
11-
<strong> RecursiveZero Private Limited</strong>
15+
<a href="/" class="">
16+
<strong>RecursiveZero Private Limited</strong>
1217
</a>
13-
| All Rights Reserved |
14-
<a href="/terms" class="hover:text-white">Terms & Conditions</a> |
15-
<a href="/privacy" class="hover:text-white">Privacy Policy</a>
18+
| All Rights Reserved |{" "}
19+
{
20+
FooterLinks.map((menu) => (
21+
<span class="footer__nav__item">
22+
<a href={menu.path}>{menu.title}</a>
23+
</span>
24+
))
25+
}
1626
</p>
1727
</div>
1828
</div>

src/components/Header.astro

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
import { Picture } from "astro:assets";
3-
import logoImage from "/public/assets/images/RecursiveZero-White.jpg";
3+
//import logoImage from "/public/assets/images/RecursiveZero-White.jpg";
44
---
55

66
<header>
@@ -9,7 +9,7 @@ import logoImage from "/public/assets/images/RecursiveZero-White.jpg";
99
<div class="mx-5 flex w-full items-center justify-between">
1010
<h1 class="text-[1.05rem] font-bold leading-[-0.03em] lg:text-[1.2rem]">
1111
<a href="/" class="flex items-center gap-[0.5rem] lg:flex-row">
12-
<Picture
12+
<!--<Picture
1313
src={logoImage}
1414
formats={["png", "jpeg", "jpg", "webp"]}
1515
alt="logo"
@@ -19,19 +19,11 @@ import logoImage from "/public/assets/images/RecursiveZero-White.jpg";
1919
id="clipped-logo"
2020
aria-label={"RecursiveZero Logo"}
2121
title={"RecursiveZero Logo"}
22-
/>
22+
/>-->
2323
A gupt startup
2424
</a>
2525
</h1>
2626
<ul class="menu-list flex items-center gap-[1.5rem] lg:flex-row-reverse">
27-
<!--<li id="themeToggle">
28-
<button class="sunBtn">
29-
<i class="fa fa-sun-o" aria-hidden="true">Light</i>
30-
</button>
31-
<button class="moonBtn hidden">
32-
<i class="fa fa-moon-o" aria-hidden="true">Dark</i>
33-
</button>
34-
</li>-->
3527
<li id="menuToggle" class="menu-button lg:hidden">
3628
<button id="closeBtn" class="ml-[3px] hidden">
3729
<i class="fa fa-times" aria-hidden="true"></i>
@@ -42,7 +34,7 @@ import logoImage from "/public/assets/images/RecursiveZero-White.jpg";
4234
</li>
4335
<!-- desktop menu -->
4436
<a href="/career" class="hidden lg:block">
45-
<button class="yellowBtnHover rounded-md bg-[#FFCC00] px-[10px] py-[5px] text-[#111]"> Join us! </button>
37+
<button class="rounded-md bg-[#FFCC00] px-[10px] py-[5px] text-[#111]"> Join us! </button>
4638
</a>
4739
</ul>
4840
</div>

src/components/ReviewCard.astro

Lines changed: 21 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -1,73 +1,28 @@
1+
---
2+
import StarIcon from "@/assets/icons/star.svg";
3+
---
4+
5+
<style is:inline>
6+
.star {
7+
display: inline-block;
8+
width: 1em;
9+
height: 1em;
10+
}
11+
.fill > svg {
12+
fill: #ffcc00;
13+
}
14+
</style>
15+
116
<article>
217
<div class="review-card rounded-[10px] border-2 border-solid border-gray-500">
3-
<div class="reviewcard-wrapper p-[10px] md:p-[20px]">
18+
<div class="review-card-wrapper p-[10px] md:p-[20px]">
419
<div class="review-item">
520
<div class="review mb-[10px] flex items-center gap-x-[5px]">
6-
<span>
7-
<svg
8-
class="me-1 h-5 w-5 text-yellow-300"
9-
aria-hidden="true"
10-
xmlns="http://www.w3.org/2000/svg"
11-
fill="currentColor"
12-
viewBox="0 0 22 20"
13-
>
14-
<path
15-
d="M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z"
16-
></path>
17-
</svg>
18-
</span>
19-
<span>
20-
<svg
21-
class="me-1 h-5 w-5 text-yellow-300"
22-
aria-hidden="true"
23-
xmlns="http://www.w3.org/2000/svg"
24-
fill="currentColor"
25-
viewBox="0 0 22 20"
26-
>
27-
<path
28-
d="M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z"
29-
></path>
30-
</svg>
31-
</span>
32-
<span>
33-
<svg
34-
class="me-1 h-5 w-5 text-yellow-300"
35-
aria-hidden="true"
36-
xmlns="http://www.w3.org/2000/svg"
37-
fill="currentColor"
38-
viewBox="0 0 22 20"
39-
>
40-
<path
41-
d="M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z"
42-
></path>
43-
</svg>
44-
</span>
45-
<span>
46-
<svg
47-
class="me-1 h-5 w-5 text-yellow-300"
48-
aria-hidden="true"
49-
xmlns="http://www.w3.org/2000/svg"
50-
fill="currentColor"
51-
viewBox="0 0 22 20"
52-
>
53-
<path
54-
d="M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z"
55-
></path>
56-
</svg>
57-
</span>
58-
<span>
59-
<svg
60-
class="me-1 h-5 w-5 text-gray-300 dark:text-gray-500"
61-
aria-hidden="true"
62-
xmlns="http://www.w3.org/2000/svg"
63-
fill="currentColor"
64-
viewBox="0 0 22 20"
65-
>
66-
<path
67-
d="M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z"
68-
></path>
69-
</svg>
70-
</span>
21+
<span class="star fill"><StarIcon /></span>
22+
<span class="star"><StarIcon /></span>
23+
<span class="star"><StarIcon /></span>
24+
<span class="star"><StarIcon /></span>
25+
<span class="star"><StarIcon /></span>
7126
</div>
7227
<div>
7328
<h3

src/layouts/BaseHead.astro

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
import "@/assets/styles/globals.css";
33
import { siteConfig } from "@/site-config";
4-
import "@fontsource/roboto";
54
65
const { title, description, ogImage, articleDate } = Astro.props;
76

src/layouts/BaseLayout.astro

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ import { siteConfig } from "@/site.config";
44
55
//components
66
import Footer from "@/components/Footer.astro";
7-
import Header from "@/components/Header.astro";
7+
//import Header from "@/components/Header.astro";
8+
import Header from "@/layouts/common/Header";
9+
810
import BaseHead from "@/layouts/BaseHead";
911
import Menu from "./common/Menu.astro";
1012

src/layouts/common/Footer.astro

Lines changed: 0 additions & 16 deletions
This file was deleted.

src/utils/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export const NavbarLinks: LinkProps[] = [
3737

3838
export const FooterLinks: LinkProps[] = [
3939
{
40-
title: "privacy Policy",
40+
title: "Privacy Policy",
4141
path: "/privacy",
4242
isActive: true
4343
},

0 commit comments

Comments
 (0)