Skip to content

Commit a47444c

Browse files
committed
more iteration on destino support
1 parent d372fe6 commit a47444c

5 files changed

Lines changed: 36 additions & 6 deletions

File tree

devconnect/cms/pages/destino_devconnect.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ destino_devconnect_how_to_apply:
3838
title: What you get
3939
destino_devconnect_how_to_apply_list:
4040
- description: 'Up to $1,000 in scholarships'
41-
- description: Free tickets and discounted for your community or team
41+
- description: 'Free tickets, and discounts for your community or team'
4242
- description: Visibility across Devconnect’s official channels
4343
- description: On-chain certificate as an official EWFren
4444
destino_devconnect_where_to_apply:

devconnect/src/common/components/ba/destino/destino.tsx

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import Guanaco from './images/guanaco.png'
1919
import DestinoLogo from './images/destino-logo.png'
2020
import { Popover, PopoverContent, PopoverTrigger } from 'lib/components/ui/popover'
2121
import css from 'styled-jsx/css'
22+
import Link from 'next/link'
2223

2324
// https://docs.google.com/document/d/1v5vm0fDMS_5L2uDvuwjkahOcoy8-khFKTi3rGOsfQEw/edit?pli=1&tab=t.0#heading=h.3h638filjl7g
2425

@@ -102,7 +103,23 @@ const Destino = ({ content, events }: { content: any; events: any }) => {
102103
<FourthSection content={content} />
103104
</div>
104105

105-
<div className="flex flex-col items-center justify-center gap-16 mb-24 overflow-hidden">
106+
<div className="flex flex-col items-center justify-center gap-4 my-16 mb-24">
107+
<p className="text-white text-xl font-semibold">Ready to become an EWFren? Apply now!</p>
108+
<Link href="https://esp.ethereum.foundation/devcon-grants/apply">
109+
<button
110+
className={cn(
111+
'border-solid border-b-[6px] group px-8 py-2 mt-2 border-[#F58A36] text-[#36364C] text-xl font-semibold bg-[#ffa94e] hover:bg-[#f5a236] transition-colors hover:border-opacity-0',
112+
styles['tiled-button']
113+
)}
114+
>
115+
<div className="group-hover:translate-y-[3px] transition-transform uppercase">
116+
{(globalThis as any).translations.apply_now_tickets || 'Apply For Tickets'}
117+
</div>
118+
</button>
119+
</Link>
120+
</div>
121+
122+
<div className="flex flex-col items-center justify-center gap-0 mb-24 overflow-hidden bg-white/10" id="events">
106123
<HowToApply content={content} />
107124
<EventsList content={content} events={events} />
108125
</div>

devconnect/src/common/components/ba/destino/event-table.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ const EventsTable = React.memo(({ events, pages }: any) => {
198198
<div className="flex justify-between items-center mb-4 gap-2">
199199
{/* <div className="font-bold">Destino Devconnect Events</div> */}
200200

201-
<div className="flex">
201+
{/* <div className="flex">
202202
<p
203203
className={`no-select cursor-pointer px-2 py-2 ${!includePastEvents ? styles['selected-filter'] : ''}`}
204204
onClick={() => {
@@ -226,7 +226,7 @@ const EventsTable = React.memo(({ events, pages }: any) => {
226226
value={search}
227227
onChange={e => setSearch(e.target.value)}
228228
placeholder="Search Events"
229-
/>
229+
/> */}
230230
</div>
231231

232232
<div className="mb-4">{/* <RichText content={pages.events_table}></RichText> */}</div>

devconnect/src/common/components/ba/destino/sections.tsx

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,6 +629,19 @@ export const ExtraSectionAddedLater = () => {
629629
Ethereum World Fair. We prioritize initiatives that have the greatest impact across communities.
630630
</p>
631631
</div>
632+
633+
<Link href="https://esp.ethereum.foundation/devcon-grants/apply">
634+
<button
635+
className={cn(
636+
'border-solid border-b-[6px] group px-8 py-2 mt-2 border-[#F58A36] text-[#36364C] text-xl font-semibold bg-[#ffa94e] hover:bg-[#f5a236] transition-colors hover:border-opacity-0',
637+
styles['tiled-button']
638+
)}
639+
>
640+
<div className="group-hover:translate-y-[3px] transition-transform uppercase">
641+
{(globalThis as any).translations.apply_now_tickets || 'Apply For Tickets'}
642+
</div>
643+
</button>
644+
</Link>
632645
</div>
633646
</div>
634647
</div>
@@ -718,7 +731,7 @@ const TriangleSection = ({ children, aspectRatio = 69 / 20, className }: Triangl
718731

719732
export const EventsList = ({ content, events }: { content: any; events: any }) => {
720733
return (
721-
<div className="section" id="events">
734+
<div className="section">
722735
<div className="flex flex-col items-center justify-center gap-4 ">
723736
<EventsTable events={events} />
724737
</div>

devconnect/src/pages/destino.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ const DestinoPage = ({ content, events }: { content: any; events: any }) => {
6161
return (
6262
<>
6363
<SEO
64-
title="Destino Devconnect Support"
64+
title="Destino Support"
6565
description="Supporting local builders, organizers, and communities to take part in the first Ethereum World Fair in Buenos Aires."
6666
imageUrl={`https://devconnect.org/destino/hero-bg.png`}
6767
/>

0 commit comments

Comments
 (0)