Spaces:
Sleeping
Sleeping
Download index.html from RSBtech/RSBtechHub: direct link, hf CLI and curl.
- Browser
- Download file 5.15 kB
-
https://huggingface.co/spaces/RSBtech/RSBtechHub/resolve/main/index.html
- Command line
-
hf download hf://spaces/RSBtech/RSBtechHub/index.html
-
curl -L -o index.html https://huggingface.co/spaces/RSBtech/RSBtechHub/resolve/main/index.html
5.15 kB
| <html lang="de"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Projekt Bayern Bahn</title> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <style> | |
| body { | |
| margin: 0; | |
| font-family: system-ui, sans-serif; | |
| background: #0b1020; | |
| color: #fff; | |
| } | |
| /* Navigation */ | |
| .navbar { | |
| width: 100%; | |
| background: rgba(0,0,0,0.6); | |
| backdrop-filter: blur(10px); | |
| padding: 12px 20px; | |
| display: flex; | |
| gap: 20px; | |
| border-bottom: 1px solid rgba(5, 255, 5, 0.73); | |
| z-index: 1000; | |
| } | |
| .navbar span { | |
| color: #3aa6ff; | |
| text-decoration: none; | |
| font-weight: 600; | |
| padding: 6px 10px; | |
| border-radius: 6px; | |
| cursor: pointer; | |
| transition: 0.2s; | |
| } | |
| .navbar span:hover { | |
| background: rgba(58,166,255,0.2); | |
| } | |
| .navbar .active { | |
| background: rgba(58,166,255,0.35); | |
| } | |
| /* Sektionen */ | |
| .section { | |
| display: none; | |
| padding: 40px 20px; | |
| max-width: 900px; | |
| margin: auto; | |
| } | |
| .section.active { | |
| display: block; | |
| } | |
| .panel { | |
| background: rgba(255,255,255,0.05); | |
| padding: 20px; | |
| border-radius: 12px; | |
| border: 1px solid rgba(255,255,255,0.1); | |
| } | |
| select { | |
| width: 100%; | |
| padding: 10px; | |
| border-radius: 6px; | |
| border: 1px solid rgba(255,255,255,0.2); | |
| background: rgba(0,0,0,0.4); | |
| color: #fff; | |
| margin-bottom: 15px; | |
| } | |
| .departure { | |
| background: rgba(255,255,255,0.08); | |
| padding: 12px; | |
| border-radius: 8px; | |
| margin-top: 8px; | |
| display: flex; | |
| justify-content: space-between; | |
| } | |
| .line { | |
| font-weight: bold; | |
| color: #3aa6ff; | |
| } | |
| /* Kontaktformular */ | |
| .contact-form { | |
| max-width: 450px; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 12px; | |
| } | |
| .contact-form input, | |
| .contact-form textarea { | |
| padding: 10px; | |
| border-radius: 6px; | |
| border: 1px solid #ccc; | |
| font-size: 1rem; | |
| } | |
| .contact-form button { | |
| padding: 10px; | |
| background: #0078ff; | |
| color: white; | |
| border: none; | |
| border-radius: 6px; | |
| cursor: pointer; | |
| font-size: 1rem; | |
| } | |
| .contact-form button:hover { | |
| background: #005fcc; | |
| } | |
| .status { | |
| margin-top: 10px; | |
| font-size: 0.9rem; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <!-- Navigation --> | |
| <nav class="navbar"> | |
| <span onclick="showSection('home')" class="active">Startseite</span> | |
| <span onclick="showSection('infos')">Infos</span> | |
| <span onclick="showSection('login')">Login</span> | |
| <span onclick="showSection('contact-section')">Kontakt</span> | |
| </nav> | |
| <!-- Startseite --> | |
| <section id="home" class="section active"> | |
| <h1>Willkommen bei RSBtech</h1> | |
| <p>Welcome to RSBtech</p> | |
| </section> | |
| <section id="login" class="section"> | |
| <div class="login-box"> | |
| <h2>Login</h2> | |
| <button id="roblox-login">Mit Roblox einloggen</button> | |
| <h3>Oder E-Mail Login</h3> | |
| <input id="email" type="email" placeholder="E-Mail"> | |
| <input id="password" type="password" placeholder="Passwort"> | |
| <button id="email-login">Login</button> | |
| <button id="email-register">Registrieren</button> | |
| <p id="login-status"></p> | |
| </div> | |
| </section> | |
| <!-- Infos --> | |
| <section id="infos" class="section"> | |
| <h1>Was ist Projekt Bayern Bahn?</h1> | |
| <p>Projekt Bayern Bahn ist ein fiktives Shift-Game in Roblox, welches in Bayern sein Zentrum findet.</p> | |
| <h2>Wie kann ich das Spiel spielen?</h2> | |
| <p>Um dem Spiel beitreten zu können, klicke auf den Button "Game".</p> | |
| <button id="myButton">Gamelink</button> | |
| <div id="message" style="display: none;">Kein Gamelink aktiv...</div> | |
| </section> | |
| <!-- ========================= | |
| SECTION: Kontaktformular | |
| ========================= --> | |
| <section id="contact-section" class="section"> | |
| <h2>Kontakt</h2> | |
| <form id="contactForm" action="/send" method="post" enctype="multipart/form-data" class="contact-form"> | |
| <label for="name">Name</label> | |
| <input type="text" id="name" name="name" required> | |
| <label for="message">Nachricht</label> | |
| <textarea id="message" name="message" rows="15" required></textarea> | |
| <button type="submit">Absenden</button> | |
| <p id="contactStatus" class="status"></p> | |
| </form> | |
| </section> | |
| <section id="credits"> | |
| <p style="text-align: center;"><span style="font-size: 8px;">Webseiten-Ersteller: Eliyas986 | Im Auftrag von Projekt Bayern Bahn 2026</span></p> | |
| </section> | |
| <script> | |
| /* Navigation Logik */ | |
| function showSection(id) { | |
| document.querySelectorAll('.section').forEach(s => s.classList.remove('active')); | |
| document.getElementById(id).classList.add('active'); | |
| document.querySelectorAll('.navbar span').forEach(s => s.classList.remove('active')); | |
| event.target.classList.add('active'); | |
| } | |
| /* Gamelink Button */ | |
| document.getElementById("myButton").addEventListener("click", function() { | |
| const msg = document.getElementById("message"); | |
| msg.style.display = "block"; | |
| setTimeout(() => msg.style.display = "none", 3000); | |
| }); | |
| </script> | |
| </body> | |
| </html> | |