...
This commit is contained in:
parent
136ed4702e
commit
8b7c723d87
1
components.d.ts
vendored
1
components.d.ts
vendored
@ -14,5 +14,6 @@ declare module '@vue/runtime-core' {
|
|||||||
RouterView: typeof import('vue-router')['RouterView']
|
RouterView: typeof import('vue-router')['RouterView']
|
||||||
SmallTag: typeof import('./src/components/SmallTag.vue')['default']
|
SmallTag: typeof import('./src/components/SmallTag.vue')['default']
|
||||||
UserCard: typeof import('./src/components/UserCard.vue')['default']
|
UserCard: typeof import('./src/components/UserCard.vue')['default']
|
||||||
|
UserLinksBox: typeof import('./src/components/common/UserLinksBox.vue')['default']
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
<template>
|
<template>
|
||||||
|
|
||||||
<a-layout>
|
<a-layout>
|
||||||
<a-layout-header :style="{ padding: '0px', position: 'fixed', zIndex: 1, width: '100%' }">
|
<a-layout-header :style="{ padding: '0px', position: 'fixed', zIndex: 1, width: '100%' }">
|
||||||
<a-row justify="space-between" align="middle">
|
<a-row justify="space-between" align="middle">
|
||||||
@ -54,6 +53,10 @@ async function login(event) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
async function profile(event) {
|
||||||
|
router.push('profiles');
|
||||||
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang=less>
|
<style lang=less>
|
||||||
|
@ -42,6 +42,10 @@ const routes = [
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: '/profiles',
|
||||||
|
component: () => import(/* webpackChunkName: "profiles" */ '../views/ProfilesView.vue'),
|
||||||
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
const router = createRouter({
|
const router = createRouter({
|
||||||
|
@ -8,7 +8,6 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import gsap from 'gsap';
|
import gsap from 'gsap';
|
||||||
import { onMounted } from "@vue/runtime-core";
|
import { onMounted } from "@vue/runtime-core";
|
||||||
import UserLinksBox from "./common/UserLinksBox.vue";
|
|
||||||
|
|
||||||
onMounted(()=>{
|
onMounted(()=>{
|
||||||
gsap.to(".linkbox", {
|
gsap.to(".linkbox", {
|
||||||
|
10
src/views/ProfilesView.vue
Normal file
10
src/views/ProfilesView.vue
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<template>
|
||||||
|
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script setup>
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="less" scoped>
|
||||||
|
|
||||||
|
</style>
|
@ -49,8 +49,6 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import UserLinksBox from '../common/UserLinksBox.vue';
|
|
||||||
import UserCard from '@/components/UserCard.vue';
|
|
||||||
|
|
||||||
import { useAppStore } from '@/store/app';
|
import { useAppStore } from '@/store/app';
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user