diff --git a/src/app/(routes)/_components/hero-section.tsx b/src/app/(routes)/_components/hero-section.tsx new file mode 100644 index 0000000..16f49b6 --- /dev/null +++ b/src/app/(routes)/_components/hero-section.tsx @@ -0,0 +1,43 @@ +import Image from "next/image"; + +import { Hero } from "../../_components/hero"; +import { Text } from "../../_components/text"; +import { ArrowRightIcon } from "../../_components/icons/arrow-right"; +import landingHeroSrc from "../../_assets/landing-1.png"; +import { INFORMATION_LINKS } from "../../_constants"; + +export function HeroSection() { + return ( + +
+
+ Picture of the author +
+
+ + Interoperability +
+ Powered By{" "} +
+ Intents +
+ + A new paradigm in cross-chain experiences, seamlessly connecting users with + applications. + + + start building +
+ +
+
+
+
+
+ ); +} diff --git a/src/app/(routes)/layout.tsx b/src/app/(routes)/layout.tsx index d7b0c50..349ecd1 100644 --- a/src/app/(routes)/layout.tsx +++ b/src/app/(routes)/layout.tsx @@ -7,7 +7,11 @@ import { Footer } from "@/app/_components/footer"; import "./globals.css"; -const inter = Barlow({ subsets: ["latin"], weight: ["200", "300", "400", "500"] }); +const inter = Barlow({ + subsets: ["latin"], + weight: ["200", "300", "400", "500"], + display: "swap", +}); export const metadata: Metadata = { title: { diff --git a/src/app/(routes)/page.tsx b/src/app/(routes)/page.tsx index 818060d..75f0186 100644 --- a/src/app/(routes)/page.tsx +++ b/src/app/(routes)/page.tsx @@ -1,6 +1,6 @@ import { Metadata } from "next"; -import { Hero } from "@/app/_components/hero"; +import { HeroSection } from "./_components/hero-section"; export const metadata: Metadata = { title: "Home | Across Protocol", @@ -10,9 +10,7 @@ export const metadata: Metadata = { export default function Home() { return (
- -
Home
-
+
); } diff --git a/src/app/_assets/landing-1.png b/src/app/_assets/landing-1.png new file mode 100644 index 0000000..dcda261 Binary files /dev/null and b/src/app/_assets/landing-1.png differ diff --git a/src/app/_components/header-nav/index.tsx b/src/app/_components/header-nav/index.tsx index 026a000..60a16ec 100644 --- a/src/app/_components/header-nav/index.tsx +++ b/src/app/_components/header-nav/index.tsx @@ -96,7 +96,7 @@ export function HeaderNav() { )} /> -
+
Home