Let's create the ultimate app together
Browse files- README.md +8 -5
- components/footer.js +110 -0
- components/navbar.js +79 -0
- index.html +54 -19
- script.js +12 -0
- style.css +12 -23
README.md
CHANGED
|
@@ -1,10 +1,13 @@
|
|
| 1 |
---
|
| 2 |
-
title: The Ultimate Blank Canvas App
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: The Ultimate Blank Canvas App π¨
|
| 3 |
+
colorFrom: purple
|
| 4 |
+
colorTo: yellow
|
| 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://huggingface.co/deepsite).
|
components/footer.js
ADDED
|
@@ -0,0 +1,110 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
class CustomFooter extends HTMLElement {
|
| 2 |
+
connectedCallback() {
|
| 3 |
+
this.attachShadow({ mode: 'open' });
|
| 4 |
+
this.shadowRoot.innerHTML = `
|
| 5 |
+
<style>
|
| 6 |
+
footer {
|
| 7 |
+
background: white;
|
| 8 |
+
color: #4b5563;
|
| 9 |
+
padding: 2rem 1rem;
|
| 10 |
+
text-align: center;
|
| 11 |
+
border-top: 1px solid #e5e7eb;
|
| 12 |
+
}
|
| 13 |
+
.footer-content {
|
| 14 |
+
max-width: 1200px;
|
| 15 |
+
margin: 0 auto;
|
| 16 |
+
display: grid;
|
| 17 |
+
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
| 18 |
+
gap: 2rem;
|
| 19 |
+
text-align: left;
|
| 20 |
+
}
|
| 21 |
+
.footer-section h3 {
|
| 22 |
+
font-weight: 600;
|
| 23 |
+
margin-bottom: 1rem;
|
| 24 |
+
color: #1f2937;
|
| 25 |
+
}
|
| 26 |
+
.footer-section ul {
|
| 27 |
+
list-style: none;
|
| 28 |
+
padding: 0;
|
| 29 |
+
margin: 0;
|
| 30 |
+
}
|
| 31 |
+
.footer-section li {
|
| 32 |
+
margin-bottom: 0.5rem;
|
| 33 |
+
}
|
| 34 |
+
.footer-section a {
|
| 35 |
+
color: #4b5563;
|
| 36 |
+
text-decoration: none;
|
| 37 |
+
transition: color 0.2s;
|
| 38 |
+
}
|
| 39 |
+
.footer-section a:hover {
|
| 40 |
+
color: #000;
|
| 41 |
+
}
|
| 42 |
+
.social-links {
|
| 43 |
+
display: flex;
|
| 44 |
+
gap: 1rem;
|
| 45 |
+
justify-content: center;
|
| 46 |
+
margin-top: 2rem;
|
| 47 |
+
}
|
| 48 |
+
.social-links a {
|
| 49 |
+
color: #6b7280;
|
| 50 |
+
transition: color 0.2s;
|
| 51 |
+
}
|
| 52 |
+
.social-links a:hover {
|
| 53 |
+
color: #000;
|
| 54 |
+
}
|
| 55 |
+
.copyright {
|
| 56 |
+
margin-top: 2rem;
|
| 57 |
+
padding-top: 1rem;
|
| 58 |
+
border-top: 1px solid #e5e7eb;
|
| 59 |
+
font-size: 0.875rem;
|
| 60 |
+
}
|
| 61 |
+
@media (max-width: 768px) {
|
| 62 |
+
.footer-content {
|
| 63 |
+
grid-template-columns: 1fr;
|
| 64 |
+
text-align: center;
|
| 65 |
+
}
|
| 66 |
+
.social-links {
|
| 67 |
+
justify-content: center;
|
| 68 |
+
}
|
| 69 |
+
}
|
| 70 |
+
</style>
|
| 71 |
+
<footer>
|
| 72 |
+
<div class="footer-content">
|
| 73 |
+
<div class="footer-section">
|
| 74 |
+
<h3>Blank Canvas</h3>
|
| 75 |
+
<p>Unleash your creativity with our platform. The possibilities are endless.</p>
|
| 76 |
+
</div>
|
| 77 |
+
<div class="footer-section">
|
| 78 |
+
<h3>Resources</h3>
|
| 79 |
+
<ul>
|
| 80 |
+
<li><a href="#">Documentation</a></li>
|
| 81 |
+
<li><a href="#">Tutorials</a></li>
|
| 82 |
+
<li><a href="#">API</a></li>
|
| 83 |
+
<li><a href="#">Community</a></li>
|
| 84 |
+
</ul>
|
| 85 |
+
</div>
|
| 86 |
+
<div class="footer-section">
|
| 87 |
+
<h3>Company</h3>
|
| 88 |
+
<ul>
|
| 89 |
+
<li><a href="#">About</a></li>
|
| 90 |
+
<li><a href="#">Careers</a></li>
|
| 91 |
+
<li><a href="#">Privacy</a></li>
|
| 92 |
+
<li><a href="#">Terms</a></li>
|
| 93 |
+
</ul>
|
| 94 |
+
</div>
|
| 95 |
+
</div>
|
| 96 |
+
<div class="social-links">
|
| 97 |
+
<a href="#"><i data-feather="twitter"></i></a>
|
| 98 |
+
<a href="#"><i data-feather="instagram"></i></a>
|
| 99 |
+
<a href="#"><i data-feather="facebook"></i></a>
|
| 100 |
+
<a href="#"><i data-feather="github"></i></a>
|
| 101 |
+
<a href="#"><i data-feather="linkedin"></i></a>
|
| 102 |
+
</div>
|
| 103 |
+
<div class="copyright">
|
| 104 |
+
© ${new Date().getFullYear()} The Ultimate Blank Canvas App. All rights reserved.
|
| 105 |
+
</div>
|
| 106 |
+
</footer>
|
| 107 |
+
`;
|
| 108 |
+
}
|
| 109 |
+
}
|
| 110 |
+
customElements.define('custom-footer', CustomFooter);
|
components/navbar.js
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
class CustomNavbar extends HTMLElement {
|
| 2 |
+
connectedCallback() {
|
| 3 |
+
this.attachShadow({ mode: 'open' });
|
| 4 |
+
this.shadowRoot.innerHTML = `
|
| 5 |
+
<style>
|
| 6 |
+
nav {
|
| 7 |
+
background: rgba(255, 255, 255, 0.9);
|
| 8 |
+
backdrop-filter: blur(8px);
|
| 9 |
+
padding: 1rem 2rem;
|
| 10 |
+
display: flex;
|
| 11 |
+
justify-content: space-between;
|
| 12 |
+
align-items: center;
|
| 13 |
+
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
|
| 14 |
+
position: relative;
|
| 15 |
+
z-index: 50;
|
| 16 |
+
}
|
| 17 |
+
.logo {
|
| 18 |
+
color: black;
|
| 19 |
+
font-weight: bold;
|
| 20 |
+
font-size: 1.5rem;
|
| 21 |
+
display: flex;
|
| 22 |
+
align-items: center;
|
| 23 |
+
gap: 0.5rem;
|
| 24 |
+
}
|
| 25 |
+
.logo-icon {
|
| 26 |
+
width: 24px;
|
| 27 |
+
height: 24px;
|
| 28 |
+
}
|
| 29 |
+
ul {
|
| 30 |
+
display: flex;
|
| 31 |
+
gap: 1.5rem;
|
| 32 |
+
list-style: none;
|
| 33 |
+
margin: 0;
|
| 34 |
+
padding: 0;
|
| 35 |
+
}
|
| 36 |
+
a {
|
| 37 |
+
color: #4b5563;
|
| 38 |
+
text-decoration: none;
|
| 39 |
+
transition: color 0.2s;
|
| 40 |
+
font-weight: 500;
|
| 41 |
+
display: flex;
|
| 42 |
+
align-items: center;
|
| 43 |
+
gap: 0.25rem;
|
| 44 |
+
}
|
| 45 |
+
a:hover {
|
| 46 |
+
color: #000;
|
| 47 |
+
}
|
| 48 |
+
.active {
|
| 49 |
+
color: #000;
|
| 50 |
+
font-weight: 600;
|
| 51 |
+
}
|
| 52 |
+
@media (max-width: 768px) {
|
| 53 |
+
nav {
|
| 54 |
+
flex-direction: column;
|
| 55 |
+
gap: 1rem;
|
| 56 |
+
padding: 1rem;
|
| 57 |
+
}
|
| 58 |
+
ul {
|
| 59 |
+
width: 100%;
|
| 60 |
+
justify-content: space-around;
|
| 61 |
+
}
|
| 62 |
+
}
|
| 63 |
+
</style>
|
| 64 |
+
<nav>
|
| 65 |
+
<a href="/" class="logo">
|
| 66 |
+
<i data-feather="pen-tool" class="logo-icon"></i>
|
| 67 |
+
<span>Blank Canvas</span>
|
| 68 |
+
</a>
|
| 69 |
+
<ul>
|
| 70 |
+
<li><a href="/" class="active"><i data-feather="home"></i> Home</a></li>
|
| 71 |
+
<li><a href="#"><i data-feather="grid"></i> Features</a></li>
|
| 72 |
+
<li><a href="#"><i data-feather="info"></i> About</a></li>
|
| 73 |
+
<li><a href="#"><i data-feather="user"></i> Account</a></li>
|
| 74 |
+
</ul>
|
| 75 |
+
</nav>
|
| 76 |
+
`;
|
| 77 |
+
}
|
| 78 |
+
}
|
| 79 |
+
customElements.define('custom-navbar', CustomNavbar);
|
index.html
CHANGED
|
@@ -1,19 +1,54 @@
|
|
| 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>The Ultimate Blank Canvas</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 src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.waves.min.js"></script>
|
| 12 |
+
</head>
|
| 13 |
+
<body class="min-h-screen flex flex-col">
|
| 14 |
+
<custom-navbar></custom-navbar>
|
| 15 |
+
|
| 16 |
+
<main class="flex-grow flex items-center justify-center" id="vanta-bg">
|
| 17 |
+
<div class="text-center p-8 bg-white bg-opacity-90 rounded-xl shadow-2xl max-w-2xl mx-4">
|
| 18 |
+
<h1 class="text-5xl font-bold mb-6 text-gray-800">The Ultimate Blank Canvas</h1>
|
| 19 |
+
<p class="text-xl text-gray-600 mb-8">
|
| 20 |
+
Your imagination is the limit. Start creating something amazing today!
|
| 21 |
+
</p>
|
| 22 |
+
<div class="flex justify-center gap-4">
|
| 23 |
+
<a href="#" class="px-6 py-3 bg-black text-white rounded-lg hover:bg-gray-800 transition flex items-center gap-2">
|
| 24 |
+
<i data-feather="plus"></i> Create
|
| 25 |
+
</a>
|
| 26 |
+
<a href="#" class="px-6 py-3 border border-black text-black rounded-lg hover:bg-gray-100 transition flex items-center gap-2">
|
| 27 |
+
<i data-feather="book-open"></i> Learn
|
| 28 |
+
</a>
|
| 29 |
+
</div>
|
| 30 |
+
</div>
|
| 31 |
+
</main>
|
| 32 |
+
|
| 33 |
+
<custom-footer></custom-footer>
|
| 34 |
+
|
| 35 |
+
<script src="components/navbar.js"></script>
|
| 36 |
+
<script src="components/footer.js"></script>
|
| 37 |
+
<script src="script.js"></script>
|
| 38 |
+
<script>
|
| 39 |
+
feather.replace();
|
| 40 |
+
VANTA.WAVES({
|
| 41 |
+
el: "#vanta-bg",
|
| 42 |
+
mouseControls: true,
|
| 43 |
+
touchControls: true,
|
| 44 |
+
gyroControls: false,
|
| 45 |
+
minHeight: 200.00,
|
| 46 |
+
minWidth: 200.00,
|
| 47 |
+
scale: 1.00,
|
| 48 |
+
scaleMobile: 1.00,
|
| 49 |
+
color: 0x0
|
| 50 |
+
})
|
| 51 |
+
</script>
|
| 52 |
+
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
|
| 53 |
+
</body>
|
| 54 |
+
</html>
|
script.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
// Initialize tooltips
|
| 2 |
+
document.addEventListener('DOMContentLoaded', function() {
|
| 3 |
+
// Any shared JavaScript functionality can go here
|
| 4 |
+
console.log('The Ultimate Blank Canvas App is ready!');
|
| 5 |
+
|
| 6 |
+
// Example: Add a simple fade-in animation to all pages
|
| 7 |
+
document.body.style.opacity = '0';
|
| 8 |
+
setTimeout(() => {
|
| 9 |
+
document.body.style.transition = 'opacity 0.5s ease-in';
|
| 10 |
+
document.body.style.opacity = '1';
|
| 11 |
+
}, 100);
|
| 12 |
+
});
|
style.css
CHANGED
|
@@ -1,28 +1,17 @@
|
|
| 1 |
-
|
| 2 |
-
padding: 2rem;
|
| 3 |
-
font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
|
| 4 |
-
}
|
| 5 |
-
|
| 6 |
-
h1 {
|
| 7 |
-
font-size: 16px;
|
| 8 |
-
margin-top: 0;
|
| 9 |
-
}
|
| 10 |
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
margin-bottom: 10px;
|
| 15 |
-
margin-top: 5px;
|
| 16 |
}
|
| 17 |
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 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 |
+
background-color: #f8fafc;
|
|
|
|
|
|
|
| 6 |
}
|
| 7 |
|
| 8 |
+
/* Animation for the hero section */
|
| 9 |
+
@keyframes float {
|
| 10 |
+
0% { transform: translateY(0px); }
|
| 11 |
+
50% { transform: translateY(-15px); }
|
| 12 |
+
100% { transform: translateY(0px); }
|
|
|
|
| 13 |
}
|
| 14 |
|
| 15 |
+
.floating {
|
| 16 |
+
animation: float 6s ease-in-out infinite;
|
| 17 |
+
}
|