Commit 87dac88 1 parent a14126b commit 87dac88 Copy full SHA for 87dac88
File tree 3 files changed +9
-3
lines changed
3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ export default function Home() {
21
21
22
22
return (
23
23
< >
24
- < div className = "fixed top-0 w-full h-[80px ] z-40 overflow-x-hidden backdrop-blur-md head-5 bg-black/5" />
24
+ < div className = "fixed top-0 w-full h-[130px ] z-40 overflow-x-hidden backdrop-blur-md head-5 bg-black/5" />
25
25
26
26
< Nav />
27
27
< div className = "z-20 relative pt-20 overflow-x-clip 1" >
Original file line number Diff line number Diff line change @@ -7,9 +7,13 @@ export default function ScrollingBanner() {
7
7
const repeatCount = 20 ; // Increase this number to add more repetitions
8
8
9
9
return (
10
- < div className = "bg-gradient-to-b from-transparent from-60% via-redTheme via-75% to-transparent to-90% h-fit text-whiteTheme overflow-hidden py-2" >
10
+ < div
11
+ className = "
12
+ // bg-gradient-to-b from-transparent from-60% via-redTheme via-75% to-transparent to-90%
13
+ bg-redTheme h-fit text-whiteTheme overflow-hidden py-2"
14
+ >
11
15
< motion . div
12
- className = "whitespace-nowrap inline-block mt-20 pb-4 "
16
+ className = "whitespace-nowrap inline-block"
13
17
animate = { {
14
18
x : [ "0%" , "-50%" ] ,
15
19
} }
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ import NavItem from "../navbar/nav-items";
11
11
import RegisterButton from "../navbar/register-button" ;
12
12
import { useRouter } from "next/navigation" ;
13
13
import { Button } from "../ui/button" ;
14
+ import ScrollingBanner from "../common/scrolling-banner" ;
14
15
const Nav = ( ) => {
15
16
const router = useRouter ( ) ;
16
17
gsap . registerPlugin ( ScrollTrigger ) ;
@@ -110,6 +111,7 @@ const Nav = () => {
110
111
return (
111
112
< >
112
113
< header className = "fixed z-[100] left-0 top-0 w-screen" >
114
+ < ScrollingBanner />
113
115
< div className = "header-1 flex md:py-[10px] md:px-[30px] px-[10px] pt-1 justify-between items-center" >
114
116
< div className = "logo" >
115
117
< Link href = "/" >
You can’t perform that action at this time.
0 commit comments