Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
Hanna committed Nov 17, 2024
1 parent 808f24b commit 6df84b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion admin.html
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ <h4 class="footer__nav-block-title">Контакти</h4>

document.getElementById('loginButton').addEventListener('click', function () {
const password = document.getElementById('password').value;
if (password === '1') { // Змініть на ваш пароль
if (password === 'west-decor') { // Змініть на ваш пароль
localStorage.setItem('isAdminLoggedIn', 'true'); // Зберегти стан входу
document.getElementById('authSection').style.display = 'none';
document.getElementById('adminPanel').style.display = 'block';
Expand Down
2 changes: 1 addition & 1 deletion js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ setInterval(() => {

// Відправлення даних у Telegram
const telegramToken = '7560368551:AAHxWrOZebiC-5-lcxRNF0P3QIxN2SXN-z0'; // Токен вашого Telegram бота
const chatId = '5772059243'; // Ваш Chat ID або ID вашого аккаунта
const chatId = '388700840';

// Додаємо обробник події для форми
const consultationForm = document.getElementById('consultationForm');
Expand Down

0 comments on commit 6df84b3

Please sign in to comment.