Fazbeeer commited on
Commit
af8e0d2
·
verified ·
1 Parent(s): cc1e215

copy this website exactly

Browse files

https://fazbeeer-mindmaster-vr-arena.static.hf.space/index.html

Files changed (6) hide show
  1. README.md +8 -5
  2. components/footer.js +127 -0
  3. components/navbar.js +85 -0
  4. index.html +89 -19
  5. script.js +14 -0
  6. style.css +64 -18
README.md CHANGED
@@ -1,10 +1,13 @@
1
  ---
2
- title: Mindmaster Vr Arena Clone
3
- emoji:
4
- colorFrom: green
5
- colorTo: yellow
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: MindMaster VR Arena Clone 🎮
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).
components/footer.js ADDED
@@ -0,0 +1,127 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ class CustomFooter extends HTMLElement {
2
+ connectedCallback() {
3
+ this.attachShadow({ mode: 'open' });
4
+ this.shadowRoot.innerHTML = `
5
+ <style>
6
+ footer {
7
+ background: rgba(17, 24, 39, 0.8);
8
+ backdrop-filter: blur(10px);
9
+ color: white;
10
+ padding: 3rem 2rem;
11
+ text-align: center;
12
+ border-top: 1px solid rgba(139, 92, 246, 0.2);
13
+ }
14
+ .footer-content {
15
+ max-width: 1200px;
16
+ margin: 0 auto;
17
+ display: grid;
18
+ grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
19
+ gap: 2rem;
20
+ text-align: left;
21
+ }
22
+ .footer-column h3 {
23
+ color: #8b5cf6;
24
+ margin-bottom: 1rem;
25
+ font-size: 1.1rem;
26
+ text-transform: uppercase;
27
+ letter-spacing: 1px;
28
+ }
29
+ .footer-column ul {
30
+ list-style: none;
31
+ padding: 0;
32
+ margin: 0;
33
+ }
34
+ .footer-column li {
35
+ margin-bottom: 0.5rem;
36
+ }
37
+ .footer-column a {
38
+ color: #d1d5db;
39
+ text-decoration: none;
40
+ transition: color 0.3s ease;
41
+ }
42
+ .footer-column a:hover {
43
+ color: #8b5cf6;
44
+ }
45
+ .social-links {
46
+ display: flex;
47
+ gap: 1rem;
48
+ justify-content: center;
49
+ margin-top: 2rem;
50
+ }
51
+ .social-links a {
52
+ color: white;
53
+ background: rgba(139, 92, 246, 0.2);
54
+ width: 40px;
55
+ height: 40px;
56
+ border-radius: 50%;
57
+ display: flex;
58
+ align-items: center;
59
+ justify-content: center;
60
+ transition: all 0.3s ease;
61
+ }
62
+ .social-links a:hover {
63
+ background: #8b5cf6;
64
+ transform: translateY(-3px);
65
+ }
66
+ .copyright {
67
+ margin-top: 2rem;
68
+ padding-top: 2rem;
69
+ border-top: 1px solid rgba(255, 255, 255, 0.1);
70
+ color: #9ca3af;
71
+ font-size: 0.9rem;
72
+ }
73
+ </style>
74
+ <footer>
75
+ <div class="footer-content">
76
+ <div class="footer-column">
77
+ <h3>Game</h3>
78
+ <ul>
79
+ <li><a href="#">Features</a></li>
80
+ <li><a href="#">Tournaments</a></li>
81
+ <li><a href="#">Leaderboard</a></li>
82
+ <li><a href="#">Download</a></li>
83
+ </ul>
84
+ </div>
85
+ <div class="footer-column">
86
+ <h3>Company</h3>
87
+ <ul>
88
+ <li><a href="#">About Us</a></li>
89
+ <li><a href="#">Careers</a></li>
90
+ <li><a href="#">Press</a></li>
91
+ <li><a href="#">Contact</a></li>
92
+ </ul>
93
+ </div>
94
+ <div class="footer-column">
95
+ <h3>Support</h3>
96
+ <ul>
97
+ <li><a href="#">Help Center</a></li>
98
+ <li><a href="#">FAQs</a></li>
99
+ <li><a href="#">Community</a></li>
100
+ <li><a href="#">Feedback</a></li>
101
+ </ul>
102
+ </div>
103
+ <div class="footer-column">
104
+ <h3>Legal</h3>
105
+ <ul>
106
+ <li><a href="#">Terms</a></li>
107
+ <li><a href="#">Privacy</a></li>
108
+ <li><a href="#">Cookies</a></li>
109
+ <li><a href="#">Copyright</a></li>
110
+ </ul>
111
+ </div>
112
+ </div>
113
+ <div class="social-links">
114
+ <a href="#"><i data-feather="twitter"></i></a>
115
+ <a href="#"><i data-feather="facebook"></i></a>
116
+ <a href="#"><i data-feather="instagram"></i></a>
117
+ <a href="#"><i data-feather="youtube"></i></a>
118
+ <a href="#"><i data-feather="twitch"></i></a>
119
+ </div>
120
+ <div class="copyright">
121
+ &copy; 2023 MindMaster VR Arena. All rights reserved.
122
+ </div>
123
+ </footer>
124
+ `;
125
+ }
126
+ }
127
+ customElements.define('custom-footer', CustomFooter);
components/navbar.js ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ class CustomNavbar extends HTMLElement {
2
+ connectedCallback() {
3
+ this.attachShadow({ mode: 'open' });
4
+ this.shadowRoot.innerHTML = `
5
+ <style>
6
+ nav {
7
+ background: rgba(17, 24, 39, 0.8);
8
+ backdrop-filter: blur(10px);
9
+ padding: 1rem 2rem;
10
+ display: flex;
11
+ justify-content: space-between;
12
+ align-items: center;
13
+ position: fixed;
14
+ top: 0;
15
+ left: 0;
16
+ right: 0;
17
+ z-index: 50;
18
+ border-bottom: 1px solid rgba(139, 92, 246, 0.2);
19
+ }
20
+ .logo {
21
+ color: white;
22
+ font-weight: bold;
23
+ font-size: 1.5rem;
24
+ letter-spacing: 1px;
25
+ background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
26
+ -webkit-background-clip: text;
27
+ -webkit-text-fill-color: transparent;
28
+ }
29
+ ul {
30
+ display: flex;
31
+ gap: 2rem;
32
+ list-style: none;
33
+ margin: 0;
34
+ padding: 0;
35
+ }
36
+ a {
37
+ color: white;
38
+ text-decoration: none;
39
+ text-transform: uppercase;
40
+ font-weight: 500;
41
+ letter-spacing: 1px;
42
+ font-size: 0.9rem;
43
+ position: relative;
44
+ padding: 0.5rem 0;
45
+ }
46
+ a:after {
47
+ content: '';
48
+ position: absolute;
49
+ bottom: 0;
50
+ left: 0;
51
+ width: 0;
52
+ height: 2px;
53
+ background: linear-gradient(90deg, #8b5cf6, #ec4899);
54
+ transition: width 0.3s ease;
55
+ }
56
+ a:hover:after {
57
+ width: 100%;
58
+ }
59
+ .cta-btn {
60
+ background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
61
+ padding: 0.5rem 1.5rem;
62
+ border-radius: 6px;
63
+ transition: transform 0.3s ease, box-shadow 0.3s ease;
64
+ }
65
+ .cta-btn:hover {
66
+ transform: translateY(-2px);
67
+ box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
68
+ }
69
+ .cta-btn:after {
70
+ display: none;
71
+ }
72
+ </style>
73
+ <nav>
74
+ <div class="logo">MINDMASTER</div>
75
+ <ul>
76
+ <li><a href="#">Home</a></li>
77
+ <li><a href="#">Tournaments</a></li>
78
+ <li><a href="#">Leaderboards</a></li>
79
+ <li><a href="#" class="cta-btn">Download</a></li>
80
+ </ul>
81
+ </nav>
82
+ `;
83
+ }
84
+ }
85
+ customElements.define('custom-navbar', CustomNavbar);
index.html CHANGED
@@ -1,19 +1,89 @@
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>MindMaster VR Arena</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.globe.min.js"></script>
12
+ <link href="https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700&display=swap" rel="stylesheet">
13
+ </head>
14
+ <body class="bg-gray-900 text-white font-orbitron">
15
+ <div id="vanta-bg" class="fixed top-0 left-0 w-full h-full z-0"></div>
16
+
17
+ <custom-navbar></custom-navbar>
18
+
19
+ <main class="relative z-10 container mx-auto px-4 py-16">
20
+ <div class="max-w-4xl mx-auto text-center">
21
+ <h1 class="text-5xl md:text-7xl font-bold mb-6 bg-clip-text text-transparent bg-gradient-to-r from-purple-400 to-pink-600">
22
+ MINDMASTER VR
23
+ </h1>
24
+ <h2 class="text-2xl md:text-3xl text-purple-300 mb-8">THE ULTIMATE MENTAL SHOWDOWN</h2>
25
+
26
+ <div class="bg-black bg-opacity-60 backdrop-blur-lg rounded-xl p-8 mb-12 border border-purple-500 border-opacity-30 shadow-lg">
27
+ <p class="text-lg md:text-xl mb-8 leading-relaxed">
28
+ Step into the futuristic VR arena where minds clash in epic battles of strategy and skill.
29
+ Outthink your opponents in this revolutionary competitive experience.
30
+ </p>
31
+ <div class="flex flex-wrap justify-center gap-4">
32
+ <a href="#" class="btn-primary">
33
+ Join Tournament
34
+ </a>
35
+ <a href="#" class="btn-secondary">
36
+ Watch Trailer
37
+ </a>
38
+ </div>
39
+ </div>
40
+ </div>
41
+
42
+ <div class="grid md:grid-cols-3 gap-8 mt-16">
43
+ <div class="feature-card">
44
+ <div class="feature-icon">
45
+ <i data-feather="cpu"></i>
46
+ </div>
47
+ <h3 class="text-xl font-bold mb-2">Strategic Gameplay</h3>
48
+ <p>Combine quick thinking with long-term strategy to outmaneuver opponents.</p>
49
+ </div>
50
+ <div class="feature-card">
51
+ <div class="feature-icon">
52
+ <i data-feather="users"></i>
53
+ </div>
54
+ <h3 class="text-xl font-bold mb-2">Competitive Leagues</h3>
55
+ <p>Join ranked matches and climb the global leaderboard.</p>
56
+ </div>
57
+ <div class="feature-card">
58
+ <div class="feature-icon">
59
+ <i data-feather="eye"></i>
60
+ </div>
61
+ <h3 class="text-xl font-bold mb-2">Immersive VR</h3>
62
+ <p>Experience mind-bending visuals in full virtual reality.</p>
63
+ </div>
64
+ </div>
65
+ </main>
66
+
67
+ <custom-footer></custom-footer>
68
+
69
+ <script src="components/navbar.js"></script>
70
+ <script src="components/footer.js"></script>
71
+ <script src="script.js"></script>
72
+ <script>
73
+ feather.replace();
74
+ VANTA.GLOBE({
75
+ el: "#vanta-bg",
76
+ mouseControls: true,
77
+ touchControls: true,
78
+ gyroControls: false,
79
+ minHeight: 200.00,
80
+ minWidth: 200.00,
81
+ scale: 1.00,
82
+ scaleMobile: 1.00,
83
+ color: 0x6d28d9,
84
+ backgroundColor: 0x111827
85
+ });
86
+ </script>
87
+ <script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
88
+ </body>
89
+ </html>
script.js ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Shared JavaScript across all pages
2
+ document.addEventListener('DOMContentLoaded', () => {
3
+ console.log('MindMaster VR Arena loaded');
4
+
5
+ // Smooth scrolling for anchor links
6
+ document.querySelectorAll('a[href^="#"]').forEach(anchor => {
7
+ anchor.addEventListener('click', function (e) {
8
+ e.preventDefault();
9
+ document.querySelector(this.getAttribute('href')).scrollIntoView({
10
+ behavior: 'smooth'
11
+ });
12
+ });
13
+ });
14
+ });
style.css CHANGED
@@ -1,28 +1,74 @@
 
 
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;500;600;700&display=swap');
2
+
3
  body {
4
+ font-family: 'Orbitron', sans-serif;
5
+ min-height: 100vh;
6
+ }
7
+
8
+ .font-orbitron {
9
+ font-family: 'Orbitron', sans-serif;
10
+ }
11
+
12
+ .btn-primary {
13
+ display: inline-block;
14
+ background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
15
+ color: white;
16
+ padding: 12px 24px;
17
+ border-radius: 8px;
18
+ font-weight: bold;
19
+ text-transform: uppercase;
20
+ letter-spacing: 1px;
21
+ transition: all 0.3s ease;
22
+ box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
23
+ }
24
+
25
+ .btn-primary:hover {
26
+ transform: translateY(-2px);
27
+ box-shadow: 0 6px 20px rgba(139, 92, 246, 0.6);
28
  }
29
 
30
+ .btn-secondary {
31
+ display: inline-block;
32
+ background: transparent;
33
+ color: white;
34
+ padding: 12px 24px;
35
+ border-radius: 8px;
36
+ font-weight: bold;
37
+ text-transform: uppercase;
38
+ letter-spacing: 1px;
39
+ transition: all 0.3s ease;
40
+ border: 2px solid #8b5cf6;
41
  }
42
 
43
+ .btn-secondary:hover {
44
+ background: rgba(139, 92, 246, 0.1);
 
 
 
45
  }
46
 
47
+ .feature-card {
48
+ background: rgba(17, 24, 39, 0.7);
49
+ backdrop-filter: blur(10px);
50
+ border: 1px solid rgba(139, 92, 246, 0.2);
51
+ border-radius: 12px;
52
+ padding: 24px;
53
+ transition: all 0.3s ease;
54
  }
55
 
56
+ .feature-card:hover {
57
+ transform: translateY(-5px);
58
+ box-shadow: 0 10px 25px rgba(139, 92, 246, 0.2);
59
+ border-color: rgba(139, 92, 246, 0.4);
60
  }
61
+
62
+ .feature-icon {
63
+ width: 60px;
64
+ height: 60px;
65
+ margin: 0 auto 16px;
66
+ display: flex;
67
+ align-items: center;
68
+ justify-content: center;
69
+ background: rgba(139, 92, 246, 0.1);
70
+ border-radius: 50%;
71
+ border: 2px solid #8b5cf6;
72
+ color: #8b5cf6;
73
+ font-size: 24px;
74
+ }