Skip to content

Commit

Permalink
feat: include a section in the Homepage to introduce Safenet vision
Browse files Browse the repository at this point in the history
  • Loading branch information
DiogoSoaress committed Dec 3, 2024
1 parent 48ed162 commit 459cd92
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 57 deletions.
Binary file removed public/videos/Home/ownership-hevc.mov
Binary file not shown.
Binary file removed public/videos/Home/ownership-vp9.webm
Binary file not shown.
15 changes: 0 additions & 15 deletions src/components/Home/TextBlockImageManifesto/ManifestoElement.tsx

This file was deleted.

15 changes: 0 additions & 15 deletions src/components/Home/TextBlockImageManifesto/index.tsx

This file was deleted.

18 changes: 0 additions & 18 deletions src/components/Home/TextBlockImageManifesto/styles.module.css

This file was deleted.

16 changes: 16 additions & 0 deletions src/components/Home/TextBlockIntroducingSafenet/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { Box } from '@mui/material'
import TextBlockImage, { type TextBlockImageProps } from '@/components/common/TextBlockImage'

const TextBlockIntroducingSafenet = (props: TextBlockImageProps) => (
<Box mt={{ xs: '-30px', md: 'auto' }}>
<TextBlockImage {...props}>
<video autoPlay muted playsInline loop width="100%" poster="/images/Safenet/globe-poster.png">
<source src="/videos/Safenet/Globe.webm" type="video/webm" />
<source src="/videos/Safenet/Globe.mp4" type="video/mp4" />
<img src="/images/Safenet/globe-poster.png" alt="Safenet globe" />
</video>
</TextBlockImage>
</Box>
)

export default TextBlockIntroducingSafenet
5 changes: 1 addition & 4 deletions src/components/Safenet/Hero/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

.video {
margin-top: -126px;
width: 396px;
}

.backgroundArc {
Expand Down Expand Up @@ -42,10 +43,6 @@
bottom: -420px;
}

.video {
width: 396px;
}

.contentWrapper {
display: flex;
flex-direction: column;
Expand Down
10 changes: 5 additions & 5 deletions src/content/home.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@
"text": "Own the Internet"
},
{
"caption": "Ethereum's transition to Smart Accounts",
"caption": "Introducing Safenet",
"variant": "text-image",
"title": "<i>Safe</i> envisions a future where every onchain account is a <b>smart account</b>",
"title": "<i>Safenet is here to move the world’s GDP onchain</i>",
"buttons": [
{
"text": "Read our vision & roadmap",
"href": "https://safe.global/blog/future-of-safe-vision",
"text": "Read our vision",
"href": "https://safe.global/blog/introducing-safenet",
"variant": "link"
}
],
"mobileVariant": "text-image",
"component": "Home/TextBlockImageManifesto"
"component": "Home/TextBlockIntroducingSafenet"
},
{
"component": "Home/SafeAtScale",
Expand Down

0 comments on commit 459cd92

Please sign in to comment.