2020-11-16 22:26:38 +01:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2020-07-02 21:56:28 +02:00
|
|
|
html {
|
|
|
|
font-size: 0.85rem;
|
|
|
|
}
|
|
|
|
|
2019-07-18 18:33:28 +02:00
|
|
|
#root, body {
|
|
|
|
height: 100%;
|
|
|
|
margin: 0;
|
2020-07-02 21:56:28 +02:00
|
|
|
font-size: inherit;
|
2019-07-18 18:33:28 +02:00
|
|
|
}
|
2020-06-15 17:26:52 +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'
|
2020-05-11 16:30:08 +02:00
|
|
|
|
2020-11-16 22:26:38 +01:00
|
|
|
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
|