-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.jsx
44 lines (35 loc) · 939 Bytes
/
index.jsx
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
import { css } from "uebersicht"
export const command = "id -F"
export const refreshFrequency = false
const profileContaienr = css`
display: flex;
align-items: center;
justify-content: center;
width: 100vw;
height: 100vh;
`
const profileInner = css``
const profilePic = css`
width: 100px;
height: 100px;
border-radius: 50%;
border: 5px solid #fff;
margin: auto;
display: block;
box-shadow: 0 3px 6px rgba(0,0,0,0.08), 0 3px 6px rgba(0,0,0,0.12);
`
const profileName = css`
font-family: "Avenir Next";
font-weight: 400;
text-align: center;
color: #fff;
text-shadow: 0 3px 6px rgba(0,0,0,0.08), 0 3px 6px rgba(0,0,0,0.12);
`
export const render = ({ output }) => (
<div className={profileContaienr}>
<div className={profileInner}>
<img className={profilePic} src="/profile.widget/profile.jpg" alt=""/>
<h1 className={profileName}>{output}</h1>
</div>
</div>
)