tablet height
This commit is contained in:
parent
259dec1df6
commit
673802f304
@ -336,7 +336,7 @@ const Container = styled.main<{$fullHeight: boolean}>`
|
|||||||
display: flex;
|
display: flex;
|
||||||
width: calc(100% - 40px);
|
width: calc(100% - 40px);
|
||||||
max-width: 1228px;
|
max-width: 1228px;
|
||||||
height: 90vh;
|
height: 90dvh;
|
||||||
margin: 40px auto 0;
|
margin: 40px auto 0;
|
||||||
background: ${({ theme }) => theme.colors.white};
|
background: ${({ theme }) => theme.colors.white};
|
||||||
border-radius: ${({ theme }) => theme.radius.page};
|
border-radius: ${({ theme }) => theme.radius.page};
|
||||||
@ -345,7 +345,8 @@ const Container = styled.main<{$fullHeight: boolean}>`
|
|||||||
|
|
||||||
@media (max-width: 900px) {
|
@media (max-width: 900px) {
|
||||||
//flex-direction: column;
|
//flex-direction: column;
|
||||||
height: 90vh;
|
height: 100dvh;
|
||||||
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
${({ theme }) => theme.media.mobile(css<{$fullHeight: boolean}>`
|
${({ theme }) => theme.media.mobile(css<{$fullHeight: boolean}>`
|
||||||
|
|||||||
@ -67,7 +67,7 @@
|
|||||||
|
|
||||||
#page_autobasket {}
|
#page_autobasket {}
|
||||||
#page_autobasket_content {display: flex;flex-direction: column;gap: 64px;}
|
#page_autobasket_content {display: flex;flex-direction: column;gap: 64px;}
|
||||||
#page_autobasket_content_description {text-align: center;}
|
#page_autobasket_content_description {text-align: center;max-width: 1000px;}
|
||||||
#page_autobasket_content_description p {font-size: 24px;color: #4e7067;}
|
#page_autobasket_content_description p {font-size: 24px;color: #4e7067;}
|
||||||
#page_autobasket_images {display: flex;flex-direction: row;gap: 20px;justify-content: center;}
|
#page_autobasket_images {display: flex;flex-direction: row;gap: 20px;justify-content: center;}
|
||||||
#page_autobasket_images div {display: flex;flex-direction: column; gap: 16px;max-width: 387px;text-align: center;align-items: center;}
|
#page_autobasket_images div {display: flex;flex-direction: column; gap: 16px;max-width: 387px;text-align: center;align-items: center;}
|
||||||
@ -303,6 +303,7 @@
|
|||||||
<h2>Автокорзина</h2>
|
<h2>Автокорзина</h2>
|
||||||
<p>Вы выбираете, сколько человек в семье, <wbr/>указываете, на сколько дней нужны <wbr/> <span class="nobreak">продукты — и приложение</span> мгновенно <br class="small"/>собирает корзину с учётом порций.
|
<p>Вы выбираете, сколько человек в семье, <wbr/>указываете, на сколько дней нужны <wbr/> <span class="nobreak">продукты — и приложение</span> мгновенно <br class="small"/>собирает корзину с учётом порций.
|
||||||
<br> На выходе — <span class="nobreak">чёткий список покупок</span>, <br class="small" />разбитый по отделам магазина</p>
|
<br> На выходе — <span class="nobreak">чёткий список покупок</span>, <br class="small" />разбитый по отделам магазина</p>
|
||||||
|
<a href="https://hvatilo.ru/auto_cart.html">Попробовать</a>
|
||||||
</div>
|
</div>
|
||||||
<div id="page_autobasket_images">
|
<div id="page_autobasket_images">
|
||||||
<div>
|
<div>
|
||||||
@ -414,7 +415,7 @@
|
|||||||
<div id="bottom_contacts_big">© 2026 — <a href="mailto:info@hvatilo.ru">info@hvatilo.ru</a> <br></div>
|
<div id="bottom_contacts_big">© 2026 — <a href="mailto:info@hvatilo.ru">info@hvatilo.ru</a> <br></div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<a href="https://hvatilo.ru/app/offer" target="_blank">Пользовательское соглашение</a>
|
<a href="https://hvatilo.ru/land/cookies_and_recommendations.html" target="_blank">Политика конфиденциальности</a>
|
||||||
</div>
|
</div>
|
||||||
<div id="bottom_contacts_small">© 2026 <br>
|
<div id="bottom_contacts_small">© 2026 <br>
|
||||||
<!--ООО «Дорфан»-->
|
<!--ООО «Дорфан»-->
|
||||||
|
|||||||
@ -2,6 +2,7 @@ import { defineConfig } from 'vite';
|
|||||||
import react from '@vitejs/plugin-react';
|
import react from '@vitejs/plugin-react';
|
||||||
import fs from 'node:fs';
|
import fs from 'node:fs';
|
||||||
import JavascriptObfuscator from "javascript-obfuscator";
|
import JavascriptObfuscator from "javascript-obfuscator";
|
||||||
|
import lib from "@minify-html/node";
|
||||||
|
|
||||||
export default defineConfig(({mode}) => ({
|
export default defineConfig(({mode}) => ({
|
||||||
plugins: [
|
plugins: [
|
||||||
@ -27,6 +28,12 @@ export default defineConfig(({mode}) => ({
|
|||||||
fs.writeFileSync('autocart.js', JavascriptObfuscator.obfuscate(fs.readFileSync('dist/autocart.js').toString()
|
fs.writeFileSync('autocart.js', JavascriptObfuscator.obfuscate(fs.readFileSync('dist/autocart.js').toString()
|
||||||
.replace('https://local.hvatilo.ru:8055', 'https://hvatilo.ru')
|
.replace('https://local.hvatilo.ru:8055', 'https://hvatilo.ru')
|
||||||
).getObfuscatedCode());
|
).getObfuscatedCode());
|
||||||
|
fs.writeFileSync('index.html', lib.minify(fs.readFileSync('src_static/index.html'), {
|
||||||
|
minify_css: true,
|
||||||
|
minify_js: true,
|
||||||
|
keep_comments: false,
|
||||||
|
keep_ssi_comments: false,
|
||||||
|
}));
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user