Skip to content

Commit

Permalink
feat: update new assets, adjust margins, gap in use cases grid
Browse files Browse the repository at this point in the history
  • Loading branch information
kemuru committed Sep 1, 2024
1 parent 516ce06 commit 418dd1e
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
Binary file modified assets/poster.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 10 additions & 10 deletions components/Display/style.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,29 +5,29 @@
display: flex;
position: relative;
width: 100%;
min-height: calc(748px + (180 * (100vw - 400px) / (560 - 360)));
min-height: calc(780px + (180 * (100vw - 400px) / (560 - 360)));
padding: 0 16px;

&::before {
content: "";
position: absolute;
height: 100%;
width: 100%;
width: 90%;
left: 51%;
transform: translateX(-50%);
margin-top: 392px;
margin-top: 400px;
z-index: -1;
background-image: url("../../assets/poster.png");
background-repeat: no-repeat;
background-size: 100%;
}

@include media.bp("phablet") {
min-height: 920px;
min-height: 840px;

&::before {
height: 600px;
width: 600px;
height: 440px;
width: 440px;
}
}

Expand All @@ -38,14 +38,14 @@
padding: 100px 0 132px 16px;

&::before {
height: 680px;
width: 680px;
height: 600px;
width: 600px;
top: 0;
left: auto;
transform: none;
bottom: auto;
margin-top: 60px;
margin-right: 80px;
margin-top: 48px;
margin-right: 140px;
right: 0;
}
}
Expand Down
2 changes: 1 addition & 1 deletion components/UseCases/style.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-template-rows: repeat(4, 1fr);
gap: 1em;
gap: calc(10px + (6 * (100vw - 400px) / (560 - 400)));
list-style: none;

@include media.bp("tablet-wide") {
Expand Down
4 changes: 2 additions & 2 deletions pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const App: React.FC<AppProps> = ({ Component, pageProps }) => (
/>

<meta
content="https://app.proofofhumanity.id/images/open-graph-image.png"
content="/poh-v2-banner.png"
property="og:image"
/>

Expand All @@ -40,7 +40,7 @@ const App: React.FC<AppProps> = ({ Component, pageProps }) => (
property="x:description"
/>
<meta
content="https://app.proofofhumanity.id/images/open-graph-image.png"
content="/poh-v2-banner.png"
property="x:image"
/>

Expand Down
Binary file removed public/main.webp
Binary file not shown.
Binary file added public/poh-v2-banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 418dd1e

Please sign in to comment.