bigger logo

This commit is contained in:
ntr 2019-12-24 18:33:13 +10:00
parent eb645d03b1
commit a7aeaf9557
2 changed files with 3 additions and 3 deletions

View File

@ -289,7 +289,7 @@ li {
} }
.logo { .logo {
height: 2em; height: 4em;
background-image: url("../../assets/mnml.logo.text.svg"); background-image: url("../../assets/mnml.logo.text.svg");
background-size: contain; background-size: contain;
background-repeat: no-repeat; background-repeat: no-repeat;

View File

@ -17,7 +17,7 @@ class Logo extends Component {
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 400 400"> viewBox="0 0 400 400">
<filter id='noiseFilter'> <filter id='noiseFilter'>
<feTurbulence type="turbulence" baseFrequency="0" numOctaves="2" result="turbulence"></feTurbulence> <feTurbulence type="turbulence" baseFrequency="0.5" numOctaves="1" result="turbulence"></feTurbulence>
<feDisplacementMap in2="turbulence" in="SourceGraphic" scale="4" xChannelSelector="R" yChannelSelector="G"></feDisplacementMap> <feDisplacementMap in2="turbulence" in="SourceGraphic" scale="4" xChannelSelector="R" yChannelSelector="G"></feDisplacementMap>
</filter> </filter>
</svg> </svg>
@ -29,7 +29,7 @@ class Logo extends Component {
this.animations.push(anime({ this.animations.push(anime({
targets: ['#noiseFilter feTurbulence', '#noiseFilter feDisplacementMap'], targets: ['#noiseFilter feTurbulence', '#noiseFilter feDisplacementMap'],
baseFrequency: 1, baseFrequency: 1,
easing: 'easeInOutSine', easing: 'linear',
duration: () => anime.random(2000, 5000), duration: () => anime.random(2000, 5000),
loop: true, loop: true,
direction: 'alternate', direction: 'alternate',