Skip to content

Commit b505975

Browse files
authored
Merge pull request #112 from smswithoutborders/dev
feat: update Partners section subheader. remove partner descriptions
2 parents 57881b5 + e035b50 commit b505975

3 files changed

Lines changed: 23 additions & 37 deletions

File tree

public/locales/en/translation.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
"Sponsor": {
4747
"Sponsorsub": "Partners",
4848
"SponsorT": "Supporting Organizations",
49-
"Sponsor-subheader": "This Organizations helps keep SMSWithoutBorders afloat",
5049
"sponsorfooter": "Proudly supported by organizations committed to a free and open internet."
5150
},
5251
"footer": {

src/Components/Navbar.js

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -180,25 +180,29 @@ export default function Navbar() {
180180
transition: "all 0.4s cubic-bezier(.4,0,.2,1)",
181181
}}
182182
>
183-
<Box
184-
component="a"
185-
href="/"
186-
sx={{
187-
display: "flex",
188-
alignItems: "center",
189-
gap: 1,
190-
textDecoration: "none",
191-
flexShrink: 0,
192-
"&:hover img": { opacity: 0.85, transition: "opacity 0.2s" },
193-
}}
194-
>
195-
{/* <Box
196-
component="img"
197-
src={isLight ? "/Images/SWOB-Default.png" : "/Images/SWOB-White.png"}
198-
alt="SMSWithoutBorders"
199-
sx={{ height: { xs: 26, md: 30 }, display: "block", transition: "opacity 0.2s" }}
200-
/> */}
201-
</Box>
183+
<Box
184+
component="a"
185+
href="/"
186+
sx={{
187+
display: "flex",
188+
alignItems: "center",
189+
gap: 1,
190+
textDecoration: "none",
191+
flexShrink: 0,
192+
opacity: scrolled ? 1 : 0,
193+
pointerEvents: scrolled ? "auto" : "none",
194+
transform: scrolled ? "translateY(0)" : "translateY(-6px)",
195+
transition: "opacity 0.35s cubic-bezier(.4,0,.2,1), transform 0.35s cubic-bezier(.4,0,.2,1)",
196+
"&:hover img": { opacity: 0.85, transition: "opacity 0.2s" },
197+
}}
198+
>
199+
<Box
200+
component="img"
201+
src={isLight ? "/Images/SWOB-Default.png" : "/Images/SWOB-White.png"}
202+
alt="SMSWithoutBorders"
203+
sx={{ height: { xs: 26, md: 30 }, display: "block", transition: "opacity 0.2s" }}
204+
/>
205+
</Box>
202206

203207
<Box
204208
component="nav"

src/Components/Partner.js

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -270,23 +270,6 @@ export default function Partner() {
270270
{t("Sponsor.SponsorT", { defaultValue: "Supporting Organizations" })}
271271
</Typography>
272272

273-
<Typography
274-
variant="body1"
275-
sx={{
276-
fontFamily: "'Ubuntu', 'Roboto'",
277-
fontWeight: 300,
278-
fontSize: { xs: "1rem", md: "1.1rem" },
279-
color: subColor,
280-
lineHeight: 1.8,
281-
maxWidth: 520,
282-
mx: "auto",
283-
}}
284-
>
285-
{t("Sponsor.Sponsor-subheader", {
286-
defaultValue:
287-
"These organizations help keep SMSWithoutBorders afloat and our mission moving forward.",
288-
})}
289-
</Typography>
290273
</Box>
291274

292275
<Box

0 commit comments

Comments
 (0)