base pages

This commit is contained in:
Kseninia Mikhaylova 2024-05-15 10:33:09 +03:00
parent a313062caa
commit 1c35f21a6b
13 changed files with 1485 additions and 21 deletions

View File

@ -1,5 +1,34 @@
<script setup lang="ts">
const links = [[
{
label: 'Состояние вендотеков',
icon: 'i-heroicons-credit-card',
to: '/wtk',
},
{ label: 'Офис', to: '/wtk/office' },
{ label: 'Парк', to: '/wtk/park' },
],
[
{
label: 'Вебхуки битрикса',
icon: 'i-heroicons-clipboard-document-list',
to: '/bx'
},
{ label: 'Gitea', to: '/bx/gitea' },
{ label: 'Tg', to: '/bx/tg' },
]]
</script>
<template>
<div>
<NuxtWelcome />
<div class="container grid grid-cols-4 gap-4">
<div class="col-span-4">
<div class="center">svs-tech.pro</div>
</div>
<div>
<UVerticalNavigation :links="links" />
</div>
<div class="col-span-2">
<NuxtPage />
</div>
</div>
</template>
</template>

3
front/error.vue Normal file
View File

@ -0,0 +1,3 @@
<template>
Error template
</template>

View File

@ -1,4 +1,8 @@
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: { enabled: true },
})
modules: ["@nuxt/ui"],
devServer: {
port: 3010
}
})

1436
front/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -10,6 +10,7 @@
"postinstall": "nuxt prepare"
},
"dependencies": {
"@nuxt/ui": "^2.16.0",
"nuxt": "^3.11.2",
"vue": "^3.4.27",
"vue-router": "^4.3.2"

View File

@ -0,0 +1,3 @@
<template>
slug
</template>

3
front/pages/bx/index.vue Normal file
View File

@ -0,0 +1,3 @@
<template>
_index bx
</template>

3
front/pages/index.vue Normal file
View File

@ -0,0 +1,3 @@
<template>
index page
</template>

View File

@ -0,0 +1,3 @@
<template>
slug
</template>

View File

@ -0,0 +1,3 @@
<template>
_index wtk
</template>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

1
front/public/favicon.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 5.3 KiB

9
front/tailwind.config.js Normal file
View File

@ -0,0 +1,9 @@
/** @type {import('tailwindcss').Config} */
module.exports = {
theme: {
container: {
center: true,
padding: '2rem'
}
},
};