-
Notifications
You must be signed in to change notification settings - Fork 0
/
_app.tsx
54 lines (42 loc) · 946 Bytes
/
_app.tsx
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
49
50
51
52
53
54
import React from 'react';
import { createGlobalStyle, ThemeProvider } from 'styled-components';
import '../styles/globals.css'
import Video from '@/components/Video';
import Twitchi from '@/components/Twitchi';
import Footer from '@/components/Footer';
const GlobalStyle = createGlobalStyle`
html,
body {
padding: 0;
margin: 0;
}
body {
background: black;
}
a {
color: inherit;
text-decoration: none;
}
iframe {
width: 100%;
}
* {
box-sizing: border-box;
}
`;
const theme = {
colors: {
primary: '#FF00FF'
}
};
export default function App({ Component, pageProps }) {
return (
<>
<GlobalStyle />
<ThemeProvider theme={theme}>
<Video src="https://player.vimeo.com/external/494532882.hd.mp4?s=ad7ca70b1861433a0ac257cd5965d72db4fd2daf&profile_id=175" />
<Component {...pageProps} />
</ThemeProvider>
</>
);
}