diff --git a/src/components/GasStation/Slider/styles.module.css b/src/components/GasStation/Slider/styles.module.css
index f6c227178..c963cb334 100644
--- a/src/components/GasStation/Slider/styles.module.css
+++ b/src/components/GasStation/Slider/styles.module.css
@@ -23,7 +23,6 @@
}
.item {
- margin-left: var(--items-gap);
color: var(--mui-palette-primary-main);
}
diff --git a/src/components/GasStation/TextBlockImagePartners/styles.module.css b/src/components/GasStation/TextBlockImagePartners/styles.module.css
index 058419601..b0782f9d0 100644
--- a/src/components/GasStation/TextBlockImagePartners/styles.module.css
+++ b/src/components/GasStation/TextBlockImagePartners/styles.module.css
@@ -72,7 +72,6 @@
position: absolute;
left: -300px;
top: -200px;
- z-index: -1;
width: 1000px;
height: 1000px;
background-image: radial-gradient(at top left, rgba(18, 255, 128, 0.3) 0%, rgba(246, 247, 248, 0) 50%);
@@ -81,9 +80,8 @@
.spot2 {
position: absolute;
- right: -200px;
+ right: -50px;
top: -250px;
- z-index: -1;
width: 1000px;
height: 1000px;
background-image: radial-gradient(at top right, rgba(41, 182, 246, 0.3) 0%, rgba(246, 247, 248, 0) 50%);
diff --git a/src/components/GasStation/TwitterCTA/index.tsx b/src/components/GasStation/TwitterCTA/index.tsx
index d081861c7..1da5b509d 100644
--- a/src/components/GasStation/TwitterCTA/index.tsx
+++ b/src/components/GasStation/TwitterCTA/index.tsx
@@ -5,8 +5,9 @@ import SafeLink from '@/components/common/SafeLink'
import { xSharingUrl } from '@/lib/xSharingUrl'
import XIcon from '@/public/images/x-icon.svg'
import useCurrentUrl from '@/hooks/useCurrentUrl'
-import css from './styles.module.css'
import Slider from '@/components/GasStation/Slider'
+import clsx from 'clsx'
+import css from './styles.module.css'
const socialMsg = 'Just applied to get gas credits from @safe Safe{Core} gas station ⛽️'
@@ -16,22 +17,28 @@ const TwitterCTA = ({ title, text }: BaseBlock) => {
const xUrl = xSharingUrl(currentUrl, socialMsg)
return (
-
-
- {title}
-
-
-
-
-
+ <>
+
+
+ {title}
+
+
+
+
+
+
-
+ >
)
}
diff --git a/src/components/GasStation/TwitterCTA/styles.module.css b/src/components/GasStation/TwitterCTA/styles.module.css
index 50a79624d..ae65991ca 100644
--- a/src/components/GasStation/TwitterCTA/styles.module.css
+++ b/src/components/GasStation/TwitterCTA/styles.module.css
@@ -16,13 +16,42 @@
gap: 8px;
}
.sliderWrapper {
- width: 100%;
margin-top: 96px;
- margin-bottom: -120px;
+ margin-bottom: -80px;
}
@media (min-width: 600px) {
+ .gradientBase {
+ position: absolute;
+ width: 94px;
+ top: 0;
+ bottom: 0;
+ left: 0;
+ background: linear-gradient(270deg, rgba(18, 19, 18, 0) 0%, var(--mui-palette-background-default) 100%);
+ z-index: 1;
+ }
+
+ .gradientFlipped {
+ left: auto;
+ right: 0;
+ bottom: 0;
+ width: 138px;
+ transform: scaleX(-1);
+ }
+
.title {
max-width: 800px;
}
+
+ .sliderWrapper {
+ position: relative;
+ margin-bottom: -120px;
+ }
+}
+
+@media (min-width: 1440px) {
+ .sliderWrapper {
+ margin-left: -104px;
+ margin-right: -104px;
+ }
}
diff --git a/src/content/gas-station.json b/src/content/gas-station.json
index 0cccd36ad..a30eee6f1 100644
--- a/src/content/gas-station.json
+++ b/src/content/gas-station.json
@@ -47,7 +47,7 @@
},
{
"component": "GasStation/ImageTextTop",
- "title": "Supported network
gas pumps.",
+ "title": "Supported network
gas pumps",
"backgroundImage": {
"sm": "/images/GasStation/network-gas-pump-sm.png",
"md": "/images/GasStation/network-gas-pump-md.png",