Spaces:
Running
Running
i need a simple webpage compatible with google ads policies , it must use the logo from the link https://d3iu.ro/new-deiu.png and the favicon from https://d3iu.ro/logo.ico , it must be futuristic, and keep in mind the colors of the logo, it also has to have 1 button pointing to the game on the link https://d3iu.ro/joc.html
Browse files- README.md +7 -4
- components/footer.js +65 -0
- components/header.js +44 -0
- index.html +83 -19
- script.js +17 -0
- style.css +23 -22
README.md
CHANGED
|
@@ -1,10 +1,13 @@
|
|
| 1 |
---
|
| 2 |
-
title: Quantum Game Portal
|
| 3 |
-
emoji: π
|
| 4 |
colorFrom: blue
|
| 5 |
-
colorTo:
|
|
|
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: Quantum Game Portal π
|
|
|
|
| 3 |
colorFrom: blue
|
| 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,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
class CustomFooter extends HTMLElement {
|
| 2 |
+
connectedCallback() {
|
| 3 |
+
this.attachShadow({ mode: 'open' });
|
| 4 |
+
this.shadowRoot.innerHTML = `
|
| 5 |
+
<style>
|
| 6 |
+
:host {
|
| 7 |
+
display: block;
|
| 8 |
+
width: 100%;
|
| 9 |
+
}
|
| 10 |
+
footer {
|
| 11 |
+
background: rgba(17, 24, 39, 0.8);
|
| 12 |
+
backdrop-filter: blur(10px);
|
| 13 |
+
border-top: 1px solid rgba(255, 255, 255, 0.1);
|
| 14 |
+
}
|
| 15 |
+
.footer-link {
|
| 16 |
+
transition: color 0.2s ease;
|
| 17 |
+
}
|
| 18 |
+
.footer-link:hover {
|
| 19 |
+
color: #818cf8;
|
| 20 |
+
}
|
| 21 |
+
</style>
|
| 22 |
+
<footer class="py-8 px-6 mt-16">
|
| 23 |
+
<div class="container mx-auto">
|
| 24 |
+
<div class="flex flex-col md:flex-row justify-between items-center">
|
| 25 |
+
<div class="mb-6 md:mb-0">
|
| 26 |
+
<div class="flex items-center space-x-2">
|
| 27 |
+
<img src="https://d3iu.ro/logo.ico" alt="Logo" class="h-6 w-6">
|
| 28 |
+
<span class="text-lg font-bold bg-clip-text text-transparent bg-gradient-to-r from-purple-400 to-blue-500">Quantum</span>
|
| 29 |
+
</div>
|
| 30 |
+
<p class="text-gray-400 mt-2 text-sm">Β© ${new Date().getFullYear()} Quantum Game Portal. All rights reserved.</p>
|
| 31 |
+
</div>
|
| 32 |
+
<div class="flex flex-col md:flex-row md:space-x-8 space-y-4 md:space-y-0 text-center md:text-left">
|
| 33 |
+
<div>
|
| 34 |
+
<h4 class="text-white font-bold mb-2">Legal</h4>
|
| 35 |
+
<ul class="space-y-1">
|
| 36 |
+
<li><a href="#" class="footer-link text-gray-400 text-sm">Privacy Policy</a></li>
|
| 37 |
+
<li><a href="#" class="footer-link text-gray-400 text-sm">Terms of Service</a></li>
|
| 38 |
+
<li><a href="#" class="footer-link text-gray-400 text-sm">Cookie Policy</a></li>
|
| 39 |
+
</ul>
|
| 40 |
+
</div>
|
| 41 |
+
<div>
|
| 42 |
+
<h4 class="text-white font-bold mb-2">Support</h4>
|
| 43 |
+
<ul class="space-y-1">
|
| 44 |
+
<li><a href="#" class="footer-link text-gray-400 text-sm">Help Center</a></li>
|
| 45 |
+
<li><a href="#" class="footer-link text-gray-400 text-sm">Contact Us</a></li>
|
| 46 |
+
<li><a href="#" class="footer-link text-gray-400 text-sm">FAQ</a></li>
|
| 47 |
+
</ul>
|
| 48 |
+
</div>
|
| 49 |
+
<div>
|
| 50 |
+
<h4 class="text-white font-bold mb-2">Connect</h4>
|
| 51 |
+
<div class="flex justify-center md:justify-start space-x-4">
|
| 52 |
+
<a href="#" class="footer-link text-gray-400 hover:text-white"><i data-feather="twitter"></i></a>
|
| 53 |
+
<a href="#" class="footer-link text-gray-400 hover:text-white"><i data-feather="facebook"></i></a>
|
| 54 |
+
<a href="#" class="footer-link text-gray-400 hover:text-white"><i data-feather="instagram"></i></a>
|
| 55 |
+
<a href="#" class="footer-link text-gray-400 hover:text-white"><i data-feather="youtube"></i></a>
|
| 56 |
+
</div>
|
| 57 |
+
</div>
|
| 58 |
+
</div>
|
| 59 |
+
</div>
|
| 60 |
+
</div>
|
| 61 |
+
</footer>
|
| 62 |
+
`;
|
| 63 |
+
}
|
| 64 |
+
}
|
| 65 |
+
customElements.define('custom-footer', CustomFooter);
|
components/header.js
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
class CustomHeader extends HTMLElement {
|
| 2 |
+
connectedCallback() {
|
| 3 |
+
this.attachShadow({ mode: 'open' });
|
| 4 |
+
this.shadowRoot.innerHTML = `
|
| 5 |
+
<style>
|
| 6 |
+
:host {
|
| 7 |
+
display: block;
|
| 8 |
+
width: 100%;
|
| 9 |
+
position: relative;
|
| 10 |
+
z-index: 50;
|
| 11 |
+
}
|
| 12 |
+
header {
|
| 13 |
+
background: rgba(17, 24, 39, 0.8);
|
| 14 |
+
backdrop-filter: blur(10px);
|
| 15 |
+
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
| 16 |
+
}
|
| 17 |
+
.nav-link {
|
| 18 |
+
transition: all 0.2s ease;
|
| 19 |
+
}
|
| 20 |
+
.nav-link:hover {
|
| 21 |
+
color: #818cf8;
|
| 22 |
+
}
|
| 23 |
+
</style>
|
| 24 |
+
<header class="py-4 px-6">
|
| 25 |
+
<div class="container mx-auto flex justify-between items-center">
|
| 26 |
+
<div class="flex items-center space-x-2">
|
| 27 |
+
<img src="https://d3iu.ro/logo.ico" alt="Logo" class="h-8 w-8">
|
| 28 |
+
<span class="text-xl font-bold bg-clip-text text-transparent bg-gradient-to-r from-purple-400 to-blue-500">Quantum</span>
|
| 29 |
+
</div>
|
| 30 |
+
<nav class="hidden md:flex space-x-8">
|
| 31 |
+
<a href="#" class="nav-link text-gray-300 hover:text-white">Home</a>
|
| 32 |
+
<a href="#" class="nav-link text-gray-300 hover:text-white">Features</a>
|
| 33 |
+
<a href="#" class="nav-link text-gray-300 hover:text-white">Leaderboard</a>
|
| 34 |
+
<a href="#" class="nav-link text-gray-300 hover:text-white">Support</a>
|
| 35 |
+
</nav>
|
| 36 |
+
<button class="md:hidden text-gray-300">
|
| 37 |
+
<i data-feather="menu"></i>
|
| 38 |
+
</button>
|
| 39 |
+
</div>
|
| 40 |
+
</header>
|
| 41 |
+
`;
|
| 42 |
+
}
|
| 43 |
+
}
|
| 44 |
+
customElements.define('custom-header', CustomHeader);
|
index.html
CHANGED
|
@@ -1,19 +1,83 @@
|
|
| 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 |
+
<meta name="description" content="Experience the future of gaming with our quantum-powered adventure">
|
| 7 |
+
<title>Quantum Game Portal | Next-Gen Gaming Experience</title>
|
| 8 |
+
<link rel="icon" type="image/x-icon" href="https://d3iu.ro/logo.ico">
|
| 9 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 10 |
+
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
| 11 |
+
<script src="https://unpkg.com/feather-icons"></script>
|
| 12 |
+
<link rel="stylesheet" href="style.css">
|
| 13 |
+
</head>
|
| 14 |
+
<body class="bg-gray-900 text-white min-h-screen">
|
| 15 |
+
<!-- Header Component -->
|
| 16 |
+
<custom-header></custom-header>
|
| 17 |
+
|
| 18 |
+
<main class="container mx-auto px-4 py-12">
|
| 19 |
+
<div class="max-w-4xl mx-auto text-center">
|
| 20 |
+
<div class="mb-12">
|
| 21 |
+
<img src="https://d3iu.ro/new-deiu.png" alt="Quantum Game Logo" class="mx-auto h-32 md:h-48 w-auto">
|
| 22 |
+
</div>
|
| 23 |
+
|
| 24 |
+
<h1 class="text-4xl md:text-6xl font-bold mb-6 bg-clip-text text-transparent bg-gradient-to-r from-purple-400 to-blue-500">
|
| 25 |
+
Quantum Gaming Experience
|
| 26 |
+
</h1>
|
| 27 |
+
|
| 28 |
+
<p class="text-xl md:text-2xl text-gray-300 mb-12 max-w-3xl mx-auto">
|
| 29 |
+
Step into the future of interactive entertainment with our cutting-edge quantum-powered game.
|
| 30 |
+
</p>
|
| 31 |
+
|
| 32 |
+
<div class="relative group">
|
| 33 |
+
<div class="absolute -inset-1 bg-gradient-to-r from-purple-600 to-blue-500 rounded-lg blur opacity-75 group-hover:opacity-100 transition duration-200"></div>
|
| 34 |
+
<a href="https://d3iu.ro/joc.html1" class="relative px-8 py-4 bg-gray-800 rounded-lg font-bold text-xl hover:bg-gray-700 transition duration-200 inline-flex items-center">
|
| 35 |
+
<i data-feather="play" class="mr-2"></i> Play Now
|
| 36 |
+
</a>
|
| 37 |
+
</div>
|
| 38 |
+
</div>
|
| 39 |
+
|
| 40 |
+
<div class="mt-24 grid grid-cols-1 md:grid-cols-3 gap-8 max-w-6xl mx-auto">
|
| 41 |
+
<div class="bg-gray-800/50 backdrop-blur-sm p-6 rounded-xl border border-gray-700 hover:border-purple-500 transition duration-200">
|
| 42 |
+
<div class="text-purple-400 mb-4">
|
| 43 |
+
<i data-feather="zap" class="w-10 h-10"></i>
|
| 44 |
+
</div>
|
| 45 |
+
<h3 class="text-xl font-bold mb-2">Lightning Fast</h3>
|
| 46 |
+
<p class="text-gray-400">Powered by quantum computing for unparalleled performance</p>
|
| 47 |
+
</div>
|
| 48 |
+
|
| 49 |
+
<div class="bg-gray-800/50 backdrop-blur-sm p-6 rounded-xl border border-gray-700 hover:border-blue-500 transition duration-200">
|
| 50 |
+
<div class="text-blue-400 mb-4">
|
| 51 |
+
<i data-feather="eye" class="w-10 h-10"></i>
|
| 52 |
+
</div>
|
| 53 |
+
<h3 class="text-xl font-bold mb-2">Stunning Visuals</h3>
|
| 54 |
+
<p class="text-gray-400">Next-generation graphics that push boundaries</p>
|
| 55 |
+
</div>
|
| 56 |
+
|
| 57 |
+
<div class="bg-gray-800/50 backdrop-blur-sm p-6 rounded-xl border border-gray-700 hover:border-indigo-500 transition duration-200">
|
| 58 |
+
<div class="text-indigo-400 mb-4">
|
| 59 |
+
<i data-feather="users" class="w-10 h-10"></i>
|
| 60 |
+
</div>
|
| 61 |
+
<h3 class="text-xl font-bold mb-2">Global Community</h3>
|
| 62 |
+
<p class="text-gray-400">Join millions of players worldwide</p>
|
| 63 |
+
</div>
|
| 64 |
+
</div>
|
| 65 |
+
</main>
|
| 66 |
+
|
| 67 |
+
<!-- Footer Component -->
|
| 68 |
+
<custom-footer></custom-footer>
|
| 69 |
+
|
| 70 |
+
<!-- Google Ads Script -->
|
| 71 |
+
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-XXXXXXXXXXXXXXXX" crossorigin="anonymous"></script>
|
| 72 |
+
|
| 73 |
+
<!-- Components -->
|
| 74 |
+
<script src="components/header.js"></script>
|
| 75 |
+
<script src="components/footer.js"></script>
|
| 76 |
+
|
| 77 |
+
<script src="script.js"></script>
|
| 78 |
+
<script>
|
| 79 |
+
feather.replace();
|
| 80 |
+
</script>
|
| 81 |
+
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
|
| 82 |
+
</body>
|
| 83 |
+
</html>
|
script.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
// Google Ads event tracking
|
| 2 |
+
document.addEventListener('DOMContentLoaded', function() {
|
| 3 |
+
const playButton = document.querySelector('a[href="https://d3iu.ro/joc.html1"]');
|
| 4 |
+
|
| 5 |
+
playButton.addEventListener('click', function(e) {
|
| 6 |
+
// Track the click event for Google Ads conversion
|
| 7 |
+
if (window.gtag) {
|
| 8 |
+
gtag('event', 'conversion', {
|
| 9 |
+
'send_to': 'AW-XXXXXXXXX/YYYYYYYYYYYY',
|
| 10 |
+
'value': 1.0,
|
| 11 |
+
'currency': 'USD'
|
| 12 |
+
});
|
| 13 |
+
}
|
| 14 |
+
});
|
| 15 |
+
|
| 16 |
+
// Initialize any other scripts here
|
| 17 |
+
});
|
style.css
CHANGED
|
@@ -1,28 +1,29 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
}
|
| 5 |
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
}
|
| 10 |
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
}
|
| 17 |
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
}
|
| 25 |
-
|
| 26 |
-
.card p:last-child {
|
| 27 |
-
margin-bottom: 0;
|
| 28 |
-
}
|
|
|
|
| 1 |
+
/* Custom animations */
|
| 2 |
+
@keyframes pulse-glow {
|
| 3 |
+
0%, 100% {
|
| 4 |
+
box-shadow: 0 0 10px rgba(124, 58, 237, 0.5);
|
| 5 |
+
}
|
| 6 |
+
50% {
|
| 7 |
+
box-shadow: 0 0 20px rgba(124, 58, 237, 0.8);
|
| 8 |
+
}
|
| 9 |
}
|
| 10 |
|
| 11 |
+
/* Custom styles */
|
| 12 |
+
.play-button {
|
| 13 |
+
animation: pulse-glow 2s infinite;
|
| 14 |
}
|
| 15 |
|
| 16 |
+
/* Responsive adjustments */
|
| 17 |
+
@media (max-width: 640px) {
|
| 18 |
+
.feature-grid {
|
| 19 |
+
grid-template-columns: 1fr;
|
| 20 |
+
}
|
| 21 |
}
|
| 22 |
|
| 23 |
+
/* Google Ads compliant spacing */
|
| 24 |
+
.google-ads-container {
|
| 25 |
+
margin: 2rem auto;
|
| 26 |
+
padding: 1rem;
|
| 27 |
+
background: rgba(255, 255, 255, 0.05);
|
| 28 |
+
border-radius: 0.5rem;
|
| 29 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|