1
Fork 0
photoview/ui/src/App.js

48 lines
898 B
JavaScript
Raw Normal View History

import React from 'react'
2019-07-18 18:33:28 +02:00
import { createGlobalStyle } from 'styled-components'
2020-02-19 22:14:59 +01:00
import { Helmet } from 'react-helmet'
2020-10-26 22:06:53 +01:00
import Routes from './components/routes/Routes'
2019-08-23 00:33:10 +02:00
import Messages from './components/messages/Messages'
2019-07-18 18:33:28 +02:00
const GlobalStyle = createGlobalStyle`
2021-02-04 22:08:32 +01:00
* {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
html {
font-size: 0.85rem;
}
2019-07-18 18:33:28 +02:00
#root, body {
height: 100%;
margin: 0;
font-size: inherit;
2019-07-18 18:33:28 +02:00
}
/* Make dimmer lighter */
.ui.dimmer {
background-color: rgba(0, 0, 0, 0.5);
}
2019-07-18 18:33:28 +02:00
`
2019-07-07 15:54:39 +02:00
2020-10-26 22:06:53 +01:00
import 'semantic-ui-css/semantic.min.css'
const App = () => {
return (
<>
<Helmet>
<meta
name="description"
content="Simple and User-friendly Photo Gallery for Personal Servers"
/>
</Helmet>
<GlobalStyle />
<Routes />
<Messages />
</>
)
2019-07-05 00:36:32 +02:00
}
2019-07-07 15:54:39 +02:00
export default App