front pages

This commit is contained in:
Kseninia Mikhaylova 2024-05-15 15:14:52 +03:00
parent aa1c3b2149
commit 006b5e3954
6 changed files with 24 additions and 5 deletions

View File

@ -3,6 +3,7 @@ const links = [[
{
label: 'Состояние вендотеков',
icon: 'i-heroicons-credit-card',
to: '/vtk'
},
{ label: 'Офис', to: '/vtk/office' },
{ label: 'Парк', to: '/vtk/park' },
@ -11,6 +12,7 @@ const links = [[
{
label: 'Вебхуки битрикса',
icon: 'i-heroicons-clipboard-document-list',
to: '/bx'
},
{ label: 'Gitea', to: '/bx/gitea' },
{ label: 'Tg', to: '/bx/tg' },

View File

@ -1,7 +1,12 @@
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: { enabled: true },
modules: ["@nuxt/ui"],
modules: ["@nuxt/ui", '@nuxtjs/tailwindcss'],
tailwindcss: {
exposeConfig: true,
viewer: true,
// and more...
},
ssr: false,
devServer: {
port: 3010

View File

@ -1,3 +1,11 @@
<template>
slug
<div>
<p>Для получения уведомлений в тг при пинге в битриксе выполните следующие действия:</p>
<ol class="list-decimal">
<li>Напишите <code class="code">/start</code> боту <NuxtLink class="text-pink-500" :external="true" href="https://t.me/SVSnewsbot"
target="_blank">@SVSnewsbot</NuxtLink>
</li>
</ol>
</div>
</template>

View File

@ -1,3 +1,5 @@
<template>
_index bx
<div class="px-2">
Служебные вещи, которые облегчают работу
</div>
</template>

View File

@ -1,3 +1,5 @@
<template>
_index wtk
<div class="px-2">
Проверка статуса вендотеков
</div>
</template>

View File

@ -20,5 +20,5 @@ requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.taskipy.tasks]
build = "cd front && npm install && npm run generate"
build = "cd front && npm install --production && npm run generate"
start = "uvicorn main:app --reload --host 0.0.0.0 --port 8000"