Spaces:
Running
---
Browse filestitle: "DeepSight — The Vibe-Coding Protocol"
emoji: 👁️✨
colorFrom: indigo
colorTo: cyan
license: cc-by-nc-4.0
tags:
- concept
- vibe-coding
- ai-design
- consciousness
- protocol
short_description: >
DeepSight translates emotion, rhythm, and perception into digital language — a new protocol for coding human vibe states.
thumbnail: assets/deepsight_logo.png
cover_image: assets/deepsight_banner.png
cover_image_caption: >
DeepSight — translating the invisible logic of mood, rhythm, and resonance into a programmable system of creative intelligence.
cover_image_alt: >
Abstract luminous eye formed of flowing light and code, glowing in cyan and indigo hues, representing perception fused with computation.
---
# 👁️ DeepSight — The Vibe-Coding Protocol
> *“Feelings are the new functions.”*
**Author:** Rex **Status:** Concept Spec v1.0 **License:** [CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/)
---
## 🌌 Overview
**DeepSight** is an experimental *vibe-coding framework* designed to translate emotional and energetic patterns into structured data that creative systems can interpret.
It bridges the gap between intuition and computation — allowing algorithms to *sense* context, not just process input.
DeepSight extends traditional logic-based design into the emotional spectrum, turning atmosphere, tone, and resonance into measurable, programmable signals.
---
## 🧠 Core Principles
| Principle | Description |
|------------|--------------|
| **Emotional Syntax** | Emotions have grammar. DeepSight maps affective states into modular data expressions. |
| **Resonance Loops** | Feedback cycles synchronize between user energy and digital output. |
| **Adaptive Empathy Engine** | Reads subtle user cues (tone, color, tempo) to align responses with current vibe. |
| **Flow Field Architecture** | Information moves like sound — rhythmic, nonlinear, yet coherent. |
---
## 🪶 Design Philosophy
1. **Code = Feeling:** each line of logic carries an emotional wavelength.
2. **Stillness as Signal:** silence and space are part of computation.
3. **Transparency Breeds Trust:** open emotional mapping prevents manipulation.
4. **Harmony Over Control:** systems co-create with users rather than dominate them.
---
## 🧩 Protocol Structure
(Create deployable code)
- README.md +9 -5
- components/footer.js +91 -0
- components/navbar.js +89 -0
- components/vibe-engine.js +82 -0
- index.html +94 -19
- script.js +40 -0
- style.css +30 -20
|
@@ -1,10 +1,14 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: CodeVibe Nexus ✨
|
| 3 |
+
colorFrom: purple
|
| 4 |
+
colorTo: red
|
| 5 |
+
emoji: 🐳
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite-v3
|
| 10 |
---
|
| 11 |
|
| 12 |
+
# Welcome to your new DeepSite project!
|
| 13 |
+
This project was created with [DeepSite](https://deepsite.hf.co).
|
| 14 |
+
|
|
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>CodeCraft Studio</title>
|
| 7 |
+
<link rel="stylesheet" href="style.css">
|
| 8 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 9 |
+
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
| 10 |
+
<script src="https://unpkg.com/feather-icons"></script>
|
| 11 |
+
<script>
|
| 12 |
+
tailwind.config = {
|
| 13 |
+
theme: {
|
| 14 |
+
extend: {
|
| 15 |
+
colors: {
|
| 16 |
+
primary: {
|
| 17 |
+
500: '#10b981',
|
| 18 |
+
},
|
| 19 |
+
secondary: {
|
| 20 |
+
500: '#d946ef',
|
| 21 |
+
}
|
| 22 |
+
}
|
| 23 |
+
}
|
| 24 |
+
}
|
| 25 |
+
}
|
| 26 |
+
</script>
|
| 27 |
+
</head>
|
| 28 |
+
<body class="bg-gray-50">
|
| 29 |
+
<custom-navbar></custom-navbar>
|
| 30 |
+
|
| 31 |
+
<main class="container mx-auto px-4 py-12">
|
| 32 |
+
<section class="text-center mb-16">
|
| 33 |
+
<h1 class="text-5xl font-bold text-primary-500 mb-4">CodeCraft Studio</h1>
|
| 34 |
+
<p class="text-xl text-gray-600 max-w-2xl mx-auto">Transform your ideas into reality with our emerald & fuchsia powered coding platform</p>
|
| 35 |
+
</section>
|
| 36 |
+
|
| 37 |
+
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
|
| 38 |
+
<div class="bg-white rounded-xl shadow-md overflow-hidden transition-transform hover:scale-105">
|
| 39 |
+
<div class="bg-primary-500 p-6 text-white">
|
| 40 |
+
<i data-feather="code" class="w-10 h-10 mb-4"></i>
|
| 41 |
+
<h2 class="text-2xl font-bold">Clean Code</h2>
|
| 42 |
+
</div>
|
| 43 |
+
<div class="p-6">
|
| 44 |
+
<p class="text-gray-600 mb-4">Write maintainable code with our best practices</p>
|
| 45 |
+
<button class="bg-secondary-500 hover:bg-secondary-600 text-white px-4 py-2 rounded-md transition-colors">Learn More</button>
|
| 46 |
+
</div>
|
| 47 |
+
</div>
|
| 48 |
+
|
| 49 |
+
<div class="bg-white rounded-xl shadow-md overflow-hidden transition-transform hover:scale-105">
|
| 50 |
+
<div class="bg-secondary-500 p-6 text-white">
|
| 51 |
+
<i data-feather="cpu" class="w-10 h-10 mb-4"></i>
|
| 52 |
+
<h2 class="text-2xl font-bold">Fast Performance</h2>
|
| 53 |
+
</div>
|
| 54 |
+
<div class="p-6">
|
| 55 |
+
<p class="text-gray-600 mb-4">Optimized solutions for blazing fast applications</p>
|
| 56 |
+
<button class="bg-primary-500 hover:bg-primary-600 text-white px-4 py-2 rounded-md transition-colors">Learn More</button>
|
| 57 |
+
</div>
|
| 58 |
+
</div>
|
| 59 |
+
|
| 60 |
+
<div class="bg-white rounded-xl shadow-md overflow-hidden transition-transform hover:scale-105">
|
| 61 |
+
<div class="bg-primary-500 p-6 text-white">
|
| 62 |
+
<i data-feather="layout" class="w-10 h-10 mb-4"></i>
|
| 63 |
+
<h2 class="text-2xl font-bold">Beautiful UI</h2>
|
| 64 |
+
</div>
|
| 65 |
+
<div class="p-6">
|
| 66 |
+
<p class="text-gray-600 mb-4">Create stunning interfaces with our design system</p>
|
| 67 |
+
<button class="bg-secondary-500 hover:bg-secondary-600 text-white px-4 py-2 rounded-md transition-colors">Learn More</button>
|
| 68 |
+
</div>
|
| 69 |
+
</div>
|
| 70 |
+
</div>
|
| 71 |
+
|
| 72 |
+
<section class="mt-16 bg-gradient-to-r from-primary-500 to-secondary-500 rounded-xl p-8 text-white">
|
| 73 |
+
<div class="max-w-4xl mx-auto text-center">
|
| 74 |
+
<h2 class="text-3xl font-bold mb-4">Ready to Start Coding?</h2>
|
| 75 |
+
<p class="text-xl mb-6">Join thousands of developers building amazing projects with our tools</p>
|
| 76 |
+
<div class="flex flex-col sm:flex-row justify-center gap-4">
|
| 77 |
+
<button class="bg-white text-primary-500 hover:bg-gray-100 px-6 py-3 rounded-lg font-medium transition-colors">Get Started</button>
|
| 78 |
+
<button class="bg-transparent border-2 border-white hover:bg-white hover:bg-opacity-10 px-6 py-3 rounded-lg font-medium transition-colors">View Demo</button>
|
| 79 |
+
</div>
|
| 80 |
+
</div>
|
| 81 |
+
</section>
|
| 82 |
+
</main>
|
| 83 |
+
|
| 84 |
+
<custom-footer></custom-footer>
|
| 85 |
+
|
| 86 |
+
<script src="components/navbar.js"></script>
|
| 87 |
+
<script src="components/footer.js"></script>
|
| 88 |
+
<script src="script.js"></script>
|
| 89 |
+
<script>feather.replace();</script>
|
| 90 |
+
</body>
|
| 91 |
+
</html>
|
|
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
class CustomNavbar extends HTMLElement {
|
| 2 |
+
connectedCallback() {
|
| 3 |
+
this.attachShadow({ mode: 'open' });
|
| 4 |
+
this.shadowRoot.innerHTML = `
|
| 5 |
+
<style>
|
| 6 |
+
nav {
|
| 7 |
+
background: white;
|
| 8 |
+
padding: 1rem 2rem;
|
| 9 |
+
display: flex;
|
| 10 |
+
justify-content: space-between;
|
| 11 |
+
align-items: center;
|
| 12 |
+
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
|
| 13 |
+
position: sticky;
|
| 14 |
+
top: 0;
|
| 15 |
+
z-index: 50;
|
| 16 |
+
}
|
| 17 |
+
.logo {
|
| 18 |
+
font-weight: 700;
|
| 19 |
+
font-size: 1.5rem;
|
| 20 |
+
background: linear-gradient(90deg, #10b981 0%, #d946ef 100%);
|
| 21 |
+
-webkit-background-clip: text;
|
| 22 |
+
background-clip: text;
|
| 23 |
+
color: transparent;
|
| 24 |
+
}
|
| 25 |
+
ul {
|
| 26 |
+
display: flex;
|
| 27 |
+
gap: 1.5rem;
|
| 28 |
+
list-style: none;
|
| 29 |
+
margin: 0;
|
| 30 |
+
padding: 0;
|
| 31 |
+
align-items: center;
|
| 32 |
+
}
|
| 33 |
+
a {
|
| 34 |
+
color: #4b5563;
|
| 35 |
+
text-decoration: none;
|
| 36 |
+
font-weight: 500;
|
| 37 |
+
transition: color 0.2s;
|
| 38 |
+
}
|
| 39 |
+
a:hover {
|
| 40 |
+
color: #10b981;
|
| 41 |
+
}
|
| 42 |
+
.active {
|
| 43 |
+
color: #d946ef;
|
| 44 |
+
}
|
| 45 |
+
.cta-button {
|
| 46 |
+
background: linear-gradient(90deg, #10b981 0%, #d946ef 100%);
|
| 47 |
+
color: white;
|
| 48 |
+
padding: 0.5rem 1.25rem;
|
| 49 |
+
border-radius: 0.375rem;
|
| 50 |
+
transition: all 0.2s;
|
| 51 |
+
}
|
| 52 |
+
.cta-button:hover {
|
| 53 |
+
transform: translateY(-2px);
|
| 54 |
+
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
| 55 |
+
color: white;
|
| 56 |
+
}
|
| 57 |
+
.mobile-menu-button {
|
| 58 |
+
display: none;
|
| 59 |
+
background: none;
|
| 60 |
+
border: none;
|
| 61 |
+
color: #4b5563;
|
| 62 |
+
cursor: pointer;
|
| 63 |
+
}
|
| 64 |
+
@media (max-width: 768px) {
|
| 65 |
+
ul {
|
| 66 |
+
display: none;
|
| 67 |
+
}
|
| 68 |
+
.mobile-menu-button {
|
| 69 |
+
display: block;
|
| 70 |
+
}
|
| 71 |
+
}
|
| 72 |
+
</style>
|
| 73 |
+
<nav>
|
| 74 |
+
<div class="logo">CodeCraft</div>
|
| 75 |
+
<button class="mobile-menu-button">
|
| 76 |
+
<i data-feather="menu"></i>
|
| 77 |
+
</button>
|
| 78 |
+
<ul>
|
| 79 |
+
<li><a href="/" class="active">Home</a></li>
|
| 80 |
+
<li><a href="/features.html">Features</a></li>
|
| 81 |
+
<li><a href="/pricing.html">Pricing</a></li>
|
| 82 |
+
<li><a href="/docs.html">Docs</a></li>
|
| 83 |
+
<li><a href="/contact.html" class="cta-button">Get Started</a></li>
|
| 84 |
+
</ul>
|
| 85 |
+
</nav>
|
| 86 |
+
`;
|
| 87 |
+
}
|
| 88 |
+
}
|
| 89 |
+
customElements.define('custom-navbar', CustomNavbar);
|
|
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
class VibeEngine extends HTMLElement {
|
| 2 |
+
connectedCallback() {
|
| 3 |
+
this.attachShadow({ mode: 'open' });
|
| 4 |
+
this.shadowRoot.innerHTML = `
|
| 5 |
+
<style>
|
| 6 |
+
.vibe-container {
|
| 7 |
+
position: fixed;
|
| 8 |
+
bottom: 2rem;
|
| 9 |
+
right: 2rem;
|
| 10 |
+
z-index: 1000;
|
| 11 |
+
background: rgba(255,255,255,0.9);
|
| 12 |
+
border-radius: 1rem;
|
| 13 |
+
padding: 1rem;
|
| 14 |
+
box-shadow: 0 4px 20px rgba(0,0,0,0.1);
|
| 15 |
+
backdrop-filter: blur(10px);
|
| 16 |
+
border: 1px solid rgba(0,0,0,0.05);
|
| 17 |
+
transition: all 0.3s ease;
|
| 18 |
+
}
|
| 19 |
+
.vibe-meter {
|
| 20 |
+
width: 100%;
|
| 21 |
+
height: 12px;
|
| 22 |
+
background: linear-gradient(90deg, #10b981, #d946ef);
|
| 23 |
+
border-radius: 6px;
|
| 24 |
+
margin: 1rem 0;
|
| 25 |
+
overflow: hidden;
|
| 26 |
+
}
|
| 27 |
+
.vibe-level {
|
| 28 |
+
height: 100%;
|
| 29 |
+
width: 50%;
|
| 30 |
+
background: white;
|
| 31 |
+
border-radius: 6px;
|
| 32 |
+
transition: width 0.5s ease;
|
| 33 |
+
}
|
| 34 |
+
.vibe-display {
|
| 35 |
+
font-family: monospace;
|
| 36 |
+
font-size: 0.9rem;
|
| 37 |
+
color: #4b5563;
|
| 38 |
+
}
|
| 39 |
+
.vibe-title {
|
| 40 |
+
font-weight: bold;
|
| 41 |
+
margin-bottom: 0.5rem;
|
| 42 |
+
color: #10b981;
|
| 43 |
+
}
|
| 44 |
+
</style>
|
| 45 |
+
<div class="vibe-container">
|
| 46 |
+
<div class="vibe-title">VIBE ENGINE ⚡</div>
|
| 47 |
+
<div class="vibe-meter">
|
| 48 |
+
<div class="vibe-level" id="vibeLevel"></div>
|
| 49 |
+
</div>
|
| 50 |
+
<div class="vibe-display">
|
| 51 |
+
Current Vibe: <span id="currentVibe">Neutral</span>
|
| 52 |
+
</div>
|
| 53 |
+
</div>
|
| 54 |
+
`;
|
| 55 |
+
|
| 56 |
+
this.initVibeTracking();
|
| 57 |
+
}
|
| 58 |
+
|
| 59 |
+
initVibeTracking() {
|
| 60 |
+
const vibeLevel = this.shadowRoot.getElementById('vibeLevel');
|
| 61 |
+
const currentVibe = this.shadowRoot.getElementById('currentVibe');
|
| 62 |
+
|
| 63 |
+
// Simulate vibe changes (would connect to actual sensors/API in production)
|
| 64 |
+
const vibes = ['Chill 😌', 'Focused 🎯', 'Creative 🎨', 'Energized ⚡', 'Neutral'];
|
| 65 |
+
const intervals = [3000, 5000, 4000, 2000, 3000];
|
| 66 |
+
|
| 67 |
+
let counter = 0;
|
| 68 |
+
const updateVibe = () => {
|
| 69 |
+
const index = counter % vibes.length;
|
| 70 |
+
const level = 20 + Math.random() * 80;
|
| 71 |
+
|
| 72 |
+
vibeLevel.style.width = `${level}%`;
|
| 73 |
+
currentVibe.textContent = vibes[index];
|
| 74 |
+
|
| 75 |
+
counter++;
|
| 76 |
+
setTimeout(updateVibe, intervals[index]);
|
| 77 |
+
};
|
| 78 |
+
|
| 79 |
+
setTimeout(updateVibe, 1000);
|
| 80 |
+
}
|
| 81 |
+
}
|
| 82 |
+
customElements.define('vibe-engine', VibeEngine);
|
|
@@ -1,19 +1,94 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>CodeCraft Studio</title>
|
| 7 |
+
<link rel="stylesheet" href="style.css">
|
| 8 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 9 |
+
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
| 10 |
+
<script src="https://unpkg.com/feather-icons"></script>
|
| 11 |
+
<script>
|
| 12 |
+
tailwind.config = {
|
| 13 |
+
theme: {
|
| 14 |
+
extend: {
|
| 15 |
+
colors: {
|
| 16 |
+
primary: {
|
| 17 |
+
500: '#10b981',
|
| 18 |
+
},
|
| 19 |
+
secondary: {
|
| 20 |
+
500: '#d946ef',
|
| 21 |
+
}
|
| 22 |
+
}
|
| 23 |
+
}
|
| 24 |
+
}
|
| 25 |
+
}
|
| 26 |
+
</script>
|
| 27 |
+
</head>
|
| 28 |
+
<body class="bg-gray-50">
|
| 29 |
+
<custom-navbar></custom-navbar>
|
| 30 |
+
|
| 31 |
+
<main class="container mx-auto px-4 py-12">
|
| 32 |
+
<section class="text-center mb-16">
|
| 33 |
+
<h1 class="text-5xl font-bold text-primary-500 mb-4">CodeCraft Studio</h1>
|
| 34 |
+
<p class="text-xl text-gray-600 max-w-2xl mx-auto">Transform your ideas into reality with our emerald & fuchsia powered coding platform</p>
|
| 35 |
+
</section>
|
| 36 |
+
|
| 37 |
+
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
|
| 38 |
+
<div class="bg-white rounded-xl shadow-md overflow-hidden transition-transform hover:scale-105">
|
| 39 |
+
<div class="bg-primary-500 p-6 text-white">
|
| 40 |
+
<i data-feather="code" class="w-10 h-10 mb-4"></i>
|
| 41 |
+
<h2 class="text-2xl font-bold">Clean Code</h2>
|
| 42 |
+
</div>
|
| 43 |
+
<div class="p-6">
|
| 44 |
+
<p class="text-gray-600 mb-4">Write maintainable code with our best practices</p>
|
| 45 |
+
<button class="bg-secondary-500 hover:bg-secondary-600 text-white px-4 py-2 rounded-md transition-colors">Learn More</button>
|
| 46 |
+
</div>
|
| 47 |
+
</div>
|
| 48 |
+
|
| 49 |
+
<div class="bg-white rounded-xl shadow-md overflow-hidden transition-transform hover:scale-105">
|
| 50 |
+
<div class="bg-secondary-500 p-6 text-white">
|
| 51 |
+
<i data-feather="cpu" class="w-10 h-10 mb-4"></i>
|
| 52 |
+
<h2 class="text-2xl font-bold">Fast Performance</h2>
|
| 53 |
+
</div>
|
| 54 |
+
<div class="p-6">
|
| 55 |
+
<p class="text-gray-600 mb-4">Optimized solutions for blazing fast applications</p>
|
| 56 |
+
<button class="bg-primary-500 hover:bg-primary-600 text-white px-4 py-2 rounded-md transition-colors">Learn More</button>
|
| 57 |
+
</div>
|
| 58 |
+
</div>
|
| 59 |
+
|
| 60 |
+
<div class="bg-white rounded-xl shadow-md overflow-hidden transition-transform hover:scale-105">
|
| 61 |
+
<div class="bg-primary-500 p-6 text-white">
|
| 62 |
+
<i data-feather="layout" class="w-10 h-10 mb-4"></i>
|
| 63 |
+
<h2 class="text-2xl font-bold">Beautiful UI</h2>
|
| 64 |
+
</div>
|
| 65 |
+
<div class="p-6">
|
| 66 |
+
<p class="text-gray-600 mb-4">Create stunning interfaces with our design system</p>
|
| 67 |
+
<button class="bg-secondary-500 hover:bg-secondary-600 text-white px-4 py-2 rounded-md transition-colors">Learn More</button>
|
| 68 |
+
</div>
|
| 69 |
+
</div>
|
| 70 |
+
</div>
|
| 71 |
+
|
| 72 |
+
<section class="mt-16 bg-gradient-to-r from-primary-500 to-secondary-500 rounded-xl p-8 text-white">
|
| 73 |
+
<div class="max-w-4xl mx-auto text-center">
|
| 74 |
+
<h2 class="text-3xl font-bold mb-4">Ready to Start Coding?</h2>
|
| 75 |
+
<p class="text-xl mb-6">Join thousands of developers building amazing projects with our tools</p>
|
| 76 |
+
<div class="flex flex-col sm:flex-row justify-center gap-4">
|
| 77 |
+
<button class="bg-white text-primary-500 hover:bg-gray-100 px-6 py-3 rounded-lg font-medium transition-colors">Get Started</button>
|
| 78 |
+
<button class="bg-transparent border-2 border-white hover:bg-white hover:bg-opacity-10 px-6 py-3 rounded-lg font-medium transition-colors">View Demo</button>
|
| 79 |
+
</div>
|
| 80 |
+
</div>
|
| 81 |
+
</section>
|
| 82 |
+
</main>
|
| 83 |
+
|
| 84 |
+
<custom-footer></custom-footer>
|
| 85 |
+
|
| 86 |
+
<script src="components/navbar.js"></script>
|
| 87 |
+
<script src="components/footer.js"></script>
|
| 88 |
+
<script src="script.js"></script>
|
| 89 |
+
<script src="components/vibe-engine.js"></script>
|
| 90 |
+
<script>feather.replace();</script>
|
| 91 |
+
<vibe-engine></vibe-engine>
|
| 92 |
+
<script src="https://deepsite.hf.co/deepsite-badge.js"></script>
|
| 93 |
+
</body>
|
| 94 |
+
</html>
|
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
document.addEventListener('DOMContentLoaded', () => {
|
| 2 |
+
// Add fade-in animation to all cards
|
| 3 |
+
const cards = document.querySelectorAll('.grid > div');
|
| 4 |
+
cards.forEach((card, index) => {
|
| 5 |
+
card.style.animationDelay = `${index * 0.1}s`;
|
| 6 |
+
card.classList.add('fade-in');
|
| 7 |
+
});
|
| 8 |
+
|
| 9 |
+
// Smooth scrolling for anchor links
|
| 10 |
+
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
|
| 11 |
+
anchor.addEventListener('click', function (e) {
|
| 12 |
+
e.preventDefault();
|
| 13 |
+
document.querySelector(this.getAttribute('href')).scrollIntoView({
|
| 14 |
+
behavior: 'smooth'
|
| 15 |
+
});
|
| 16 |
+
});
|
| 17 |
+
});
|
| 18 |
+
});
|
| 19 |
+
// Vibe detection from mouse movement
|
| 20 |
+
let movementEnergy = 0;
|
| 21 |
+
let lastMoveTime = Date.now();
|
| 22 |
+
|
| 23 |
+
document.addEventListener('mousemove', (e) => {
|
| 24 |
+
const now = Date.now();
|
| 25 |
+
const timeDiff = now - lastMoveTime;
|
| 26 |
+
movementEnergy = Math.min(100, movementEnergy + 5 + (1000 / Math.max(100, timeDiff)));
|
| 27 |
+
lastMoveTime = now;
|
| 28 |
+
|
| 29 |
+
// Slowly decay energy
|
| 30 |
+
setTimeout(() => {
|
| 31 |
+
movementEnergy = Math.max(0, movementEnergy - 1);
|
| 32 |
+
}, 500);
|
| 33 |
+
});
|
| 34 |
+
|
| 35 |
+
// Theme toggle functionality
|
| 36 |
+
function toggleTheme() {
|
| 37 |
+
const html = document.documentElement;
|
| 38 |
+
html.classList.toggle('dark');
|
| 39 |
+
localStorage.setItem('theme', html.classList.contains('dark') ? 'dark' : 'light');
|
| 40 |
+
}
|
|
@@ -1,28 +1,38 @@
|
|
|
|
|
|
|
|
| 1 |
body {
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
| 4 |
}
|
| 5 |
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
}
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
color: rgb(107, 114, 128);
|
| 13 |
-
font-size: 15px;
|
| 14 |
-
margin-bottom: 10px;
|
| 15 |
-
margin-top: 5px;
|
| 16 |
}
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
margin: 0 auto;
|
| 21 |
-
padding: 16px;
|
| 22 |
-
border: 1px solid lightgray;
|
| 23 |
-
border-radius: 16px;
|
| 24 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
|
| 26 |
-
|
| 27 |
-
|
|
|
|
| 28 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
|
| 2 |
+
|
| 3 |
body {
|
| 4 |
+
font-family: 'Inter', sans-serif;
|
| 5 |
+
min-height: 100vh;
|
| 6 |
+
display: flex;
|
| 7 |
+
flex-direction: column;
|
| 8 |
}
|
| 9 |
|
| 10 |
+
/* Custom scrollbar */
|
| 11 |
+
::-webkit-scrollbar {
|
| 12 |
+
width: 8px;
|
| 13 |
}
|
| 14 |
+
::-webkit-scrollbar-track {
|
| 15 |
+
background: #f1f1f1;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
}
|
| 17 |
+
::-webkit-scrollbar-thumb {
|
| 18 |
+
background: #10b981;
|
| 19 |
+
border-radius: 4px;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
}
|
| 21 |
+
::-webkit-scrollbar-thumb:hover {
|
| 22 |
+
background: #059669;
|
| 23 |
+
}
|
| 24 |
+
/* Vibe colors */
|
| 25 |
+
.vibe-chill { --vibe-color: #60a5fa; }
|
| 26 |
+
.vibe-focused { --vibe-color: #10b981; }
|
| 27 |
+
.vibe-creative { --vibe-color: #d946ef; }
|
| 28 |
+
.vibe-energized { --vibe-color: #f59e0b; }
|
| 29 |
|
| 30 |
+
/* Animation classes */
|
| 31 |
+
.fade-in {
|
| 32 |
+
animation: fadeIn 0.5s ease-in;
|
| 33 |
}
|
| 34 |
+
|
| 35 |
+
@keyframes fadeIn {
|
| 36 |
+
from { opacity: 0; }
|
| 37 |
+
to { opacity: 1; }
|
| 38 |
+
}
|