Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delegation button #2

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ const nextConfig = {
optimizeFonts: false,
}

module.exports = nextConfig
module.exports = nextConfig
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@
"postcss": "^8.4.14",
"tailwindcss": "^3.0.24"
}
}
}
2 changes: 1 addition & 1 deletion pages/_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ function MyApp({ Component, pageProps }) {
return <Component {...pageProps} />;
}

export default MyApp;
export default MyApp;
5 changes: 4 additions & 1 deletion pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,10 @@ export default function Home({nouns}) {
<Image src="/nouncil-logo.png" alt="Nouncil" width={408} height={384} layout="responsive" priority />
</div>

<a className="w-full px-8 py-3 mb-8 text-xl text-center text-white transition sm:w-auto hover:bg-opacity-80 bg-noun-red font-nouns rounded-xl sm:mb-20" target="_blank" rel="noreferrer" href="https://form.addressform.io/f/nouncil-apply-for-membership">Apply for Membership</a>
<div className="flex flex-col sm:mb-20">
<a className="sm:w-auto bg-noun-red font-nouns rounded-xl w-full px-8 py-3 mb-8 text-xl text-center text-white transition" target="_blank" rel="noreferrer" href="https://form.addressform.io/f/nouncil-apply-for-membership" id={"link_button"}> Apply for Membership</a>
<a className="sm:w-auto bg-noun-red font-nouns rounded-xl w-full px-8 py-3 mb-8 text-xl text-center text-white transition" target="_blank" rel="noreferrer" href="https://nouns.wtf/delegate?to=0xcC2688350d29623E2A0844Cc8885F9050F0f6Ed5" id={"link_button"}> Delegate to Nouncil</a>
</div>

<div className="grid grid-cols-3 gap-5 px-10 pt-5 pb-10 mb-8 bg-white rounded-2xl lg:grid-cols-8 md:grid-cols-4">
<h2 className="col-span-3 mb-2 text-3xl font-nouns md:text-4xl lg:col-span-8 md:col-span-4">Delegated Nouns ({nouns.data.nouns.length})</h2>
Expand Down
10 changes: 10 additions & 0 deletions styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,13 @@
.rendering-auto { image-rendering: auto; }
.rendering-crisp-edges { image-rendering: crisp-edges; }
.rendering-pixelated { image-rendering: pixelated; }

#link_button:hover {
-webkit-transform: scale(1.075);
transform: scale(1.075);
}

#link_button:active {
-webkit-transform: scale(.92);
transform: scale(.92);
}
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3332,4 +3332,4 @@ yaml@^1.10.2:
yocto-queue@^0.1.0:
version "0.1.0"
resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b"
integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==
integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==