Skip to content

Commit 9d3508c

Browse files
committed
improve guide UI
1 parent 06e4556 commit 9d3508c

1 file changed

Lines changed: 49 additions & 40 deletions

File tree

  • devconnect/src/pages/form/[name]

devconnect/src/pages/form/[name]/[id].tsx

Lines changed: 49 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1980,51 +1980,51 @@ export default function UpdatePage({ params }: { params?: { name: string; id: st
19801980
</h3>
19811981
<p
19821982
style={{
1983-
margin: '0 0 1.5rem 0',
1983+
margin: '0 0 1rem 0',
19841984
color: '#666',
1985-
fontSize: '1rem',
1985+
fontSize: '1.3rem',
19861986
}}
19871987
>
1988-
Check out our guides for detailed instructions and support.
1988+
<b style={{ color: '#000' }}>⚠️ Don't forget to submit your POAP before the Oct 24th deadline 🗓️</b>
19891989
</p>
19901990
<div style={{ display: 'flex', flexWrap: 'wrap', gap: '1rem', justifyContent: 'center' }}>
1991-
{descriptionLinks['poap creation guide'] && (
1992-
<a
1993-
href={descriptionLinks['poap creation guide']}
1994-
target="_blank"
1995-
rel="noopener noreferrer"
1996-
style={{
1997-
display: 'inline-flex',
1998-
alignItems: 'center',
1999-
gap: '0.5rem',
2000-
padding: '0.75rem 1.5rem',
2001-
backgroundColor: '#968cff',
2002-
color: 'white',
2003-
textDecoration: 'none',
2004-
borderRadius: '6px',
2005-
fontSize: '1rem',
2006-
fontWeight: '500',
2007-
transition: 'background-color 0.2s ease',
2008-
}}
2009-
onMouseEnter={e => {
2010-
e.currentTarget.style.backgroundColor = '#473e6b'
2011-
}}
2012-
onMouseLeave={e => {
2013-
e.currentTarget.style.backgroundColor = '#968cff'
2014-
}}
2015-
>
2016-
<img
2017-
src="https://poap.xyz/apple-touch-icon.png"
2018-
alt=""
2019-
style={{
2020-
width: '20px',
2021-
height: '20px',
2022-
borderRadius: '4px',
2023-
}}
2024-
/>
2025-
<span>POAP Creation Guide</span>
2026-
</a>
2027-
)}
1991+
{descriptionLinks['poap creation guide'] && (
1992+
<a
1993+
href={descriptionLinks['poap creation guide']}
1994+
target="_blank"
1995+
rel="noopener noreferrer"
1996+
style={{
1997+
display: 'inline-flex',
1998+
alignItems: 'center',
1999+
gap: '0.5rem',
2000+
padding: '0.75rem 1.5rem',
2001+
backgroundColor: '#968cff',
2002+
color: 'white',
2003+
textDecoration: 'none',
2004+
borderRadius: '6px',
2005+
fontSize: '1rem',
2006+
fontWeight: '500',
2007+
transition: 'background-color 0.2s ease',
2008+
}}
2009+
onMouseEnter={e => {
2010+
e.currentTarget.style.backgroundColor = '#473e6b'
2011+
}}
2012+
onMouseLeave={e => {
2013+
e.currentTarget.style.backgroundColor = '#968cff'
2014+
}}
2015+
>
2016+
<img
2017+
src="https://poap.xyz/apple-touch-icon.png"
2018+
alt=""
2019+
style={{
2020+
width: '20px',
2021+
height: '20px',
2022+
borderRadius: '4px',
2023+
}}
2024+
/>
2025+
<span>POAP Creation Guide</span>
2026+
</a>
2027+
)}
20282028
{descriptionLinks['supporter quest documentation'] && (
20292029
<a
20302030
href={descriptionLinks['supporter quest documentation']}
@@ -2052,6 +2052,15 @@ export default function UpdatePage({ params }: { params?: { name: string; id: st
20522052
</a>
20532053
)}
20542054
</div>
2055+
<p
2056+
style={{
2057+
margin: '1rem 0 0 0',
2058+
color: '#666',
2059+
fontSize: '1rem',
2060+
}}
2061+
>
2062+
👆 <b>Design template</b> available in the POAP Creation Guide.
2063+
</p>
20552064
</div>
20562065
)}
20572066

0 commit comments

Comments
 (0)