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

45 lines
874 B
JavaScript
Raw Normal View History

2019-07-07 15:54:39 +02:00
import React, { Component } 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`
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'
2019-07-05 00:36:32 +02:00
class App extends Component {
render() {
2019-07-18 18:33:28 +02:00
return (
<>
2020-02-19 22:14:59 +01:00
<Helmet>
<meta
name="description"
content="Simple and User-friendly Photo Gallery for Personal Servers"
/>
</Helmet>
2019-07-18 18:33:28 +02:00
<GlobalStyle />
<Routes />
2019-07-20 18:25:15 +02:00
<Messages />
2019-07-18 18:33:28 +02:00
</>
)
2019-07-05 00:36:32 +02:00
}
}
2019-07-07 15:54:39 +02:00
export default App