mirror of
https://github.com/RetroDECK/RetroDECK-Website.git
synced 2024-11-21 14:35:38 +00:00
Add features page
This commit is contained in:
parent
8cc5116ef3
commit
ef5b095396
|
@ -6,11 +6,15 @@ body {
|
|||
background-color: #222;
|
||||
}
|
||||
|
||||
.navbar {
|
||||
.navbar, footer {
|
||||
background: linear-gradient(-95deg, #1a9fff, #946beb);
|
||||
font-family: "Source Sans 3";
|
||||
}
|
||||
|
||||
footer {
|
||||
color: white;
|
||||
}
|
||||
|
||||
.navbar .dropdown-menu {
|
||||
background-color: #222;
|
||||
}
|
||||
|
@ -30,12 +34,27 @@ body {
|
|||
}
|
||||
|
||||
.jumbotron {
|
||||
background: linear-gradient(45deg, #1a9fff, #946beb);
|
||||
color: white;
|
||||
border: 1px white solid;
|
||||
font-family: "Source Sans 3", sans-serif;
|
||||
}
|
||||
|
||||
.my-gradient {
|
||||
background: linear-gradient(45deg, #1a9fff, #946beb);
|
||||
}
|
||||
|
||||
.feature-col {
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
.jumbotron h1 {
|
||||
font-family: "Nunito Sans", sans-serif;
|
||||
}
|
||||
|
||||
.jumbotron p>a, footer a {
|
||||
color: #222;
|
||||
}
|
||||
|
||||
.jumbotron p>a:hover, footer a:hover{
|
||||
color: white;
|
||||
}
|
136
features.html
Normal file
136
features.html
Normal file
|
@ -0,0 +1,136 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
|
||||
<title>RetroDECK Features</title>
|
||||
<meta name="twitter:description"
|
||||
content="RetroDECK is a polished and beginner-friendly environment for playing your retro games on Steam Deck, available with just one click from the Discover app.">
|
||||
<meta property="og:image" content="assets/img/RetroDeck%20Wallpaper.png">
|
||||
<meta name="twitter:title" content="RetroDECK">
|
||||
<meta name="twitter:card" content="summary">
|
||||
<meta property="og:type" content="website">
|
||||
<meta name="twitter:image" content="">
|
||||
<meta name="description"
|
||||
content="RetroDECK is a polished and beginner-friendly environment for playing your retro games on Steam Deck, available with just one click from the Discover app.">
|
||||
<link rel="apple-touch-icon" type="image/png" sizes="180x180" href="assets/img/icon_circle_2_180x180.png">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="assets/icons/icon_circle_16x16.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="assets/icons/icon_circle_1_32x32.png">
|
||||
<link rel="icon" type="image/png" sizes="180x180" href="assets/icons/icon_circle_2_180x180.png">
|
||||
<link rel="icon" type="image/png" sizes="192x192" href="assets/icons/icon_circle_3_192x192.png">
|
||||
<link rel="icon" type="image/png" sizes="512x512" href="assets/icons/icon_circle_4_512x512.png">
|
||||
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600&display=swap">
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700">
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet"
|
||||
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
|
||||
<link rel="stylesheet" href="css/style.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<!-- Navbar -->
|
||||
<nav class="navbar navbar-expand-lg bg-dark sticky-top" data-bs-theme="dark">
|
||||
<div class=" container-fluid">
|
||||
<a class="navbar-brand" href="index.html">
|
||||
Home
|
||||
</a>
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNavDropdown"
|
||||
aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navbarNavDropdown">
|
||||
<ul class="navbar-nav">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link active" href="features.html">Features</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" target="_blank" rel="noopener noreferrer"
|
||||
href="https://retrodeck.readthedocs.io/en/latest/">Wiki</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" target="_blank" rel="noopener noreferrer"
|
||||
href="https://retrodeck.readthedocs.io/en/latest/blog/">Blog</a>
|
||||
</li>
|
||||
<li class="nav-item dropdown">
|
||||
<a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown"
|
||||
aria-expanded="false">
|
||||
Social
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a class="dropdown-item" target="_blank" rel="noopener noreferrer"
|
||||
href="https://discord.gg/WDc5C9YWMx">Discord</a></li>
|
||||
<li><a class="dropdown-item" target="_blank" rel="noopener noreferrer"
|
||||
href="https://matrix.to/#/#retrodeck:matrix.org">Matrix</a></li>
|
||||
<li><a class="dropdown-item" target="_blank" rel="noopener noreferrer"
|
||||
href="https://www.reddit.com/r/RetroDeck/">Reddit</a></li>
|
||||
<li><a class="dropdown-item" target="_blank" rel="noopener noreferrer"
|
||||
href="https://lemmy.zip/c/retrodeck">Lemmy</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="nav-item dropdown">
|
||||
<a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown"
|
||||
aria-expanded="false">
|
||||
Source Code
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li>
|
||||
<a class="dropdown-item" href="https://github.com/XargonWan/RetroDECK/tree/main"
|
||||
target="_blank" rel="noopener noreferrer">
|
||||
Github
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="dropdown-item" href="https://github.com/XargonWan/RetroDECK-cooker/"
|
||||
target="_blank" rel="noopener noreferrer">
|
||||
Cooker
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="dropdown-item" href="https://repo.retrodeck.net/Xargon/RetroDECK"
|
||||
target="_blank" rel="noopener noreferrer">
|
||||
Gitea
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
<!-- End Navbar -->
|
||||
|
||||
<!-- Main Content -->
|
||||
<main class="container mt-4 mb-4" id="features">
|
||||
|
||||
<!-- Lead Jumbotron -->
|
||||
<div class="p-2 mb-4 bg-body-tertiary rounded-3 jumbotron my-gradient gradient-spin">
|
||||
<div class="container-fluid py-5">
|
||||
<h1 class="display-5 fw-bold">Why RetroDECK?</h1>
|
||||
</div>
|
||||
</div>
|
||||
<!-- End Jumbotron -->
|
||||
|
||||
</main>
|
||||
|
||||
<!-- End Main Content -->
|
||||
|
||||
<!-- Footer -->
|
||||
<footer class="container-fluid p-2">
|
||||
<div class="row text-center">
|
||||
<div class="col">
|
||||
Created by <a target="_blank" rel="noopener noreferrer" href="https://github.com/jiannazzone">Adam
|
||||
Iannazzone</a> and the RetroDECK team.
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
<!-- End Footer -->
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"
|
||||
integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz"
|
||||
crossorigin="anonymous"></script>
|
||||
<script src="scripts/gradient.js"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
164
index.html
164
index.html
|
@ -29,6 +29,8 @@
|
|||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<!-- Navbar -->
|
||||
<nav class="navbar navbar-expand-lg bg-dark sticky-top" data-bs-theme="dark">
|
||||
<div class=" container-fluid">
|
||||
<a class="navbar-brand" href="index.html">
|
||||
|
@ -41,7 +43,7 @@
|
|||
<div class="collapse navbar-collapse" id="navbarNavDropdown">
|
||||
<ul class="navbar-nav">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="#">Features</a>
|
||||
<a class="nav-link" href="features.html">Features</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" target="_blank" rel="noopener noreferrer"
|
||||
|
@ -79,6 +81,12 @@
|
|||
Github
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="dropdown-item" href="https://github.com/XargonWan/RetroDECK-cooker/"
|
||||
target="_blank" rel="noopener noreferrer">
|
||||
Cooker
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="dropdown-item" href="https://repo.retrodeck.net/Xargon/RetroDECK"
|
||||
target="_blank" rel="noopener noreferrer">
|
||||
|
@ -91,86 +99,98 @@
|
|||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
<!-- End Navbar -->
|
||||
|
||||
<div class="container-fluid">
|
||||
<main class="container">
|
||||
<!-- Main Content -->
|
||||
<main class="container mt-4 mb-4">
|
||||
|
||||
<!-- Lead Jumbotron -->
|
||||
<div class="p-2 mb-4 mt-4 bg-body-tertiary rounded-3 jumbotron">
|
||||
<div class="container-fluid py-5">
|
||||
<h1 class="display-5 fw-bold">Your all-in-one emulation package for the Steam Deck</h1>
|
||||
<p class="col-md-8 fs-4">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce sed ante
|
||||
finibus nulla imperdiet mattis id id augue. Donec maximus molestie tempor. Nulla efficitur ex
|
||||
erat, nec vehicula arcu dapibus sed.</p>
|
||||
<a type="button" class="align-center" target="_blank" rel="noopener noreferrer"
|
||||
href="https://flathub.org/apps/details/net.retrodeck.retrodeck">
|
||||
<img width='200' alt='Download on Flathub' src='https://flathub.org/api/badge?locale=en'/>
|
||||
</a>
|
||||
<!-- Lead Jumbotron -->
|
||||
<div class="p-2 mb-4 bg-body-tertiary rounded-3 jumbotron my-gradient gradient-spin">
|
||||
<div class="container-fluid py-5">
|
||||
<h1 class="display-5 fw-bold">Your all-in-one emulation package for the Steam Deck</h1>
|
||||
<p class="col-md-8 fs-4">
|
||||
Powered by <a target="_blank" rel="noopener noreferrer" href="https://es-de.org/">ES-DE</a>,
|
||||
RetroDeck combines all of the best open-source emulators into a single application.
|
||||
Pair that with a best-in-class Steam Deck controller configuration, and you'll be in retro gaming
|
||||
paradise.</a>
|
||||
</p>
|
||||
<a type="button" class="align-center" target="_blank" rel="noopener noreferrer"
|
||||
href="https://flathub.org/apps/details/net.retrodeck.retrodeck">
|
||||
<img width='200' alt='Download on Flathub' src='https://flathub.org/api/badge?locale=en' />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<!-- End Jumbotron -->
|
||||
|
||||
<!-- Screenshot Carousel -->
|
||||
<div id="screenshotCarousel" class="carousel slide mb-4" data-bs-ride="carousel">
|
||||
<div class="carousel-inner">
|
||||
<div class="carousel-item active">
|
||||
<img src="assets/img/screens/screen01.jpeg" class="d-block w-100 rounded-3"
|
||||
alt="The RetroDECK logo displayed on a Steam Deck">
|
||||
</div>
|
||||
<div class="carousel-item">
|
||||
<img src="assets/img/screens/screen02.jpeg" class="d-block w-100 rounded-3"
|
||||
alt="The RetroDECK icon visible in a Steam Library">
|
||||
</div>
|
||||
<div class="carousel-item">
|
||||
<img src="assets/img/screens/screen03.jpeg" class="d-block w-100 rounded-3"
|
||||
alt="Steam Deck quick settings in the foreground with the RetroDECK interface behind it">
|
||||
</div>
|
||||
<div class="carousel-item">
|
||||
<img src="assets/img/screens/screen04.jpeg" class="d-block w-100 rounded-3"
|
||||
alt="One of the ES-DE Themes with SEGA Genesis visible">
|
||||
</div>
|
||||
<div class="carousel-item">
|
||||
<img src="assets/img/screens/screen05.jpeg" class="d-block w-100 rounded-3"
|
||||
alt="Sonic the Hedgehog 2 (SEGA Genesis) on the Steam Deck">
|
||||
</div>
|
||||
<div class="carousel-item">
|
||||
<img src="assets/img/screens/screen06.jpeg" class="d-block w-100 rounded-3"
|
||||
alt="A list of TurboGrafx games in the ES-DE frontend">
|
||||
</div>
|
||||
</div>
|
||||
<!-- End Jumbotron -->
|
||||
<button class="carousel-control-prev" type="button" data-bs-target="#screenshotCarousel"
|
||||
data-bs-slide="prev">
|
||||
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
|
||||
<span class="visually-hidden">Previous</span>
|
||||
</button>
|
||||
<button class="carousel-control-next" type="button" data-bs-target="#screenshotCarousel"
|
||||
data-bs-slide="next">
|
||||
<span class="carousel-control-next-icon" aria-hidden="true"></span>
|
||||
<span class="visually-hidden">Next</span>
|
||||
</button>
|
||||
</div>
|
||||
<!-- End Carousel -->
|
||||
|
||||
<!-- Screenshot Carousel -->
|
||||
<div id="screenshotCarousel" class="carousel slide mb-4" data-bs-ride="carousel">
|
||||
<div class="carousel-inner">
|
||||
<div class="carousel-item active">
|
||||
<img src="assets/img/screens/screen01.jpeg" class="d-block w-100 rounded-3"
|
||||
alt="The RetroDECK logo displayed on a Steam Deck">
|
||||
</div>
|
||||
<div class="carousel-item">
|
||||
<img src="assets/img/screens/screen02.jpeg" class="d-block w-100 rounded-3"
|
||||
alt="The RetroDECK icon visible in a Steam Library">
|
||||
</div>
|
||||
<div class="carousel-item">
|
||||
<img src="assets/img/screens/screen03.jpeg" class="d-block w-100 rounded-3"
|
||||
alt="Steam Deck quick settings in the foreground with the RetroDECK interface behind it">
|
||||
</div>
|
||||
<div class="carousel-item">
|
||||
<img src="assets/img/screens/screen04.jpeg" class="d-block w-100 rounded-3"
|
||||
alt="One of the ES-DE Themes with SEGA Genesis visible">
|
||||
</div>
|
||||
<div class="carousel-item">
|
||||
<img src="assets/img/screens/screen05.jpeg" class="d-block w-100 rounded-3"
|
||||
alt="Sonic the Hedgehog 2 (SEGA Genesis) on the Steam Deck">
|
||||
</div>
|
||||
<div class="carousel-item">
|
||||
<img src="assets/img/screens/screen06.jpeg" class="d-block w-100 rounded-3"
|
||||
alt="A list of TurboGrafx games in the ES-DE frontend">
|
||||
</div>
|
||||
</div>
|
||||
<button class="carousel-control-prev" type="button" data-bs-target="#screenshotCarousel"
|
||||
data-bs-slide="prev">
|
||||
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
|
||||
<span class="visually-hidden">Previous</span>
|
||||
</button>
|
||||
<button class="carousel-control-next" type="button" data-bs-target="#screenshotCarousel"
|
||||
data-bs-slide="next">
|
||||
<span class="carousel-control-next-icon" aria-hidden="true"></span>
|
||||
<span class="visually-hidden">Next</span>
|
||||
</button>
|
||||
<!-- Donate Jumbotron -->
|
||||
<div class="p-2 bg-body-tertiary rounded-3 jumbotron my-gradient gradient-spin">
|
||||
<div class="container-fluid py-4">
|
||||
<h1 class="display-5 fw-bold">We can't do this alone</h1>
|
||||
<p class="col-md-8 fs-4">RetroDECK is run by volunteers. If you appreciate our work, please consider
|
||||
donating to us or our sibling projects.</p>
|
||||
<a class="btn btn-dark btn-lg" type="button" target="_blank" rel="noopener noreferrer"
|
||||
href="https://retrodeck.readthedocs.io/en/latest/wiki_about/donations-licenses/">
|
||||
<i class="bi bi-balloon-heart"></i> Learn More
|
||||
</a>
|
||||
</div>
|
||||
<!-- End Carousel -->
|
||||
</div>
|
||||
<!-- End Jumbotron -->
|
||||
|
||||
<!-- Donate Jumbotron -->
|
||||
<div class="p-2 mb-4 bg-body-tertiary rounded-3 jumbotron">
|
||||
<div class="container-fluid py-4">
|
||||
<h1 class="display-5 fw-bold">We can't do this alone</h1>
|
||||
<p class="col-md-8 fs-4">RetroDECK is run by volunteers. If you appreciate our work, please consider
|
||||
donating to us or our sibling projects.</p>
|
||||
<a class="btn btn-dark btn-lg" type="button" target="_blank" rel="noopener noreferrer"
|
||||
href="https://retrodeck.readthedocs.io/en/latest/wiki_about/donations-licenses/">
|
||||
<i class="bi bi-balloon-heart"></i> Learn More
|
||||
</a>
|
||||
</div>
|
||||
</main>
|
||||
<!-- End Main Content -->
|
||||
|
||||
<!-- Footer -->
|
||||
<footer class="container-fluid p-2">
|
||||
<div class="row text-center">
|
||||
<div class="col">
|
||||
Created by <a target="_blank" rel="noopener noreferrer" href="https://github.com/jiannazzone">Adam
|
||||
Iannazzone</a> and the RetroDECK team.
|
||||
</div>
|
||||
<!-- End Jumbotron -->
|
||||
</main>
|
||||
</div>
|
||||
</footer>
|
||||
<!-- End Footer -->
|
||||
|
||||
<footer>
|
||||
|
||||
</footer>
|
||||
|
||||
</div>
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"
|
||||
integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz"
|
||||
crossorigin="anonymous"></script>
|
||||
|
|
|
@ -1,17 +1,16 @@
|
|||
let gradientAngle = 45;
|
||||
|
||||
let jumbotronElems = document.getElementsByClassName('jumbotron');
|
||||
let gradientSpinElems = document.getElementsByClassName('gradient-spin');
|
||||
const gradientInterval = setInterval(function() {
|
||||
updateGradientAngle();
|
||||
}, 50);
|
||||
console.log(jumbotronElems.length)
|
||||
|
||||
function updateGradientAngle() {
|
||||
gradientAngle += 1
|
||||
if (gradientAngle > 360) {
|
||||
gradientAngle = 0;
|
||||
}
|
||||
for (let i=0; i<jumbotronElems.length; i++) {
|
||||
jumbotronElems[i].style.background = `linear-gradient(${gradientAngle}deg, #1a9fff, #946beb)`;
|
||||
for (let i=0; i<gradientSpinElems.length; i++) {
|
||||
gradientSpinElems[i].style.background = `linear-gradient(${gradientAngle}deg, #1a9fff, #946beb)`;
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue