[+] New home page
This commit is contained in:
@@ -0,0 +1,29 @@
|
|||||||
|
<template>
|
||||||
|
<div id="NewHome">
|
||||||
|
<canvas id="three"></canvas>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script lang="ts">
|
||||||
|
import {Options, Vue} from 'vue-class-component';
|
||||||
|
import {start} from "@/animation/home";
|
||||||
|
|
||||||
|
@Options({components: {}})
|
||||||
|
export default class NewHome extends Vue
|
||||||
|
{
|
||||||
|
mounted(): void
|
||||||
|
{
|
||||||
|
start('three')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="sass" scoped>
|
||||||
|
#three
|
||||||
|
width: 100vw
|
||||||
|
height: 100vh
|
||||||
|
position: absolute
|
||||||
|
top: 0
|
||||||
|
left: 0
|
||||||
|
z-index: -1
|
||||||
|
</style>
|
||||||
Reference in New Issue
Block a user