diff --git a/packages/nextjs/app/layout.tsx b/packages/nextjs/app/layout.tsx index b8d2d47..070bd62 100644 --- a/packages/nextjs/app/layout.tsx +++ b/packages/nextjs/app/layout.tsx @@ -3,13 +3,19 @@ import { ScaffoldEthAppWithProviders } from "~~/components/ScaffoldEthAppWithPro import { ThemeProvider } from "~~/components/ThemeProvider"; import "~~/styles/globals.css"; import { getMetadata } from "~~/utils/scaffold-eth/getMetadata"; +import { Roboto } from 'next/font/google'; -export const metadata = getMetadata({ title: "Scaffold-ETH 2 App", description: "Built with 🏗 Scaffold-ETH 2" }); +export const metadata = getMetadata({ title: "YouSplit", description: "Splitter contract for YouTube royalties" }); + +const roboto = Roboto({ + subsets: ['latin'], + weight: ['400', '700'], // Regular and Bold +}); const ScaffoldEthApp = ({ children }: { children: React.ReactNode }) => { return ( - - + + {children} diff --git a/packages/nextjs/app/page.tsx b/packages/nextjs/app/page.tsx index fd99b11..e158e9b 100644 --- a/packages/nextjs/app/page.tsx +++ b/packages/nextjs/app/page.tsx @@ -87,9 +87,9 @@ export default function Home() { }; return ( -
+
-

YouSplit

+

YouSplit

@@ -114,7 +114,7 @@ export default function Home() {

Withdrawable Amount: {ethers.formatEther(withdrawableAmount)} ETH

@@ -129,11 +129,11 @@ export default function Home() { onChange={(e) => setRoyaltyAmount(e.target.value)} placeholder="Enter amount in USDC" step="0.000001" - className="w-full mb-2 px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent" + className="w-full mb-2 px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-red-500 focus:border-transparent" /> diff --git a/packages/nextjs/components/Footer.tsx b/packages/nextjs/components/Footer.tsx index 92b3c62..565fca3 100644 --- a/packages/nextjs/components/Footer.tsx +++ b/packages/nextjs/components/Footer.tsx @@ -18,7 +18,7 @@ export const Footer = () => { const isLocalNetwork = targetNetwork.id === hardhat.id; return ( -
+
@@ -46,30 +46,26 @@ export const Footer = () => {
    diff --git a/packages/nextjs/components/Header.tsx b/packages/nextjs/components/Header.tsx index 0981bc9..8cd1745 100644 --- a/packages/nextjs/components/Header.tsx +++ b/packages/nextjs/components/Header.tsx @@ -40,8 +40,8 @@ export const HeaderMenuLinks = () => { href={href} passHref className={`${ - isActive ? "bg-secondary shadow-md" : "" - } hover:bg-secondary hover:shadow-md focus:!bg-secondary active:!text-neutral py-1.5 px-3 text-sm rounded-full gap-2 grid grid-flow-col`} + isActive ? "text-black" : "text-black" + } hover:bg-red-600 hover:text-white hover:shadow-md focus:!bg-red-600 py-1.5 px-3 text-sm rounded-full gap-2 grid grid-flow-col`} > {icon} {label} @@ -91,11 +91,11 @@ export const Header = () => {
- SE2 logo + YouSplit logo
- Scaffold-ETH - Ethereum dev stack + YouSplit + Split YT Royalties
    diff --git a/packages/nextjs/public/YouTube.svg b/packages/nextjs/public/YouTube.svg new file mode 100644 index 0000000..55f1f7b --- /dev/null +++ b/packages/nextjs/public/YouTube.svg @@ -0,0 +1,25 @@ + + + +