Linkify Sia Skynet

This commit is contained in:
PJ 2020-01-28 13:43:05 +01:00
parent e2de464734
commit b2360d5c9e
2 changed files with 12 additions and 4 deletions

View File

@ -1,5 +1,5 @@
/** @jsx jsx */
import { AppBar, Button, Card, CardContent, Container, Input, Tab, Tabs, Typography } from "@material-ui/core";
import { AppBar, Button, Card, CardContent, Container, Input, Link, Tab, Tabs, Typography } from "@material-ui/core";
import * as R from "ramda";
import { useState } from "react";
import { Box, Flex, jsx } from "theme-ui";
@ -28,7 +28,11 @@ const Index = () => {
<Container>
<Flex sx={{ alignItems: "center", height: 120 }}>
<Box>
<Typography sx={{ fontWeight: 700 }}>Sia Skynet</Typography>
<Typography sx={{ fontWeight: 700 }}>
<Link href="/">
Sia Skynet
</Link>
</Typography>
</Box>
<Box sx={{ ml: "auto" }}>
<Button href="/stats">

View File

@ -1,5 +1,5 @@
/** @jsx jsx */
import { Button, CircularProgress, Container, Typography } from "@material-ui/core";
import { Button, CircularProgress, Container, Link, Typography } from "@material-ui/core";
import axios from "axios";
import { useState } from "react";
import { Box, Flex, jsx } from "theme-ui";
@ -60,7 +60,11 @@ const Stats = () => {
<Container>
<Flex sx={{ alignItems: "center", height: 120 }}>
<Box>
<Typography sx={{ fontWeight: 700 }}>Sia Skynet</Typography>
<Typography sx={{ fontWeight: 700 }}>
<Link href="/">
Sia Skynet
</Link>
</Typography>
</Box>
<Box sx={{ ml: "auto" }}>
<Button href="/stats">