BlackMonsterMedia commited on
Commit
3fbafd8
·
verified ·
1 Parent(s): 2b48ff2

Create a black background page com as palavras beatdagame a grande no centro e à volta palavras mais pequenas, como se fosse um infográfico que digam: Website, email, SEO, Social Media, Advertising, Outros.

Browse files
Files changed (4) hide show
  1. README.md +7 -4
  2. index.html +63 -19
  3. script.js +64 -0
  4. style.css +112 -18
README.md CHANGED
@@ -1,10 +1,13 @@
1
  ---
2
  title: Beat The Game Digital Hub
3
- emoji: 📈
4
- colorFrom: pink
5
- colorTo: green
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
1
  ---
2
  title: Beat The Game Digital Hub
3
+ colorFrom: yellow
4
+ colorTo: blue
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).
index.html CHANGED
@@ -1,19 +1,63 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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>Beat The Game Digital Hub</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
+ </head>
12
+ <body class="bg-black min-h-screen flex items-center justify-center overflow-hidden">
13
+ <div class="relative w-full h-screen">
14
+ <!-- Main Center Word -->
15
+ <div class="absolute inset-0 flex items-center justify-center z-10">
16
+ <h1 class="text-white text-7xl md:text-9xl font-bold tracking-tighter animate-pulse">BEATDAGAME</h1>
17
+ </div>
18
+
19
+ <!-- Circular Navigation Buttons -->
20
+ <div class="orbit-container absolute inset-0">
21
+ <a href="#" class="orbit-btn website" data-tooltip="Website">
22
+ <span>Website</span>
23
+ <i data-feather="globe" class="hidden md:block"></i>
24
+ </a>
25
+ <a href="#" class="orbit-btn email" data-tooltip="Email">
26
+ <span>Email</span>
27
+ <i data-feather="mail" class="hidden md:block"></i>
28
+ </a>
29
+ <a href="#" class="orbit-btn seo" data-tooltip="SEO">
30
+ <span>SEO</span>
31
+ <i data-feather="search" class="hidden md:block"></i>
32
+ </a>
33
+ <a href="#" class="orbit-btn social" data-tooltip="Social Media">
34
+ <span>Social Media</span>
35
+ <i data-feather="share-2" class="hidden md:block"></i>
36
+ </a>
37
+ <a href="#" class="orbit-btn advertising" data-tooltip="Advertising">
38
+ <span>Advertising</span>
39
+ <i data-feather="dollar-sign" class="hidden md:block"></i>
40
+ </a>
41
+ <a href="#" class="orbit-btn outros" data-tooltip="Outros">
42
+ <span>Outros</span>
43
+ <i data-feather="more-horizontal" class="hidden md:block"></i>
44
+ </a>
45
+ </div>
46
+
47
+ <!-- Animated Background Elements -->
48
+ <div class="absolute inset-0 overflow-hidden">
49
+ <div class="particle"></div>
50
+ <div class="particle"></div>
51
+ <div class="particle"></div>
52
+ <div class="particle"></div>
53
+ <div class="particle"></div>
54
+ </div>
55
+ </div>
56
+
57
+ <script src="script.js"></script>
58
+ <script>
59
+ feather.replace();
60
+ </script>
61
+ <script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
62
+ </body>
63
+ </html>
script.js ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ document.addEventListener('DOMContentLoaded', function() {
2
+ // Create particles
3
+ const particlesContainer = document.querySelector('.absolute.inset-0.overflow-hidden');
4
+ const particleCount = 20;
5
+
6
+ for (let i = 0; i < particleCount; i++) {
7
+ const particle = document.createElement('div');
8
+ particle.classList.add('particle');
9
+
10
+ // Random properties
11
+ const size = Math.random() * 5 + 1;
12
+ const posX = Math.random() * window.innerWidth;
13
+ const posY = Math.random() * window.innerHeight;
14
+ const duration = Math.random() * 20 + 10;
15
+ const delay = Math.random() * 5;
16
+
17
+ particle.style.width = `${size}px`;
18
+ particle.style.height = `${size}px`;
19
+ particle.style.left = `${posX}px`;
20
+ particle.style.top = `${posY}px`;
21
+ particle.style.animation = `float ${duration}s ease-in-out ${delay}s infinite`;
22
+
23
+ particlesContainer.appendChild(particle);
24
+ }
25
+
26
+ // Add floating animation to particles
27
+ const style = document.createElement('style');
28
+ style.innerHTML = `
29
+ @keyframes float {
30
+ 0% {
31
+ transform: translateY(0) translateX(0);
32
+ opacity: 1;
33
+ }
34
+ 50% {
35
+ opacity: 0.5;
36
+ }
37
+ 100% {
38
+ transform: translateY(-100vh) translateX(20px);
39
+ opacity: 0;
40
+ }
41
+ }
42
+ `;
43
+ document.head.appendChild(style);
44
+
45
+ // Button hover effects
46
+ const buttons = document.querySelectorAll('.orbit-btn');
47
+ buttons.forEach(button => {
48
+ button.addEventListener('mouseenter', () => {
49
+ const tooltip = button.getAttribute('data-tooltip');
50
+ if (tooltip) {
51
+ const tooltipEl = document.createElement('div');
52
+ tooltipEl.className = 'tooltip';
53
+ tooltipEl.textContent = tooltip;
54
+ button.appendChild(tooltipEl);
55
+
56
+ setTimeout(() => {
57
+ if (button.contains(tooltipEl)) {
58
+ button.removeChild(tooltipEl);
59
+ }
60
+ }, 2000);
61
+ }
62
+ });
63
+ });
64
+ });
style.css CHANGED
@@ -1,28 +1,122 @@
 
 
1
  body {
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
- p {
12
- color: rgb(107, 114, 128);
13
- font-size: 15px;
14
- margin-bottom: 10px;
15
- margin-top: 5px;
16
  }
17
 
18
- .card {
19
- max-width: 620px;
20
- margin: 0 auto;
21
- padding: 16px;
22
- border: 1px solid lightgray;
23
- border-radius: 16px;
24
  }
25
 
26
- .card p:last-child {
27
- margin-bottom: 0;
 
 
 
 
28
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&display=swap');
2
+
3
  body {
4
+ font-family: 'Orbitron', sans-serif;
5
+ margin: 0;
6
+ padding: 0;
7
+ overflow: hidden;
8
+ }
9
+
10
+ .orbit-container {
11
+ position: relative;
12
+ width: 100%;
13
+ height: 100%;
14
+ animation: rotate 60s linear infinite;
15
+ }
16
+
17
+ .orbit-btn {
18
+ position: absolute;
19
+ display: flex;
20
+ flex-direction: column;
21
+ align-items: center;
22
+ justify-content: center;
23
+ width: 80px;
24
+ height: 80px;
25
+ border-radius: 50%;
26
+ background: rgba(255, 255, 255, 0.1);
27
+ color: white;
28
+ text-decoration: none;
29
+ font-weight: bold;
30
+ text-transform: uppercase;
31
+ font-size: 0.8rem;
32
+ transition: all 0.3s ease;
33
+ backdrop-filter: blur(5px);
34
+ border: 1px solid rgba(255, 255, 255, 0.2);
35
+ box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
36
+ }
37
+
38
+ .orbit-btn:hover {
39
+ background: rgba(0, 255, 255, 0.2);
40
+ transform: scale(1.2);
41
+ box-shadow: 0 0 25px cyan;
42
+ }
43
+
44
+ .orbit-btn span {
45
+ display: block;
46
+ margin-bottom: 5px;
47
+ }
48
+
49
+ /* Position the buttons in a circle */
50
+ .website {
51
+ top: 10%;
52
+ left: 50%;
53
+ transform: translateX(-50%);
54
+ }
55
+
56
+ .email {
57
+ top: 30%;
58
+ right: 10%;
59
+ }
60
+
61
+ .seo {
62
+ bottom: 30%;
63
+ right: 10%;
64
  }
65
 
66
+ .social {
67
+ bottom: 10%;
68
+ left: 50%;
69
+ transform: translateX(-50%);
70
  }
71
 
72
+ .advertising {
73
+ bottom: 30%;
74
+ left: 10%;
 
 
75
  }
76
 
77
+ .outros {
78
+ top: 30%;
79
+ left: 10%;
 
 
 
80
  }
81
 
82
+ /* Particles animation */
83
+ .particle {
84
+ position: absolute;
85
+ background: rgba(0, 255, 255, 0.5);
86
+ border-radius: 50%;
87
+ pointer-events: none;
88
  }
89
+
90
+ @keyframes rotate {
91
+ 0% {
92
+ transform: rotate(0deg);
93
+ }
94
+ 100% {
95
+ transform: rotate(360deg);
96
+ }
97
+ }
98
+
99
+ /* Responsive adjustments */
100
+ @media (max-width: 768px) {
101
+ h1 {
102
+ font-size: 4rem !important;
103
+ }
104
+
105
+ .orbit-btn {
106
+ width: 60px;
107
+ height: 60px;
108
+ font-size: 0.6rem;
109
+ }
110
+ }
111
+
112
+ @media (max-width: 480px) {
113
+ h1 {
114
+ font-size: 3rem !important;
115
+ }
116
+
117
+ .orbit-btn {
118
+ width: 50px;
119
+ height: 50px;
120
+ font-size: 0.5rem;
121
+ }
122
+ }