commit 1b68fa4217c183acafa4fa0ee71fa2b14abb6c8b
Author: root <root@hub.scroll.pub>
Date: 2024-12-25 04:51:15 +0000
Subject: Initial commit
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..73626a9
--- /dev/null
+++ b/README.md
@@ -0,0 +1,2 @@
+# bruh.scroll.pub
+Website generated from prompt: bruh
\ No newline at end of file
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..8426f09
--- /dev/null
+++ b/index.html
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <meta name="description" content="The ultimate bruh moment experience">
+ <meta name="keywords" content="bruh, meme, moment, reaction">
+ <title>BRUH | The Ultimate Moment</title>
+ <link rel="stylesheet" href="style.css">
+</head>
+<body>
+ <main>
+ <section class="hero" id="hero">
+ <h1>BR<span class="highlight">UH</span></h1>
+ <p class="tagline">When words aren't enough</p>
+ <button class="bruh-button" aria-label="Trigger bruh moment">Click for bruh moment</button>
+ </section>
+
+ <section class="moments">
+ <h2>Recent Bruh Moments</h2>
+ <div class="moment-grid">
+ <article class="moment">
+ <h3>Monday</h3>
+ <p>Forgot my keys inside the house</p>
+ </article>
+ <article class="moment">
+ <h3>Tuesday</h3>
+ <p>Replied all to company email</p>
+ </article>
+ <article class="moment">
+ <h3>Wednesday</h3>
+ <p>Put cereal in coffee mug</p>
+ </article>
+ </div>
+ </section>
+ </main>
+
+ <footer>
+ <nav>
+ <a href="#hero">Home</a>
+ <a href="#" class="bruh-count">Bruh Count: 0</a>
+ </nav>
+ </footer>
+ <script src="script.js"></script>
+</body>
+</html>
\ No newline at end of file
diff --git a/script.js b/script.js
new file mode 100644
index 0000000..00417b2
--- /dev/null
+++ b/script.js
@@ -0,0 +1,77 @@
+document.addEventListener('DOMContentLoaded', () => {
+ const bruhButton = document.querySelector('.bruh-button');
+ const bruhCount = document.querySelector('.bruh-count');
+ let count = 0;
+
+ // Create audio context and buffer on first click
+ let audioContext;
+ let audioBuffer;
+
+ async function initAudio() {
+ audioContext = new (window.AudioContext || window.webkitAudioContext)();
+ const oscillator = audioContext.createOscillator();
+ const gainNode = audioContext.createGain();
+
+ oscillator.connect(gainNode);
+ gainNode.connect(audioContext.destination);
+
+ oscillator.frequency.setValueAtTime(150, audioContext.currentTime);
+ gainNode.gain.setValueAtTime(1, audioContext.currentTime);
+ gainNode.gain.exponentialRampToValueAtTime(0.01, audioContext.currentTime + 0.5);
+
+ oscillator.start();
+ oscillator.stop(audioContext.currentTime + 0.5);
+ }
+
+ bruhButton.addEventListener('click', async () => {
+ if (!audioContext) {
+ await initAudio();
+ }
+
+ count++;
+ bruhCount.textContent = `Bruh Count: ${count}`;
+
+ // Visual feedback
+ bruhButton.style.transform = 'scale(0.95)';
+ setTimeout(() => {
+ bruhButton.style.transform = '';
+ }, 100);
+
+ // Create new audio instance
+ initAudio();
+
+ // Add floating "bruh" text
+ const bruh = document.createElement('div');
+ bruh.textContent = 'bruh';
+ bruh.style.cssText = `
+ position: fixed;
+ color: var(--accent);
+ font-size: ${Math.random() * 20 + 20}px;
+ left: ${Math.random() * window.innerWidth}px;
+ top: ${Math.random() * window.innerHeight}px;
+ pointer-events: none;
+ animation: float-away 2s forwards;
+ `;
+ document.body.appendChild(bruh);
+
+ setTimeout(() => {
+ document.body.removeChild(bruh);
+ }, 2000);
+ });
+});
+
+// Add floating animation
+const style = document.createElement('style');
+style.textContent = `
+ @keyframes float-away {
+ 0% {
+ opacity: 1;
+ transform: translateY(0) rotate(0deg);
+ }
+ 100% {
+ opacity: 0;
+ transform: translateY(-100px) rotate(${Math.random() * 360}deg);
+ }
+ }
+`;
+document.head.appendChild(style);
\ No newline at end of file
diff --git a/style.css b/style.css
new file mode 100644
index 0000000..7bb23bc
--- /dev/null
+++ b/style.css
@@ -0,0 +1,129 @@
+:root {
+ --primary: #2a2a2a;
+ --accent: #ff6b6b;
+ --bg: #f5f5f5;
+ --text: #333;
+}
+
+* {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+}
+
+body {
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
+ line-height: 1.6;
+ color: var(--text);
+ background: var(--bg);
+ overflow-x: hidden;
+}
+
+.hero {
+ height: 100vh;
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+ text-align: center;
+ position: relative;
+ background: linear-gradient(135deg, #fff 0%, var(--bg) 100%);
+}
+
+h1 {
+ font-size: clamp(4rem, 15vw, 12rem);
+ font-weight: 900;
+ letter-spacing: -0.05em;
+ color: var(--primary);
+ transform: translateY(-20px);
+ animation: float 6s ease-in-out infinite;
+}
+
+.highlight {
+ color: var(--accent);
+}
+
+.tagline {
+ font-size: clamp(1rem, 3vw, 1.5rem);
+ opacity: 0.8;
+ margin-bottom: 2rem;
+}
+
+.bruh-button {
+ padding: 1rem 2rem;
+ font-size: 1.2rem;
+ border: none;
+ border-radius: 50px;
+ background: var(--accent);
+ color: white;
+ cursor: pointer;
+ transition: transform 0.3s ease, box-shadow 0.3s ease;
+}
+
+.bruh-button:hover {
+ transform: translateY(-2px);
+ box-shadow: 0 10px 20px rgba(0,0,0,0.1);
+}
+
+.moments {
+ padding: 4rem 2rem;
+ background: white;
+}
+
+.moments h2 {
+ text-align: center;
+ margin-bottom: 3rem;
+ font-size: 2rem;
+}
+
+.moment-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
+ gap: 2rem;
+ max-width: 1200px;
+ margin: 0 auto;
+}
+
+.moment {
+ padding: 2rem;
+ background: var(--bg);
+ border-radius: 15px;
+ transition: transform 0.3s ease;
+}
+
+.moment:hover {
+ transform: translateY(-5px);
+}
+
+footer {
+ padding: 2rem;
+ background: var(--primary);
+ color: white;
+}
+
+footer nav {
+ display: flex;
+ justify-content: center;
+ gap: 2rem;
+}
+
+footer a {
+ color: white;
+ text-decoration: none;
+ transition: color 0.3s ease;
+}
+
+footer a:hover {
+ color: var(--accent);
+}
+
+@keyframes float {
+ 0%, 100% { transform: translateY(-20px); }
+ 50% { transform: translateY(0); }
+}
+
+@media (max-width: 768px) {
+ .moment-grid {
+ grid-template-columns: 1fr;
+ }
+}
\ No newline at end of file