This commit is contained in:
Viet An
2026-06-08 23:13:00 +07:00
parent c1fa84083f
commit 853f969921
26 changed files with 131 additions and 1410 deletions

View File

@@ -1,7 +1,7 @@
<template>
<ClientOnly>
<TopMenu @changetab="changeTab" />
<div class="container blockdiv has-text-text-20">
<TopMenu @changeTab="changeTab" />
<div class="container">
<div
class="mb-2 is-flex is-justify-content-space-between is-align-items-center is-gap-1"
v-if="tab"
@@ -57,14 +57,6 @@
</ClientOnly>
</template>
<script setup>
useHead({
link: [{ rel: "icon", type: "image/x-icon", href: "/favicon.svg" }],
htmlAttrs: {
class: "has-background-blue-100",
style: "min-height: 100vh",
},
});
const { $createMeta, $store, $copy, $id } = useNuxtApp();
const componentMap = {};
const componentKey = ref();
@@ -87,7 +79,7 @@ function changeTab(_tab, _subtab) {
componentMap[vbind.component] = vbind.base || toPascalCase(vbind.component);
componentKey.value = vbind.component;
$store.commit("tabinfo", { tab, subtab, current: currentTab, vbind });
let meta = {
const meta = {
title: currentTab[$store.lang],
image: undefined,
description: "Utopia",
@@ -103,7 +95,7 @@ function refresh() {
}
</script>
<style scoped>
.blockdiv {
.container {
max-width: 1900px !important;
padding: 1rem 2rem 2rem;
@include mobile {