-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
148 lines (138 loc) · 5.87 KB
/
index.html
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Pomelo Emulator</title>
<link rel="icon" href="./favicon.png" type="image/png">
<link href="styles.css" rel="stylesheet">
<link href="css/fontawesome.min.css" rel="stylesheet" />
<link href="css/brands.min.css" rel="stylesheet" />
<link href="css/solid.min.css" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,650;1,14..32,650&display=swap" rel="stylesheet">
<!-- Open Graph Metadata (Useful for social media sites to display proper thumbnails, titles, etc.) -->
<meta property="og:type" content="website">
<meta property="og:title" content="Pomelo Emulator">
<meta property="og:description" content="A Nintendo Switch Emulator for iOS and iPadOS">
<meta property="og:image" content="https://pomelo-emu.github.io/pomelo-icon.avif">
<meta property="og:image:width" content="375">
<meta property="og:image:height" content="375">
</head>
<body>
<!-- Hero Section -->
<section id="home" class="hero-section">
<div class="hero-content">
<div style="height: 5px;"></div>
<div class="desktop-only" style="height: 10vh;"></div>
<style>
@media (max-width: 768px) {
.desktop-only {
display: none;
}
}
</style>
<div class="icon-container">
<div class="icon-flipper">
<img src="pomelo-icon.avif" alt="Pomelo Emulator Icon" class="icon-front" title="'Pomelo Emu Waterslice' by CycloKid is licensed under CC BY-NC 4.0">
<img src="pomelo-pixel.avif" alt="Alternative Pomelo Icon" class="icon-back" title="'Pomelo Emu Waterslice' by CycloKid is licensed under CC BY-NC 4.0">
</div>
</div>
<h2 style="font-size: 190%;">Pomelo</h2>
<p>A Nintendo Switch Emulator for iOS and iPadOS</p>
<div class="button-group">
<a href="./downloads" class="usualbutton" role="button"><i class="fa-solid fa-download"></i> Download</a>
<a href="./titles" class="redbutton" role="button"><i class="fa-solid fa-gears"></i> Title Playability</a>
<a href="https://gitlab.com/pomelo-emu/Pomelo" class="usualbutton" role="button"><i class="fa-brands fa-gitlab"></i> Source Code</a>
<a href="https://discord.gg/mY3tFQtXZT" class="purple" role="button"><i class="fa-brands fa-discord"></i> Discord</a>
</div>
</div>
</section>
<style>
.icon-container {
perspective: 1000px;
width: 200px;
height: 200px;
margin: 0 auto;
transform-origin: center;
position: relative;
}
.icon-flipper {
width: 100%;
height: 100%;
transition: transform 1s;
transform-style: preserve-3d;
cursor: pointer;
transform-origin: center;
position: relative;
}
.icon-flipper.flipped {
transform: rotateY(540deg);
}
.icon-front, .icon-back {
width: 100%;
height: 100%;
backface-visibility: hidden;
transform-origin: center;
position: absolute;
top: 0;
left: 0;
}
.icon-back {
transform: rotateY(540deg);
/* (May prove useful in the future) From https://stackoverflow.com/questions/14068103/disable-antialising-when-scaling-images */
image-rendering: optimizeSpeed; /* STOP SMOOTHING, GIVE ME SPEED */
image-rendering: -moz-crisp-edges; /* Firefox */
image-rendering: -o-crisp-edges; /* Opera */
image-rendering: pixelated; /* Universal support since 2021 */
}
</style>
<script>
let isCooldown = false;
document.querySelector('.icon-flipper').addEventListener('click', function() {
if (isCooldown) return;
this.classList.toggle('flipped');
isCooldown = true;
setTimeout(() => {
isCooldown = false;
}, 1000);
});
</script>
<!-- Features Section -->
<section id="features" class="features-section">
<div class="container">
<h2>Features</h2>
<div class="feature-grid">
<div class="feature-item">
<h3>Compatibility</h3>
<p>Pomelo supports a wide range of devices</p>
</div>
<div class="feature-item">
<h3>Local Multiplayer</h3>
<p>Play with other people on the go!</p>
</div>
<div class="feature-item">
<h3>TrollStore Support</h3>
<p>Compatible with TrollStore from iOS 15 to 17</p>
</div>
<div class="feature-item">
<h3>Our Community</h3>
<p>We are an open community. We welcome anyone looking for support, requesting features, or emulation discussion in general.</p>
</div>
</div>
</div>
</section>
<!-- About Section -->
<section id="about" class="about-section">
<div class="container">
<h2>About Us</h2>
<p>We are Stossy11 and Tech Guy - We aim to provide the best Nintendo Switch emulation possible for iOS and iPadOS.</p>
</div>
</section>
<!-- Footer -->
<footer>
<div class="container">
<p>© 2024 Pomelo Emu. All rights reserved.</p>
</div>
</footer>
</body>
</html>