1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-24 20:36:40 +07:00

added rays

This commit is contained in:
muerwre 2019-08-01 04:42:07 +07:00
parent fcfc16c157
commit 754e11cbcc
3 changed files with 6 additions and 3 deletions

View file

@ -117,14 +117,14 @@ export class GodRays extends React.Component<IGodRaysProps> {
width: '100%',
height: '100%',
zIndex: -1,
opacity: 0.5,
opacity: 1,
pointerEvents: 'none',
}}>
<canvas
width={width}
height={height + 100}
style={{
filter: 'blur(20px)',
filter: 'blur(50px)',
position: 'relative',
top: -100,
}}

View file

@ -12,6 +12,7 @@ import { ImageExample } from "~/containers/examples/ImageExample";
import { EditorExample } from "~/containers/examples/EditorExample";
import { HorizontalExample } from "~/containers/examples/HorizontalExample";
import { Sprites } from "~/sprites/Sprites";
import {GodRays} from "~/components/main/GodRays";
interface IAppProps {}
interface IAppState {}
@ -21,6 +22,8 @@ class Component extends React.Component<IAppProps, IAppState> {
return (
<ConnectedRouter history={history}>
<MainLayout>
<GodRays />
<Sprites />
<Switch>

View file

@ -10,7 +10,7 @@
display: flex;
align-items: stretch !important;
justify-content: stretch;
flex: 1;
//flex: 1;
}
.panel {