This repository has been archived by the owner on Jul 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* adds blocked page * removes unneeded script tag comments * removes cookies banner from blocked page * adds integrity attr
- Loading branch information
Showing
5 changed files
with
207 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
import type { NextPage } from "next"; | ||
import { Button, Navbar, Box, Text } from "@obolnetwork/obol-ui"; | ||
import Head from "next/head"; | ||
|
||
const Blocked: NextPage = () => { | ||
return ( | ||
<> | ||
<Head> | ||
<style>{` | ||
html, body, #__next { | ||
height: 100%; | ||
margin: 0; | ||
padding: 0; | ||
overflow: hidden; /* Prevents scrolling on the block page */ | ||
} | ||
.navbar-wrapper a { | ||
height: 48px; | ||
} | ||
.navbar-wrapper button { | ||
display: none; | ||
} | ||
`}</style> | ||
<title>Obol - Building Distributed Validators for Ethereum</title> | ||
<meta | ||
name="description" | ||
content="The Obol Network is an ecosystem for trust minimized staking that allows people to create, test, run & co-ordinate distributed validators" | ||
/> | ||
<meta name="title" content="Obol" /> | ||
<link rel="icon" href="/favicon.png" /> | ||
<meta property="og:url" content="https://obol.tech" /> | ||
<meta property="og:type" content="website" /> | ||
<meta | ||
property="og:image" | ||
content="https://obol.tech/assets/og-image-v2.png" | ||
/> | ||
<meta property="og:image:width" content="1200" /> | ||
<meta property="og:image:height" content="630" /> | ||
</Head> | ||
<div className="navbar-wrapper"> | ||
<Navbar /> | ||
</div> | ||
<Box | ||
css={{ | ||
display: "flex", | ||
flexDirection: "column", | ||
justifyContent: "center", | ||
alignItems: "center", | ||
height: "90%", | ||
}} | ||
> | ||
<Box | ||
css={{ | ||
display: "flex", | ||
flexDirection: "column", | ||
justifyContent: "center", | ||
alignItems: "center", | ||
height: "78%", | ||
width: "77%", | ||
background: "url(/backgrounds/mundi.svg) no-repeat center center", // replace with your SVG path | ||
backgroundSize: "cover", | ||
"@md": { | ||
width: "100%", | ||
}, | ||
}} | ||
> | ||
<Text | ||
as="h1" | ||
css={{ | ||
color: "$textLight", | ||
fontSize: "32px", | ||
marginBottom: "16px", | ||
px: "30%", | ||
"@sm": { | ||
px: "10%", | ||
}, | ||
textAlign: "center", | ||
lineHeight: "48px", | ||
}} | ||
> | ||
This link is not currently available in certain geolocations | ||
</Text> | ||
<Text | ||
css={{ | ||
fontSize: "18px", | ||
color: "$body", | ||
marginBottom: "32px", | ||
"@sm": { | ||
px: "10%", | ||
textAlign: "center", | ||
}, | ||
}} | ||
> | ||
You can still learn more about Obol by visiting our website | ||
</Text> | ||
<Button as="a" href="https://obol.tech" css={{ alignSelf: "center" }}> | ||
Obol Website | ||
</Button> | ||
</Box> | ||
</Box> | ||
</> | ||
); | ||
}; | ||
|
||
export default Blocked; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.