3 Commits

Author SHA1 Message Date
ramvignesh-b bea9b13249 style: adjust bottom margin of Saajan component image to -6
CI / Generate Certificates (push) Waiting to run
CI / Frontend CI (push) Blocked by required conditions
CI / Backend CI (push) Blocked by required conditions
CI / E2E Tests (push) Blocked by required conditions
2026-05-04 06:46:02 +05:30
ramvignesh-b 84445f16b3 fix: implement scroll-to-top behavior for about navigation 2026-05-04 06:45:56 +05:30
ramvignesh-b fce0b5b539 feat: add navigation to About page on Tell me More button click 2026-05-04 06:33:19 +05:30
4 changed files with 13 additions and 3 deletions
+7 -1
View File
@@ -1,5 +1,11 @@
import { lazy, Suspense, useEffect, useRef } from "react";
import { BrowserRouter, Navigate, Route, Routes } from "react-router-dom";
import {
BrowserRouter,
Navigate,
Route,
Routes,
ScrollRestoration,
} from "react-router-dom";
import { ProtectedRoute, PublicRoute } from "./components/RouteGuards";
import SplashScreen from "./components/SplashScreen";
import { ROUTES } from "./config/routes";
+1 -1
View File
@@ -45,7 +45,7 @@ export default function Saajan({ message, position = "right" }: SaajanProps) {
<img
src={sf_mini}
alt="saajan"
className={`sepia-20 w-35 -mb-3 ${animate ? "animate-[pulse_.5s_ease_2]" : ""}`}
className={`sepia-20 w-35 -mb-6 ${animate ? "animate-[pulse_.5s_ease_2]" : ""}`}
/>
</div>
</div>
+4 -1
View File
@@ -19,7 +19,7 @@ import {
} from "@phosphor-icons/react";
import { ReactLenis } from "lenis/react";
import { AnimatePresence, motion, useScroll, useTransform } from "motion/react";
import { useRef, useState } from "react";
import { useEffect, useRef, useState } from "react";
import stamp from "../assets/envelope/stamp.png";
import Logo from "../components/Logo.tsx";
import { Modal } from "../components/ui/Modal";
@@ -47,6 +47,9 @@ function HorizontalScroll({ children }: { children: React.ReactNode }) {
}
export default function About() {
useEffect(() => {
window.scrollTo(0, 0);
}, []);
return (
<ReactLenis root options={{ lerp: 0.1, duration: 1.5, smoothWheel: true }}>
<div className="flex flex-col">
+1
View File
@@ -285,6 +285,7 @@ export default function Home() {
"md:opacity-50 hover:opacity-100 btn btn-ghost btn-wide md:btn-xl rounded-full font-extralight md:grayscale hover:grayscale-0 hover:-translate-y-1 transition-all duration-1000"
}
type={"button"}
onClick={() => navigate(ROUTES.ABOUT, { replace: true })}
>
<InfoIcon className={"text-primary"} />
Tell me More