mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 03:20:13 +08:00
fix file locations and transfer to ts
This commit is contained in:
1 parent
aa903fbacf
commit
1e31cf3be5
3 files changed
+8
-9
No files matched your search
@@ -1,5 +1,5 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import FileNode from '..FileNode.vue'
|
import FileNode from '../FileNode.vue'
|
||||||
import sessionStore from '../../store/session'
|
import sessionStore from '../../store/session'
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<script setup>
|
<script setup lang="ts">
|
||||||
import { onMounted } from 'vue'
|
import { onMounted } from 'vue'
|
||||||
import { useRouter } from 'vue-router'
|
import { useRouter } from 'vue-router'
|
||||||
import { useToast } from 'vue-toastification'
|
import { useToast } from 'vue-toastification'
|
||||||
@@ -30,7 +30,6 @@ onMounted(async () => {
|
|||||||
try {
|
try {
|
||||||
await loadUserProfile()
|
await loadUserProfile()
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
// toast.error('Failed to load user profile')
|
|
||||||
toast.error('無法讀取使用者資料')
|
toast.error('無法讀取使用者資料')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<script setup>
|
<script setup lang="ts">
|
||||||
import { bugReportUrl } from '../../config'
|
import { bugReportUrl } from '../../config'
|
||||||
|
|
||||||
const scrollToSection = (sectionId) => {
|
const scrollToSection = (sectionId) => {
|
||||||
@@ -17,7 +17,7 @@ const scrollToSection = (sectionId) => {
|
|||||||
<template>
|
<template>
|
||||||
<button
|
<button
|
||||||
id="Intro"
|
id="Intro"
|
||||||
class="text-text inline-block font-bold whitespace-nowrap pt-1 hover:text-text-primary"
|
class="text-text inline-block font-bold whitespace-nowrap pt-1 px-2 hover:text-text-primary"
|
||||||
@click="scrollToSection('intro')"
|
@click="scrollToSection('intro')"
|
||||||
style="font-size: 2vh"
|
style="font-size: 2vh"
|
||||||
>
|
>
|
||||||
@@ -25,14 +25,14 @@ const scrollToSection = (sectionId) => {
|
|||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
id="Feature"
|
id="Feature"
|
||||||
class="text-text inline-block font-bold whitespace-nowrap pt-1 hover:text-text-primary"
|
class="text-text inline-block font-bold whitespace-nowrap pt-1 px-2 hover:text-text-primary"
|
||||||
@click="scrollToSection('feature')"
|
@click="scrollToSection('feature')"
|
||||||
style="font-size: 2vh"
|
style="font-size: 2vh"
|
||||||
>
|
>
|
||||||
特色</button
|
特色</button
|
||||||
><button
|
><button
|
||||||
id="Info"
|
id="Info"
|
||||||
class="text-text inline-block font-bold whitespace-nowrap pt-1 hover:text-text-primary"
|
class="text-text inline-block font-bold whitespace-nowrap pt-1 px-2 hover:text-text-primary"
|
||||||
@click="scrollToSection('about')"
|
@click="scrollToSection('about')"
|
||||||
style="font-size: 2vh"
|
style="font-size: 2vh"
|
||||||
>
|
>
|
||||||
@@ -41,7 +41,7 @@ const scrollToSection = (sectionId) => {
|
|||||||
|
|
||||||
<button
|
<button
|
||||||
id="Contact"
|
id="Contact"
|
||||||
class="text-text inline-block font-bold whitespace-nowrap pt-1 hover:text-text-primary"
|
class="text-text inline-block font-bold whitespace-nowrap pt-1 px-2 hover:text-text-primary"
|
||||||
@click="scrollToSection('contact')"
|
@click="scrollToSection('contact')"
|
||||||
style="font-size: 2vh"
|
style="font-size: 2vh"
|
||||||
>
|
>
|
||||||
@@ -51,7 +51,7 @@ const scrollToSection = (sectionId) => {
|
|||||||
title="Sign In"
|
title="Sign In"
|
||||||
id="SignIn"
|
id="SignIn"
|
||||||
to="/register"
|
to="/register"
|
||||||
class="text-text inline-block font-bold whitespace-nowrap pt-1 hover:text-text-primary"
|
class="text-text inline-block font-bold whitespace-nowrap pt-1 px-2 hover:text-text-primary"
|
||||||
style="font-size: 2vh"
|
style="font-size: 2vh"
|
||||||
>
|
>
|
||||||
登入
|
登入
|
||||||
|
|||||||
Reference in new issue
Block a user