parvki
This commit is contained in:
@ -58,14 +58,12 @@ export default function App({ Component, pageProps }: AppProps) {
|
||||
style: {
|
||||
background: '#363636',
|
||||
color: '#fff',
|
||||
marginTop: '80px', // Отступ сверху, чтобы не закрывать кнопки меню
|
||||
},
|
||||
success: {
|
||||
duration: 3000,
|
||||
style: {
|
||||
background: '#22c55e', // Зеленый фон для успешных уведомлений
|
||||
color: '#fff', // Белый текст
|
||||
marginTop: '80px', // Отступ сверху для успешных уведомлений
|
||||
},
|
||||
iconTheme: {
|
||||
primary: '#22c55e',
|
||||
@ -75,7 +73,8 @@ export default function App({ Component, pageProps }: AppProps) {
|
||||
error: {
|
||||
duration: 5000,
|
||||
style: {
|
||||
marginTop: '80px', // Отступ сверху для ошибок
|
||||
background: '#ef4444',
|
||||
color: '#fff',
|
||||
},
|
||||
iconTheme: {
|
||||
primary: '#ef4444',
|
||||
@ -83,6 +82,9 @@ export default function App({ Component, pageProps }: AppProps) {
|
||||
},
|
||||
},
|
||||
}}
|
||||
containerStyle={{
|
||||
top: '80px', // Отступ для всего контейнера toast'ов
|
||||
}}
|
||||
/>
|
||||
<Script src="/js/webflow.js" strategy="beforeInteractive" />
|
||||
<Script
|
||||
|
Reference in New Issue
Block a user