Пре альфа макета сайта

This commit is contained in:
Saltan
2026-02-27 15:14:50 +03:00
commit daa80e957e
17 changed files with 1892 additions and 0 deletions

24
.gitignore vendored Normal file
View File

@@ -0,0 +1,24 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*
node_modules
dist
dist-ssr
*.local
# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

3
.vscode/extensions.json vendored Normal file
View File

@@ -0,0 +1,3 @@
{
"recommendations": ["Vue.volar"]
}

5
README.md Normal file
View File

@@ -0,0 +1,5 @@
# Vue 3 + Vite
This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.
Learn more about IDE Support for Vue in the [Vue Docs Scaling up Guide](https://vuejs.org/guide/scaling-up/tooling.html#ide-support).

13
index.html Normal file
View File

@@ -0,0 +1,13 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>buhuchet</title>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.js"></script>
</body>
</html>

1334
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

18
package.json Normal file
View File

@@ -0,0 +1,18 @@
{
"name": "buhuchet",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview"
},
"dependencies": {
"vue": "^3.5.25"
},
"devDependencies": {
"@vitejs/plugin-vue": "^6.0.2",
"vite": "^7.3.1"
}
}

1
public/vite.svg Normal file
View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

37
src/App.vue Normal file
View File

@@ -0,0 +1,37 @@
<template>
<div class="app">
<SiteHeader />
<main class="container">
<TariffCards />
<PriceTable />
<ServicesGrid />
<Footer />
</main>
</div>
</template>
<script setup>
import SiteHeader from './components/SiteHeader.vue'
import TariffCards from './components/TariffCards.vue'
import PriceTable from './components/PriceTable.vue'
import ServicesGrid from './components/ServicesGrid.vue'
import Footer from './components/Footer.vue'
</script>
<style>
body {
margin: 0;
font-family: Arial, sans-serif;
color: #000;
}
.app {
background: #ffd400;
min-height: 100vh;
}
.container {
margin: 0 auto;
padding: 40px 60px 80px;
}
</style>

1
src/assets/vue.svg Normal file
View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="37.07" height="36" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 198"><path fill="#41B883" d="M204.8 0H256L128 220.8L0 0h97.92L128 51.2L157.44 0h47.36Z"></path><path fill="#41B883" d="m0 0l128 220.8L256 0h-51.2L128 132.48L50.56 0H0Z"></path><path fill="#35495E" d="M50.56 0L128 133.12L204.8 0h-47.36L128 51.2L97.92 0H50.56Z"></path></svg>

After

Width:  |  Height:  |  Size: 496 B

80
src/components/Footer.vue Normal file
View File

@@ -0,0 +1,80 @@
<template>
<footer class="footer">
<div class="inner">
<div class="top">
<div class="company">
<div class="logo">LOGO</div>
<p>Удалённое бухгалтерское обслуживание бизнеса по всей России.</p>
</div>
<div class="contacts">
<p><strong>Телефон:</strong> 8 (800) 000-00-00</p>
<p><strong>Email:</strong> info@company.ru</p>
</div>
<div class="social">
<p>Мы в соцсетях</p>
<a href="#" class="tg" target="_blank">
<svg viewBox="0 0 24 24" width="28" height="28">
<path fill="currentColor"
d="M9.04 15.53l-.38 5.34c.54 0 .78-.23 1.07-.5l2.56-2.43 5.3 3.87c.97.54 1.66.26 1.92-.9l3.48-16.33.01-.32c0-.41-.15-.79-.5-.79-.27 0-.68.15-1.17.35L1.6 9.8c-1.13.45-1.12 1.08-.19 1.37l4.9 1.53L18.6 6.1c.58-.37 1.11-.16.68.21"/>
</svg>
</a>
</div>
</div>
<div class="bottom">
<p>© 2026 ООО «Компания». Все права защищены.</p>
<p>Политика конфиденциальности</p>
</div>
</div>
</footer>
</template>
<style scoped>
.footer {
margin-top: 100px;
background: #111;
color: #fff;
padding: 60px 0 30px;
}
.inner {
max-width: 1600px;
margin: 0 auto;
padding: 0 60px;
}
.top {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 40px;
margin-bottom: 40px;
}
.logo {
font-weight: bold;
font-size: 20px;
margin-bottom: 10px;
}
.social a {
color: #fff;
display: inline-flex;
margin-top: 10px;
}
.social a:hover {
color: #ffd400;
}
.bottom {
border-top: 1px solid rgba(255,255,255,0.2);
padding-top: 20px;
display: flex;
justify-content: space-between;
font-size: 14px;
opacity: 0.8;
}
</style>

View File

@@ -0,0 +1,56 @@
<template>
<section class="table-section">
<h2>Сравнение тарифов</h2>
<table>
<thead>
<tr>
<th>Услуга</th>
<th>Тариф 1</th>
<th>Тариф 2</th>
<th>Тариф 3</th>
</tr>
</thead>
<tbody>
<tr>
<td>Сдача отчетности</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>Расчет налогов</td>
<td></td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
</section>
</template>
<style scoped>
.table-section {
width: 100%;
}
h2 {
margin-bottom: 30px;
}
table {
width: 100%;
border-collapse: collapse;
background: #fff;
}
th, td {
border: 1px solid #ddd;
padding: 15px;
text-align: center;
}
th {
background: #f4f4f4;
}
</style>

View File

@@ -0,0 +1,67 @@
<template>
<section class="services">
<div class="grid">
<div class="item" v-for="n in 7" :key="n">
<p class="text">Описание услуги {{ n }}</p>
<div class="icon">
<svg width="40" height="40" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="10" stroke="black" fill="none"/>
<path d="M8 12h8" stroke="black" stroke-width="2"/>
</svg>
</div>
</div>
<div class="item red">
<p class="text">
Давайте обсудим вашу ситуацию с бухгалтерией, это бесплатно :)
</p>
<button>Получить консультацию</button>
</div>
</div>
</section>
</template>
<style scoped>
.services {
margin-top: 80px;
}
.grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 25px;
}
.item {
background: #f2f2f2;
padding: 30px;
border-radius: 10px;
min-height: 200px;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.text {
font-size: 16px;
}
.icon {
margin-top: 20px;
}
.red {
background: #ff4d2f;
color: #fff;
}
.red button {
margin-top: 20px;
padding: 12px;
background: #fff;
color: #000;
border: none;
cursor: pointer;
}
</style>

View File

@@ -0,0 +1,74 @@
<template>
<header class="header">
<div class="inner">
<div class="col left">
<div class="logo">LOGO</div>
</div>
<div class="col center">
<div class="title">Удалённый бухгалтер</div>
<select class="city">
<option>Москва</option>
<option>Санкт-Петербург</option>
<option>Казань</option>
</select>
</div>
<div class="col right">
<div class="phone">8 (800) 000-00-00</div>
</div>
</div>
</header>
</template>
<style scoped>
.header {
padding: 25px 0;
}
.inner {
max-width: 1600px;
margin: 0 auto;
padding: 0 60px;
display: grid;
grid-template-columns: repeat(3, 1fr);
align-items: center;
}
.col {
display: flex;
align-items: center;
}
.left {
justify-content: flex-start;
}
.center {
flex-direction: column;
text-align: center;
}
.right {
justify-content: flex-end;
}
.logo {
font-size: 22px;
font-weight: bold;
}
.title {
font-size: 18px;
font-weight: 600;
}
.city {
margin-top: 6px;
padding: 6px 12px;
}
.phone {
font-weight: 600;
}
</style>

View File

@@ -0,0 +1,89 @@
<template>
<section class="tariffs">
<div class="card" v-for="i in 3" :key="i">
<h2>Тариф {{ i }}</h2>
<div class="columns">
<div>
<h4>Кому подходит</h4>
<p>Малому и среднему бизнесу</p>
</div>
<div>
<h4>Какие задачи решает</h4>
<p>Сдача отчётности, расчёт налогов</p>
</div>
<div>
<h4>Преимущества</h4>
<p>Экономия времени и снижение рисков</p>
</div>
</div>
<div class="price">
1437
<span>в месяц</span>
</div>
<button>Подключить</button>
</div>
</section>
</template>
<style scoped>
.tariffs {
display: flex;
flex-direction: column;
gap: 40px;
justify-content: center;
align-items: center;
}
.card {
background: #fff;
max-width: 1000px;
padding: 50px;
border-radius: 10px;
box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.columns {
display: flex;
justify-content: space-between;
gap: 40px;
margin: 30px 0;
justify-content: center;
align-items: center;
}
.columns h4 {
font-size: 16px;
margin-bottom: 10px;
}
.columns p {
font-size: 15px;
}
.price {
font-size: 40px;
font-weight: bold;
margin-bottom: 20px;
}
.price span {
font-size: 16px;
font-weight: normal;
display: block;
}
button {
padding: 14px 30px;
background: #000;
color: #fff;
border: none;
cursor: pointer;
font-size: 16px;
}
</style>

5
src/main.js Normal file
View File

@@ -0,0 +1,5 @@
import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
createApp(App).mount('#app')

78
src/style.css Normal file
View File

@@ -0,0 +1,78 @@
:root {
font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
line-height: 1.5;
font-weight: 400;
color-scheme: light dark;
color: rgba(255, 255, 255, 0.87);
background-color: #242424;
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
a {
font-weight: 500;
color: #646cff;
text-decoration: inherit;
}
a:hover {
color: #535bf2;
}
body {
margin: 0;
display: flex;
place-items: center;
min-width: 320px;
min-height: 100vh;
}
h1 {
font-size: 3.2em;
line-height: 1.1;
}
button {
border-radius: 8px;
border: 1px solid transparent;
padding: 0.6em 1.2em;
font-size: 1em;
font-weight: 500;
font-family: inherit;
background-color: #1a1a1a;
cursor: pointer;
transition: border-color 0.25s;
}
button:hover {
border-color: #646cff;
}
button:focus,
button:focus-visible {
outline: 4px auto -webkit-focus-ring-color;
}
.card {
padding: 2em;
}
#app {
margin: 0 auto;
padding: 2rem;
text-align: center;
}
@media (prefers-color-scheme: light) {
:root {
color: #213547;
background-color: #ffffff;
}
a:hover {
color: #747bff;
}
button {
background-color: #f9f9f9;
}
}

7
vite.config.js Normal file
View File

@@ -0,0 +1,7 @@
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
// https://vite.dev/config/
export default defineConfig({
plugins: [vue()],
})