Skip to content

Commit

Permalink
quick adjustments to grants section
Browse files Browse the repository at this point in the history
  • Loading branch information
lassejaco committed Mar 25, 2024
1 parent 31f60ae commit 9e945d1
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 8 deletions.
2 changes: 1 addition & 1 deletion devcon/cms/pages/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ section2:
experience to the whole of Southeast Asia!
button: Devcon 7 Update →
section3:
body: "## **Road to Devcon**\n\n## Are you based in SEA, driven by a community-oriented spirit, and passionate about Ethereum's potential to create a positive impact?\n\nCheck out the Road to Devcon grants round and apply. \LThis initiative was born from our commitment to support the rise of new Ethereum events, grassroots communities, and educational endeavors across Southeast Asia before Devcon 7.\n"
body: "## **Road to Devcon Grants**\n\n## Are you based in SEA, driven by a community-oriented spirit, and passionate about Ethereum's potential to create a positive impact?\n\nCheck out the Road to Devcon grants round and apply. \LThis initiative was born from our commitment to support the rise of new Ethereum events, grassroots communities, and educational endeavors across Southeast Asia before Devcon 7.\n"
button: |
Apply for RTD Grants →
section4:
Expand Down
2 changes: 1 addition & 1 deletion devcon/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ const videos = [

export const RoadToDevconGrants = ({ pages, down }: any) => {
return (
<div className="flex-col md:flex-row flex relative pt-12 gap-8 items-center">
<div className="flex-col md:flex-row flex relative pt-12 gap-8 items-center" data-type="rtd-container">
<div
className={`${css['scrolling-text-background']} ${down ? '' : css['alternate']}`}
data-type="scrolling-background"
Expand Down
8 changes: 8 additions & 0 deletions devcon/src/pages/road-to-devcon.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,14 @@
transparent) !important;
}
}

[data-type="rtd-container"] {
// padding-top: 12px;
img {
max-width: 280px;
}
align-items: flex-start;
}
}

.drag-to-continue {
Expand Down
14 changes: 8 additions & 6 deletions devcon/src/pages/road-to-devcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ const tableColumns: Array<TableColumn> = [
{
title: 'Link',
key: 'Link',
sort: SortVariation.basic,
// sort: SortVariation.basic,
render: item => {
if (!item.Link) return null

Expand All @@ -185,7 +185,7 @@ const tableColumns: Array<TableColumn> = [
title: 'Social',
key: 'Social',
className: '!hidden lg:!flex',
sort: SortVariation.basic,
// sort: SortVariation.basic,
render: item => {
if (!item.Social) return null

Expand Down Expand Up @@ -675,7 +675,7 @@ const EventsTable = React.memo(({ events }: any) => {

<div className="flex border-b border-solid border-[#b9b9b9]">
<p
className={`cursor-pointer hover:font-bold px-2 !pl-0 md:px-4 py-2.5 ${
className={`no-select cursor-pointer hover:font-bold px-2 !pl-0 md:px-4 py-2.5 ${
!includePastEvents ? 'font-bold' : ''
}`}
onClick={() => {
Expand All @@ -686,7 +686,9 @@ const EventsTable = React.memo(({ events }: any) => {
</p>

<p
className={`cursor-pointer hover:font-bold px-2 md:px-4 py-2.5 ${includePastEvents ? 'font-bold' : ''}`}
className={`no-select cursor-pointer hover:font-bold px-2 md:px-4 py-2.5 ${
includePastEvents ? 'font-bold' : ''
}`}
onClick={() => {
setIncludePastEvents(!includePastEvents)
}}
Expand Down Expand Up @@ -863,8 +865,8 @@ export default pageHOC(function RoadToDevcon(props: any) {

<EventsTable events={props.events} />

<div className="" id="grants">
<RoadToDevconGrants pages={grantsPages} down />
<div className="border-t border-solid border-[#b9b9b9]" id="grants">
<RoadToDevconGrants pages={grantsPages} />
</div>
</div>
</Page>
Expand Down

0 comments on commit 9e945d1

Please sign in to comment.