-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRDCProvider.js
48 lines (45 loc) · 1.06 KB
/
RDCProvider.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
import React from "react";
import Helmet from "react-helmet";
import Logo from "./assets/images/logos/rdc-icon.svg";
import Flower from "./assets/images/logos/flower.svg";
const RDCProvider = ({ children, ...props }) => (
<div>
<Helmet>
<link rel="stylesheet" href="https://use.typekit.net/ffz7vta.css" />
<style type="text/css">
{`body {
max-height: 100vh;
max-width: 100vw;
overflow: hidden;
}`}
</style>
</Helmet>
{React.cloneElement(children, props)}
{/* <Logo
width={50}
className="icon"
style={{ position: "absolute", top: -5, left: "4%", zIndex: -1 }}
/> */}
{/* <h1
style={{
position: "absolute",
top: "1%",
left: "6%",
fontFamily: "din-2014",
fontWeight: 400
}}
>
Lab 2: Look Ma, No H(tml)and(CS)s!
</h1> */}
<Flower
width={1200}
style={{
position: "absolute",
bottom: -100,
right: -300,
zIndex: -1
}}
/>
</div>
);
export default RDCProvider;