Skip to content

Commit

Permalink
Introduce ENS Cards
Browse files Browse the repository at this point in the history
  • Loading branch information
lucemans committed Jun 24, 2023
1 parent 4e31518 commit a96b44b
Show file tree
Hide file tree
Showing 6 changed files with 105 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@
font-size: 18px;
@apply text-notblack;
}

.font-inter {
font-family: 'Inter', sans-serif;
}
4 changes: 4 additions & 0 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ export default function RootLayout({
name="viewport"
content="width=device-width, initial-scale=1"
/>
<style>
@import
url('https://fonts.googleapis.com/css2?family=Flow+Circular&family=Work+Sans:wght@400;500&display=swap');
</style>
</head>
<body className="w-full min-h-screen">
<NavBar />
Expand Down
27 changes: 27 additions & 0 deletions app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { FiGithub } from 'react-icons/fi';

export default function App() {
return (
<div className="mx-auto flex items-center justify-center px-4 md:px-8">
Expand All @@ -11,6 +13,31 @@ export default function App() {
>
<div className="relative w-full bg-blue-400 col-span-7 row-span-3 rounded-md">
<div className="absolute inset-0 bg-gradient-to-tr from-black/5 to-white/20"></div>
<div className="absolute left-8 top-8 right-8 flex justify-between">
<div className="grow">
<h2 className="text-7xl text-white font-bold font-inter">
ENS Cards
</h2>
<p className="text-2xl text-white font-inter">
Swag Printing w Magical Powers
</p>
</div>
<div className="flex gap-4">
<a
href="https://og.ax"
target="_blank"
className="font-bold px-4 py-2 bg-neutral-50 h-fit rounded-md hover:brightness-105 transition-all duration-200 hover:outline outline-[#1e1e1e]"
>
<FiGithub />
Github
</a>
</div>
</div>
<img
src="/cards.svg"
alt=""
className="absolute bottom-0 left-0 right-0"
/>
</div>
<div className="w-full bg-pink-200 col-span-5 h-[512px] row-span-2 rounded-md" />
<div className="w-full bg-gray-200 h-48 col-span-5 row-span-1 rounded-md" />
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"autoprefixer": "^10.4.14",
"next": "^13.4.6",
"postcss": "^8.4.24",
"react-icons": "^4.10.1",
"tailwindcss": "^3.3.2"
},
"devDependencies": {
Expand Down
11 changes: 11 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

58 changes: 58 additions & 0 deletions public/cards.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a96b44b

Please sign in to comment.