From 08f933432d8d7bcae42fd4ed1f03fd6a138884b2 Mon Sep 17 00:00:00 2001 From: lassejaco Date: Tue, 26 Mar 2024 20:15:55 +0100 Subject: [PATCH] slight improvements --- devcon/src/pages/road-to-devcon.module.scss | 13 ++++++----- devcon/src/pages/road-to-devcon.tsx | 24 ++++++++++++--------- 2 files changed, 22 insertions(+), 15 deletions(-) diff --git a/devcon/src/pages/road-to-devcon.module.scss b/devcon/src/pages/road-to-devcon.module.scss index 933efe8dc..1edf32381 100644 --- a/devcon/src/pages/road-to-devcon.module.scss +++ b/devcon/src/pages/road-to-devcon.module.scss @@ -114,12 +114,15 @@ } } - .image { - // @media (max-width: 1024px) { - // left: -60%; - // } - } + .deva-mobile { + @screen md { + opacity: 0.15; + } + @screen lg { + opacity: 1; + } + } .mask-image { @media (max-width: 1024px) { diff --git a/devcon/src/pages/road-to-devcon.tsx b/devcon/src/pages/road-to-devcon.tsx index 7bb069ec9..76932ba23 100644 --- a/devcon/src/pages/road-to-devcon.tsx +++ b/devcon/src/pages/road-to-devcon.tsx @@ -70,7 +70,6 @@ const useIntersectionRatio = (options?: any) => { const observer = new IntersectionObserver(entries => { entries.forEach(entry => { - console.log(entry.intersectionRatio, 'intersection ratio') setIntersectionRatio(entry.intersectionRatio) }) }, observerOptions) @@ -300,7 +299,7 @@ const Hero = (props: any) => {
{/* Desktop version first slide */} -
+
@@ -371,7 +370,7 @@ const Hero = (props: any) => {
{/* Mbbile version first slide */} -
+
Colorful road to devcon header { Deva's signature
-
+
{
-
+

Why Devcon is for You

Devcon is the Ethereum conference for developers, thinkers, and makers. You’ll meet the smartest and @@ -433,9 +432,9 @@ const Hero = (props: any) => {

-
+
{
-
+

What is the Road to Devcon?

@@ -510,7 +509,7 @@ const Hero = (props: any) => {

-
+

Become a leader: Organize an event or start a community

@@ -587,6 +586,11 @@ const EventsTable = React.memo(({ events }: any) => { />
+

+ The Road to Devcon (RTD) is a series of Ethereum events and educational initiatives leading up to Devcon, + organized by the local communities in and near Southeast Asia. +

+