Skip to content

Commit

Permalink
remove example ui and create skeleton pages
Browse files Browse the repository at this point in the history
  • Loading branch information
MattPereira committed Oct 11, 2023
1 parent 3773759 commit 5b2c68d
Show file tree
Hide file tree
Showing 12 changed files with 92 additions and 433 deletions.
22 changes: 11 additions & 11 deletions packages/nextjs/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { useCallback, useRef, useState } from "react";
import Image from "next/image";
import Link from "next/link";
import { useRouter } from "next/router";
import { Bars3Icon, BugAntIcon, MagnifyingGlassIcon, SparklesIcon } from "@heroicons/react/24/outline";
import { Bars3Icon, BugAntIcon, MagnifyingGlassIcon } from "@heroicons/react/24/outline";
import { FaucetButton, RainbowKitCustomConnectButton } from "~~/components/scaffold-eth";
import { useOutsideClick } from "~~/hooks/scaffold-eth";

Expand All @@ -16,7 +16,7 @@ const NavLink = ({ href, children }: { href: string; children: React.ReactNode }
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`}
} hover:bg-secondary hover:shadow-md focus:!bg-secondary active:!text-neutral py-1.5 px-3 text-lg rounded-full gap-2 grid grid-flow-col`}
>
{children}
</Link>
Expand All @@ -37,20 +37,20 @@ export const Header = () => {
const navLinks = (
<>
<li>
<NavLink href="/">Home</NavLink>
<NavLink href="/data-feeds">📈 Data Feeds</NavLink>
</li>
<li>
<NavLink href="/automation">🤖 Automation</NavLink>
</li>
<li>
<NavLink href="/vrf">🎲 VRF</NavLink>
</li>
<li>
<NavLink href="/debug">
<BugAntIcon className="h-4 w-4" />
Debug Contracts
</NavLink>
</li>
<li>
<NavLink href="/example-ui">
<SparklesIcon className="h-4 w-4" />
Example UI
</NavLink>
</li>
<li>
<NavLink href="/blockexplorer">
<MagnifyingGlassIcon className="h-4 w-4" />
Expand Down Expand Up @@ -89,10 +89,10 @@ export const Header = () => {
<div className="flex relative w-10 h-10">
<Image alt="SE2 logo" className="cursor-pointer" fill src="/logo.svg" />
</div>
<div className="flex flex-col">
{/* <div className="flex flex-col">
<span className="font-bold leading-tight">Scaffold-ETH</span>
<span className="text-xs">Ethereum dev stack</span>
</div>
</div> */}
</Link>
<ul className="hidden lg:flex lg:flex-nowrap menu menu-horizontal px-1 gap-2">{navLinks}</ul>
</div>
Expand Down
148 changes: 0 additions & 148 deletions packages/nextjs/components/example-ui/ContractData.tsx

This file was deleted.

91 changes: 0 additions & 91 deletions packages/nextjs/components/example-ui/ContractInteraction.tsx

This file was deleted.

24 changes: 0 additions & 24 deletions packages/nextjs/components/example-ui/assets/CopyIcon.tsx

This file was deleted.

40 changes: 0 additions & 40 deletions packages/nextjs/components/example-ui/assets/DiamondIcon.tsx

This file was deleted.

33 changes: 0 additions & 33 deletions packages/nextjs/components/example-ui/assets/HareIcon.tsx

This file was deleted.

Loading

0 comments on commit 5b2c68d

Please sign in to comment.