diff --git a/packages/nextjs/.gitignore b/packages/nextjs/.gitignore index 6985d55..16dad0e 100644 --- a/packages/nextjs/.gitignore +++ b/packages/nextjs/.gitignore @@ -26,6 +26,7 @@ yarn-error.log* .pnpm-debug.log* # local env files +.env .env.local .env.development.local .env.test.local diff --git a/packages/nextjs/components/Footer.tsx b/packages/nextjs/components/Footer.tsx index c6e3ab6..1c8d59a 100644 --- a/packages/nextjs/components/Footer.tsx +++ b/packages/nextjs/components/Footer.tsx @@ -5,7 +5,7 @@ import Image from "next/image"; */ export const Footer = () => { return ( -
+
diff --git a/packages/nextjs/components/Header.tsx b/packages/nextjs/components/Header.tsx index f6e720a..df75733 100644 --- a/packages/nextjs/components/Header.tsx +++ b/packages/nextjs/components/Header.tsx @@ -8,7 +8,7 @@ import TrackedLink from "~~/components/TrackedLink"; */ export const Header = () => { return ( -
+
@@ -16,7 +16,7 @@ export const Header = () => {
-
+
= ({ stats }) => { <> {/* Hero section with header */} -
+
+
-
-

- Learn, build, and thrive on Ethereum -

+
+
+

+ Learn, build, and thrive on Ethereum +

+
+
+
+ + diamon icon +
{/* Star Building on Ethereum */} -
-
+
+

Start Building on Ethereum

    diff --git a/packages/nextjs/public/assets/down-arrow.svg b/packages/nextjs/public/assets/down-arrow.svg new file mode 100644 index 0000000..e24ce79 --- /dev/null +++ b/packages/nextjs/public/assets/down-arrow.svg @@ -0,0 +1,3 @@ + + + diff --git a/packages/nextjs/public/assets/hero.png b/packages/nextjs/public/assets/hero.png index 2b2b347..3f5cdad 100644 Binary files a/packages/nextjs/public/assets/hero.png and b/packages/nextjs/public/assets/hero.png differ diff --git a/packages/nextjs/styles/globals.css b/packages/nextjs/styles/globals.css index fcf5212..7547f52 100644 --- a/packages/nextjs/styles/globals.css +++ b/packages/nextjs/styles/globals.css @@ -17,6 +17,7 @@ html { font-size: 18px; + scroll-behavior: smooth !important; } :root, @@ -54,3 +55,12 @@ p { .btn.btn-ghost { @apply shadow-none; } + +.hero-top-gradient { + background: linear-gradient(180deg, #c3dbff 0%, rgba(217, 235, 229, 0.51) 66.15%, rgba(239, 251, 202, 0) 100%); +} + +.hero-bottom-gradient { + background: linear-gradient(0deg, rgba(24, 34, 50, 0.8) 0%, rgba(255, 255, 255, 0) 100%); + background-blend-mode: multiply; +} diff --git a/packages/nextjs/tailwind.config.js b/packages/nextjs/tailwind.config.js index 60219f4..4e27638 100644 --- a/packages/nextjs/tailwind.config.js +++ b/packages/nextjs/tailwind.config.js @@ -71,6 +71,24 @@ module.exports = { "space-grotesk": ["Space Grotesk", "sans-serif"], "neue-machina": ["PPNeueMachina", "sans-serif"], }, + keyframes: { + "bounce-interval": { + "0%, 12.5%, 25%, 37.5%, 50%": { + transform: "translateY(-25%)", + "animation-timing-function": "cubic-bezier(0.8, 0, 1, 1)", + }, + "6.25%, 18.75%, 31.25%, 43.5%": { + transform: "translateY(0)", + "animation-timing-function": "cubic-bezier(0, 0, 0.2, 1)", + }, + "100%": { + transform: "translateY(-25%)", + }, + }, + }, + animation: { + "bounce-interval": "bounce-interval 10s infinite", + }, }, }, };