From 0a63308b387262196dca45ab48f697bb4a4802f2 Mon Sep 17 00:00:00 2001 From: Hunter Chang <716376+ChangoMan@users.noreply.github.com> Date: Fri, 10 Jan 2025 11:11:25 -0700 Subject: [PATCH] Adding Initial Design (#1) * adding raleway font * clean up providers component * clean up footer * adding components * adding design to homepage * adjust text color based on completion * Adding QR codes to desktop (#2) * adding app store qr codes * adding text to app store icons --- packages/nextjs/app/layout.tsx | 15 +- packages/nextjs/app/page.tsx | 358 ++++++++++++++---- packages/nextjs/components/Container.tsx | 9 + packages/nextjs/components/Footer.tsx | 36 -- packages/nextjs/components/Gradient.tsx | 14 + .../ScaffoldEthAppWithProviders.tsx | 23 +- .../RainbowKitCustomConnectButton/index.tsx | 2 +- packages/nextjs/public/logo-apple-apps.svg | 1 + packages/nextjs/public/logo-google-apps.svg | 1 + packages/nextjs/public/phone-mock.png | Bin 0 -> 216790 bytes packages/nextjs/public/qr-apple-app.svg | 1 + packages/nextjs/public/qr-google-app.svg | 1 + packages/nextjs/styles/globals.css | 5 + packages/nextjs/tailwind.config.js | 36 +- 14 files changed, 343 insertions(+), 159 deletions(-) create mode 100644 packages/nextjs/components/Container.tsx create mode 100644 packages/nextjs/components/Gradient.tsx create mode 100644 packages/nextjs/public/logo-apple-apps.svg create mode 100644 packages/nextjs/public/logo-google-apps.svg create mode 100644 packages/nextjs/public/phone-mock.png create mode 100644 packages/nextjs/public/qr-apple-app.svg create mode 100644 packages/nextjs/public/qr-google-app.svg diff --git a/packages/nextjs/app/layout.tsx b/packages/nextjs/app/layout.tsx index b3b9821..1661d0b 100644 --- a/packages/nextjs/app/layout.tsx +++ b/packages/nextjs/app/layout.tsx @@ -1,9 +1,14 @@ +import { Raleway } from "next/font/google"; import "@rainbow-me/rainbowkit/styles.css"; import { ScaffoldEthAppWithProviders } from "~~/components/ScaffoldEthAppWithProviders"; -import { ThemeProvider } from "~~/components/ThemeProvider"; import "~~/styles/globals.css"; import { getMetadata } from "~~/utils/scaffold-eth/getMetadata"; +const raleway = Raleway({ + subsets: ["latin"], + variable: "--font-raleway", +}); + export const metadata = getMetadata({ title: "Start Ethereum", description: "Start your journey into the world of Ethereum", @@ -11,11 +16,9 @@ export const metadata = getMetadata({ const ScaffoldEthApp = ({ children }: { children: React.ReactNode }) => { return ( - -
-- Your journey into the world of Ethereum starts here. Learn how to use blockchain technology beyond trading - - from setting up your first wallet and signing transactions to exploring decentralized applications.{" "} -
++ Your journey into the world of Ethereum starts here. Learn how to use blockchain technology beyond trading + - from setting up your first wallet and signing transactions to exploring decentralized applications. +
++ + Get Started + +
++ Get A Wallet +
++ Download Rainbow wallet to start your Web3 journey +
+Download Rainbow wallet to start your Web3 journey
- - Download Rainbow - -Connect your wallet to this website
} -Connect Your Wallet
+ {!isConnected && ( +Connect your wallet to this website
+ )} +Try out a simple off-chain signature - no gas fees!
-aX?D(S|?V<%`wsbPE+P
z)vOvWGMWFvznsJ_?FlJIkw#pLPn~F+FWKLCgZ|vXb^Pnqb#{APeLhIgx%etHFffzO
zDtRTsJCz_kSOnVLcHz&K4oxn&EOp7=eZFcF^#zmp35onTWRjE14cA~(HMWEA8mV7r
z&Yq(O&YY!HCS{Uqf$zCjNy@LDkoV^V1O$B8(C5a(_{4rIQwR!AkOqSmlkqauF1<5+
zJC#X0SRhL`m{fV}T0BP4fdkaYQ|WDh3>^bMa_&r}$gVLiNL7}!nE&f~P-tELT#s(0
zgvn0uKI6^J4GH+wxFHRS9yZU|Rt^*9MDGj4#u{}kS2pfE0fRpBmYeK5U0Ge0X3HQ{
zEij^ke9vfIY?w!@ib?&Gq!rCvz0){WB^^a>R->mc>!u*$fncd>1atLb0scMjKdqXf
z({6_^UX4i%b*@<<*ArLoI;RF-)XcZV8t^OYal6{AaufPem)@jZIkyTq`+z9gMzlU?
zjkX=Xe{87|q0Osy(_FsKB2O45c%&xv)Yq<&^DekdDweruLQ54txgKjl!bMP7BxZd1
z5m||tb7p%hX;|7SES6koG^T+6czJ0_g4;To5`XNrqk(q$ggrI^0Rj6HhI|pIn<4qe
z@9+4YAN%SMA6bWbQ%&mK{|LWukO{XZ{3~M$Qi*KM zVI(hL)~hrIqDn$!)go-0@u?zkQUTiDB0{
zARyo#LBXvzr$}3fN7MIVI}mdPw-<7at?jYaQvs4g35&_urA#?@Sh25?M9OW6;KKOR
zm3>O;(>O4;D9fBAb(&&965T}DCV&3V|AqVK7Y|52@mK!zOVn&NwW)$rlWIO5Ke7gP
z^Gs~#ElTQjsdv1(x+Z>3oHin?LH<&*Oj6AuPHosTi!8XD}LFkNqg9P+ds22Mp