Skip to content

Commit

Permalink
Add Core intro image (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
usame-algan authored Feb 23, 2023
1 parent 95b5299 commit 63eb832
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 4 deletions.
Binary file removed public/images/anim1-placeholder.png
Binary file not shown.
Binary file removed public/images/anim2-placeholder.png
Binary file not shown.
Binary file added public/images/core-chip.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/components/Core/Intro/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ const CoreIntro = ({ title, text, image, link }: BaseBlock) => {
return (
<Container>
<Grid container className={css.container} spacing={{ xs: 6, md: '30px' }} justifyContent="space-between">
<Grid item md={6}>
<img {...image} />
<Grid item md={6} display="flex" justifyContent="center">
<img className={css.coreImage} {...image} />
</Grid>
<Grid item md={6}>
<Typography className={css.title} variant="h1" mb={4}>
Expand Down
5 changes: 5 additions & 0 deletions src/components/Core/Intro/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@
letter-spacing: -0.01em;
}

.coreImage {
width: 450px;
height: auto;
}

@media(min-width: 600px) {
.container {
margin-top: 100px;
Expand Down
4 changes: 2 additions & 2 deletions src/content/core.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"title": "Safe <u>CORE</u> is Account Abstraction",
"text": "Full stack. Ready. Battle Tested. Open Source.",
"image": {
"src": "/images/anim1-placeholder.png",
"alt": "Safe blob 2"
"src": "/images/core-chip.png",
"alt": "Safe Core chip"
},
"link": {
"title": "View documentation",
Expand Down

0 comments on commit 63eb832

Please sign in to comment.