Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
</head>
<body>
<header class="hero container">
<img src="robot-placeholder.png" alt="Robot" class="hero-img">
<div class="hero-animation" aria-label="Robot animation"></div>
<h1 class="hero-title">Мастер-класс «Промтинжиниринг»</h1>
<p class="hero-date" id="event-date"></p>
<p class="hero-slogan">Практика применения ИИ в проф. деятельности</p>
Expand All @@ -43,10 +43,10 @@ <h1 class="hero-title">Мастер-класс «Промтинжиниринг
<section class="benefits container">
<h2>Что получите за 1,5&nbsp;ч</h2>
<ul>
<li>Навыки точного формулирования запросов к ИИ</li>
<li>Список топ‑инструментов для работы</li>
<li>Чек‑лист интеграции ИИ в проекты</li>
<li>Разбор реальных кейсов от экспертов</li>
<li><img src="star.svg" alt="" class="list-icon"> Навыки точного формулирования запросов к ИИ</li>
<li><img src="star.svg" alt="" class="list-icon"> Список топ‑инструментов для работы</li>
<li><img src="star.svg" alt="" class="list-icon"> Чек‑лист интеграции ИИ в проекты</li>
<li><img src="star.svg" alt="" class="list-icon"> Разбор реальных кейсов от экспертов</li>
</ul>
</section>

Expand Down Expand Up @@ -85,8 +85,7 @@ <h2>Бонусы</h2>
</section>

<footer class="container">
<button id="theme-toggle" type="button">Тёмная тема</button>
<a class="contact-btn" href="tg://resolve?domain=Step_3D_Mngr">Написать менеджеру Никите</a>
<a class="contact-btn" href="tg://resolve?domain=Step_3D_Mngr"><img src="telegram.svg" alt="" class="telegram-logo">Написать менеджеру Никите</a>
<p class="hashtags">#МЕЧТАЙ #УЧИСЬ #ТВОРИ #ВДОХНОВЛЯЙ</p>
<p>© 2025 ФГБОУ ВО РГСУ</p>
</footer>
Expand Down
7 changes: 0 additions & 7 deletions public/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ const submitBtn = document.getElementById('submit-btn');
const form = document.getElementById('reg-form');
const spinner = document.getElementById('spinner');
const messageEl = document.getElementById('message');
const themeToggle = document.getElementById('theme-toggle');

function formatDate() {
const date = new Date('2025-06-11T19:00:00+03:00');
const options = { weekday: 'long', day: 'numeric', month: 'long' };
Expand Down Expand Up @@ -71,8 +69,3 @@ form.addEventListener('submit', async (e) => {
formatDate();
updateSeats();

themeToggle.addEventListener('click', () => {
const isDark = document.documentElement.dataset.theme === 'dark';
document.documentElement.dataset.theme = isDark ? 'light' : 'dark';
themeToggle.textContent = isDark ? 'Тёмная тема' : 'Светлая тема';
});
1 change: 1 addition & 0 deletions public/star.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 12 additions & 24 deletions public/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,15 @@ header.hero {
padding: 2rem 1rem;
}

.hero-img {
.hero-animation {
border-radius: 50%;
background: conic-gradient(var(--accent), #fff, var(--accent));
animation: spin 4s linear infinite;
width: 120px;
height: 120px;
object-fit: cover;
transition: transform 0.3s ease;

}

.hero-img:hover {
transform: rotate(5deg) scale(1.05);
}

.hero-title {
font-size: 1.5rem;
Expand Down Expand Up @@ -64,6 +63,8 @@ header.hero {
.bonus li {
margin-bottom: 0.5rem;
}
.benefits li { position: relative; padding-left: 28px; }
.list-icon { width: 20px; height: 20px; position: absolute; left: 0; top: 0; animation: pulse 2s infinite; }

form label,
form fieldset {
Expand Down Expand Up @@ -134,6 +135,7 @@ footer {
margin-bottom: 0.5rem;
color: var(--accent);
}
.telegram-logo { width: 1em; vertical-align: middle; margin-right: 0.25rem; }

.primary-btn {
display: inline-block;
Expand All @@ -145,32 +147,18 @@ footer {
border-radius: 4px;
}

#theme-toggle {
background: none;
border: 1px solid var(--accent);
color: var(--accent);
padding: 0.25rem 0.5rem;
margin-bottom: 0.5rem;
cursor: pointer;
}

.hashtags {
font-weight: 700;
}

[data-theme="dark"] {
background: #222;
color: #eee;
}

[data-theme="dark"] footer {
background: #333;
}

[data-theme="dark"] .primary-btn {
background: #4c8cff;
}

@media (min-width: 600px) {
.hero-title { font-size: 2rem; }
}
@keyframes pulse {
0%, 100% { transform: scale(1); opacity: 1; }
50% { transform: scale(1.2); opacity: 0.7; }
}
1 change: 1 addition & 0 deletions public/telegram.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.