aboutsummaryrefslogtreecommitdiff
path: root/front/src/app.tsx
diff options
context:
space:
mode:
authorStanisław Zagórowski <hasohasacz@gmail.com>2023-10-05 20:52:47 +0200
committerStanisław Zagórowski <hasohasacz@gmail.com>2023-10-05 20:52:47 +0200
commitd6c36c47f855ac3fd998cedc422a6d91ecbf10f8 (patch)
treed18a31c07e3ebfe90f76c57e3194ed05ed63b59f /front/src/app.tsx
parentdfa93f039a8191bd88d6f39f75730803e4bfba8d (diff)
front: awesome background
Diffstat (limited to 'front/src/app.tsx')
-rw-r--r--front/src/app.tsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/front/src/app.tsx b/front/src/app.tsx
index 5ba8e6f..ba081c9 100644
--- a/front/src/app.tsx
+++ b/front/src/app.tsx
@@ -6,6 +6,7 @@ import Home from './pages/home'
import { Router, Route, CustomHistory } from 'preact-router';
import Projects from './pages/projects';
import { HashHistory, createHashHistory } from 'history';
+import { AnimatedBg } from './components/animated_bg';
const hashHistoryAdapter = (hashHistory: HashHistory): CustomHistory => {
return {
@@ -21,6 +22,7 @@ export function App() {
return (
<>
<Navbar />
+ <div class="back-shadows"></div>
<div id="app-main">
<Router history={history}>
<Route path="/" component={Home} />
@@ -28,6 +30,7 @@ export function App() {
<Route path="/games" component={Games} />
<Route path="/projects" component={Projects} />
</Router>
+ <AnimatedBg />
</div>
</>
)