Skip to content

Commit bfe1a10

Browse files
ramavatsjohny
andauthored
Update design on society and csp pages (#83)
Co-authored-by: Jan Kraus <16012+johny@users.noreply.github.com>
1 parent ee0ba4d commit bfe1a10

2 files changed

Lines changed: 36 additions & 34 deletions

File tree

components/pages/society/society-start.tsx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,57 +30,57 @@ export const SocietyStart = () => {
3030
</p>
3131
</div>
3232

33-
<div className="my-8 mx-auto grid max-w-6xl grid-cols-3 gap-4 text-center">
34-
<div className="flex flex-col items-center p-4">
33+
<div className="my-8 mx-auto grid max-w-6xl gap-2 text-center sm:grid-cols-2 md:grid-cols-3">
34+
<div className="flex min-h-[13rem] flex-col items-center rounded-lg border-2 border-white border-opacity-0 p-4 transition-all hover:rounded-lg hover:border-white hover:border-opacity-10 hover:bg-grey-800 hover:bg-opacity-20">
3535
<OpenArmLineIcon className="my-4 h-8 w-8 fill-white" />
3636
<p>
3737
Solve problems using the new world of blockchain and currency and collaborate with other
3838
Edgeware experts.
3939
</p>
4040
</div>
4141

42-
<div className="flex flex-col items-center p-4">
42+
<div className="flex min-h-[13rem] flex-col items-center rounded-lg border-2 border-white border-opacity-0 p-4 transition-all hover:rounded-lg hover:border-white hover:border-opacity-10 hover:bg-grey-800 hover:bg-opacity-20">
4343
<FundsLineIcon className="my-4 h-8 w-8 fill-white" />
4444
<p>Request funds from the Treasury to execute your mission.</p>
4545
</div>
4646

47-
<div className="flex flex-col items-center p-4">
47+
<div className="flex min-h-[13rem] flex-col items-center rounded-lg border-2 border-white border-opacity-0 p-4 transition-all hover:rounded-lg hover:border-white hover:border-opacity-10 hover:bg-grey-800 hover:bg-opacity-20">
4848
<EarthLineIcon className="my-4 h-8 w-8 fill-white" />
4949
<p>
5050
Regional groups are designed to drive awareness of the network, research key areas of
5151
interest and solve problems within distinct geographical areas.
5252
</p>
5353
</div>
5454

55-
<div className="flex flex-col items-center p-4">
55+
<div className="flex min-h-[13rem] flex-col items-center rounded-lg border-2 border-white border-opacity-0 p-4 transition-all hover:rounded-lg hover:border-white hover:border-opacity-10 hover:bg-grey-800 hover:bg-opacity-20">
5656
<User4LineIcon className="my-4 h-8 w-8 fill-white" />
5757
<p>Whatever you want, really: Your community is self-determining.</p>
5858
</div>
59-
<div className="flex flex-col items-center p-4">
59+
<div className="flex min-h-[13rem] flex-col items-center rounded-lg border-2 border-white border-opacity-0 p-4 transition-all hover:rounded-lg hover:border-white hover:border-opacity-10 hover:bg-grey-800 hover:bg-opacity-20">
6060
<CompassDiscoverLineIcon className="my-4 h-8 w-8 fill-white" />
6161
<p>
6262
Utilise Commonwealth's open-source interface to organize your group, project or
6363
community initiative.
6464
</p>
6565
</div>
66-
<div className="flex flex-col items-center p-4">
66+
<div className="flex min-h-[13rem] flex-col items-center rounded-lg border-2 border-white border-opacity-0 p-4 transition-all hover:rounded-lg hover:border-white hover:border-opacity-10 hover:bg-grey-800 hover:bg-opacity-20">
6767
<FingerprintFillIcon className="my-4 h-8 w-8 fill-white" />
6868
<p>Identity or Community-based solution groups: Minorities, Social Justice, or others.</p>
6969
</div>
7070

71-
<div className="flex flex-col items-center p-4">
71+
<div className="flex min-h-[13rem] flex-col items-center rounded-lg border-2 border-white border-opacity-0 p-4 transition-all hover:rounded-lg hover:border-white hover:border-opacity-10 hover:bg-grey-800 hover:bg-opacity-20">
7272
<ScalesLineIcon className="my-4 h-8 w-8 fill-white" />
7373
<p>Organize your community into a political power within the network.</p>
7474
</div>
75-
<div className="flex flex-col items-center p-4">
75+
<div className="flex min-h-[13rem] flex-col items-center rounded-lg border-2 border-white border-opacity-0 p-4 transition-all hover:rounded-lg hover:border-white hover:border-opacity-10 hover:bg-grey-800 hover:bg-opacity-20">
7676
<CommandLineIcon className="my-4 h-8 w-8 fill-white" />
7777
<p>
7878
Specific technology applications,
7979
<br />
8080
Privacy for instance.
8181
</p>
8282
</div>
83-
<div className="flex flex-col items-center p-4">
83+
<div className="flex min-h-[13rem] flex-col items-center rounded-lg border-2 border-white border-opacity-0 p-4 transition-all hover:rounded-lg hover:border-white hover:border-opacity-10 hover:bg-grey-800 hover:bg-opacity-20">
8484
<Compass2LineIcon className="my-4 h-8 w-8 fill-white" />
8585
<p>Advance the community of EDG citizens.</p>
8686
</div>

pages/csp.tsx

Lines changed: 26 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -76,30 +76,32 @@ export default function SocietyPage() {
7676
height="600px"
7777
/>
7878
</div>
79-
<p className="my-4 mx-auto max-w-3xl leading-relaxed">
80-
Minted the NFT(s)? Claim your discord role and perks now:{' '}
81-
<a
82-
href="https://discord.gg/uNY622UGh4"
83-
target="_blank"
84-
rel="noopener noreferrer"
85-
className="hover:text-blue-600 text-primary-500 underline"
86-
>
87-
click here
88-
</a>
89-
🤘
90-
</p>
91-
<p className="my-4 mx-auto max-w-3xl leading-relaxed">
92-
To learn more about the Contributors' Support Program, please visit{' '}
93-
<a
94-
href="https://gov.edgewa.re/discussion/12279-contributors-support-program-csp"
95-
target="_blank"
96-
rel="noopener noreferrer"
97-
className="hover:text-blue-600 text-primary-500 underline"
98-
>
99-
the governance forum thread
100-
</a>
101-
.
102-
</p>
79+
<div className="my-4 mx-auto flex max-w-4xl flex-col gap-4 rounded-lg border-2 border-grey-700 border-opacity-50 bg-grey-800 bg-opacity-30 p-5">
80+
<h3 className="text-xl font-bold">Minted the NFT(s)?</h3>
81+
<p className="leading-relaxed">
82+
Claim your discord role and perks now:{' '}
83+
<a
84+
href="https://discord.gg/uNY622UGh4"
85+
target="_blank"
86+
rel="noopener noreferrer"
87+
className="hover:text-blue-600 ml-2 rounded-lg bg-primary-500 px-4 py-1 text-white"
88+
>
89+
click here
90+
</a>
91+
</p>
92+
<p className="leading-relaxed">
93+
To learn more about the Contributors' Support Program, please visit{' '}
94+
<a
95+
href="https://gov.edgewa.re/discussion/12279-contributors-support-program-csp"
96+
target="_blank"
97+
rel="noopener noreferrer"
98+
className="hover:text-blue-600 text-primary-500 underline"
99+
>
100+
the governance forum thread
101+
</a>
102+
.
103+
</p>
104+
</div>
103105
</section>
104106
</>
105107
);

0 commit comments

Comments
 (0)