Initialazation. Adding Website Files

This commit is contained in:
WindowsAurora 2024-03-06 11:58:12 +01:00
parent d5c5f966c5
commit 199ba54073
16 changed files with 626 additions and 91 deletions

View file

@ -1,93 +1,3 @@
# website
## Getting started
To make it easy for you to get started with GitLab, here's a list of recommended next steps.
Already a pro? Just edit this README.md and make it your own. Want to make it easy? [Use the template at the bottom](#editing-this-readme)!
## Add your files
- [ ] [Create](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#create-a-file) or [upload](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#upload-a-file) files
- [ ] [Add files using the command line](https://docs.gitlab.com/ee/gitlab-basics/add-file.html#add-a-file-using-the-command-line) or push an existing Git repository with the following command:
```
cd existing_repo
git remote add origin https://gitlab.com/suyu-emu/website.git
git branch -M main
git push -uf origin main
```
## Integrate with your tools
- [ ] [Set up project integrations](https://gitlab.com/suyu-emu/website/-/settings/integrations)
## Collaborate with your team
- [ ] [Invite team members and collaborators](https://docs.gitlab.com/ee/user/project/members/)
- [ ] [Create a new merge request](https://docs.gitlab.com/ee/user/project/merge_requests/creating_merge_requests.html)
- [ ] [Automatically close issues from merge requests](https://docs.gitlab.com/ee/user/project/issues/managing_issues.html#closing-issues-automatically)
- [ ] [Enable merge request approvals](https://docs.gitlab.com/ee/user/project/merge_requests/approvals/)
- [ ] [Set auto-merge](https://docs.gitlab.com/ee/user/project/merge_requests/merge_when_pipeline_succeeds.html)
## Test and Deploy
Use the built-in continuous integration in GitLab.
- [ ] [Get started with GitLab CI/CD](https://docs.gitlab.com/ee/ci/quick_start/index.html)
- [ ] [Analyze your code for known vulnerabilities with Static Application Security Testing (SAST)](https://docs.gitlab.com/ee/user/application_security/sast/)
- [ ] [Deploy to Kubernetes, Amazon EC2, or Amazon ECS using Auto Deploy](https://docs.gitlab.com/ee/topics/autodevops/requirements.html)
- [ ] [Use pull-based deployments for improved Kubernetes management](https://docs.gitlab.com/ee/user/clusters/agent/)
- [ ] [Set up protected environments](https://docs.gitlab.com/ee/ci/environments/protected_environments.html)
***
# Editing this README
When you're ready to make this README your own, just edit this file and use the handy template below (or feel free to structure it however you want - this is just a starting point!). Thanks to [makeareadme.com](https://www.makeareadme.com/) for this template.
## Suggestions for a good README
Every project is different, so consider which of these sections apply to yours. The sections used in the template are suggestions for most open source projects. Also keep in mind that while a README can be too long and detailed, too long is better than too short. If you think your README is too long, consider utilizing another form of documentation rather than cutting out information.
## Name
Choose a self-explaining name for your project.
## Description
Let people know what your project can do specifically. Provide context and add a link to any reference visitors might be unfamiliar with. A list of Features or a Background subsection can also be added here. If there are alternatives to your project, this is a good place to list differentiating factors.
## Badges
On some READMEs, you may see small images that convey metadata, such as whether or not all the tests are passing for the project. You can use Shields to add some to your README. Many services also have instructions for adding a badge.
## Visuals
Depending on what you are making, it can be a good idea to include screenshots or even a video (you'll frequently see GIFs rather than actual videos). Tools like ttygif can help, but check out Asciinema for a more sophisticated method.
## Installation
Within a particular ecosystem, there may be a common way of installing things, such as using Yarn, NuGet, or Homebrew. However, consider the possibility that whoever is reading your README is a novice and would like more guidance. Listing specific steps helps remove ambiguity and gets people to using your project as quickly as possible. If it only runs in a specific context like a particular programming language version or operating system or has dependencies that have to be installed manually, also add a Requirements subsection.
## Usage
Use examples liberally, and show the expected output if you can. It's helpful to have inline the smallest example of usage that you can demonstrate, while providing links to more sophisticated examples if they are too long to reasonably include in the README.
## Support
Tell people where they can go to for help. It can be any combination of an issue tracker, a chat room, an email address, etc.
## Roadmap
If you have ideas for releases in the future, it is a good idea to list them in the README.
## Contributing
State if you are open to contributions and what your requirements are for accepting them.
For people who want to make changes to your project, it's helpful to have some documentation on how to get started. Perhaps there is a script that they should run or some environment variables that they need to set. Make these steps explicit. These instructions could also be useful to your future self.
You can also document commands to lint the code or run tests. These steps help to ensure high code quality and reduce the likelihood that the changes inadvertently break something. Having instructions for running tests is especially helpful if it requires external setup, such as starting a Selenium server for testing in a browser.
## Authors and acknowledgment
Show your appreciation to those who have contributed to the project.
## License
For open source projects, say how it is licensed.
## Project status
If you have run out of energy or time for your project, put a note at the top of the README saying that development has slowed down or stopped completely. Someone may choose to fork your project or volunteer to step in as a maintainer or owner, allowing your project to keep going. You can also make an explicit request for maintainers.
WIP NOT DONE YET. DO NOT DEPLOY.

3
TODO.txt Normal file
View file

@ -0,0 +1,3 @@
DONE -Autoclose announcment bar after 7 seconds
make download page wish uses a yaml file to list builds.
TODO - ambient background if possible --- do this later tried it was breaking a lot of stuff. need to do this after converting suyu.png and favicon.png to to transparent

154
app.js Normal file
View file

@ -0,0 +1,154 @@
// Smooth Transition For Everything
const allElements = document.querySelectorAll('*');
allElements.forEach(element => {
element.style.transition = 'all 1000ms ease-in-out';
});
// Rgb Effect
// Select Card elements
const elements = document.querySelectorAll('.card');
// Counter
let counter = 0;
function changeColors() {
const color = getRandomColor();
elements.forEach(element => {
if(element.classList.contains('card')) {
element.style.setProperty('border-color', color, 'important');
}
});
counter++;
counter %= elements.length;
setTimeout(changeColors, 1000);
}
// Random color function
function getRandomColor() {
return `rgb(${Math.floor(Math.random() * 256)}, ${Math.floor(Math.random() * 256)}, ${Math.floor(Math.random() * 256)})`;
}
// Start changing colors
changeColors();
// Next Section: Make Site Mobile Compatible
const sectionOne = document.getElementById('header');
const sectionOneHead = document.getElementById('headertext')
const sectionOneSubtext = document.getElementById('headersubtext')
const sectionOnebutton = document.getElementById('downloadbutton')
const Sectionthree = document.getElementById('featuresection')
const cards = document.getElementsByClassName('card');
let prevMobile = false;
function checkWidth() {
const isMobile = window.innerWidth <= 1000;
if(isMobile !== prevMobile) {
if(isMobile) {
console.log("Mobile mode on");
sectionOne.classList.add('flex-column');
sectionOne.style.marginLeft = "0px";
sectionOneSubtext.style.marginLeft = "0px"
sectionOnebutton.style.marginLeft = "0px"
Sectionthree.classList.add('flex-column');
for (var i = 0; i < cards.length; i++) {
cards[i].classList.add('mt-5');
}
} else {
console.log("Mobile mode off");
sectionOne.classList.remove('flex-column');
sectionOne.style.marginLeft = "";
sectionOneSubtext.style.marginLeft = ""
sectionOnebutton.style.marginLeft = ""
Sectionthree.classList.remove('flex-column');
for (var i = 0; i < cards.length; i++) {
cards[i].classList.remove('mt-5');
}
}
prevMobile = isMobile;
}
}
// Initial check
checkWidth();
window.addEventListener('resize', checkWidth);
// Next Section : Button Hyperlinks
const downloadbtn = document.getElementById('downloadbtnone')
const discordBtn = document.getElementById('discordbtnone');
const sourceBtn = document.getElementById('sourcebtnone');
const downloadbtn2 = document.getElementById('downloadbutton')
const discordBtn2 = document.getElementById('discordbtnthree');
const sourceBtn2 = document.getElementById('sourcebtntwo');
const sourceBtn3 = document.getElementById('sourcebtnthree');
const downloadBtn3 = document.getElementById('downloadbtnthree')
discordBtn.addEventListener('click', () => {
const url = 'https://discord.gg/2gQRBp44KT';
window.open(url, '_blank');
});
;
sourceBtn.addEventListener('click', () => {
const url = 'https://gitlab.com/suyu2/suyu';
window.open(url, '_blank');
});
downloadbtn.addEventListener('click', () => {
const url = "download.html"
window.open(url, '_blank')
})
discordBtn2.addEventListener('click', () => {
const url = 'https://discord.gg/2gQRBp44KT';
window.open(url, '_blank');
});
;
sourceBtn2.addEventListener('click', () => {
const url = 'https://gitlab.com/suyu2/suyu';
window.open(url, '_blank');
});
downloadbtn2.addEventListener('click', () => {
const url = "download.html"
window.open(url, '_blank')
})
sourceBtn3.addEventListener('click', () => {
const url = 'https://gitlab.com/suyu2/suyu';
window.open(url, '_blank');
});
downloadBtn3.addEventListener('click', () => {
const url = "download.html"
window.open(url, '_blank')
})
// Next Section: Functionality
setTimeout(function(){
document.getElementById('announcement').remove()
}, 7000)

11
builds/builds.yaml Normal file
View file

@ -0,0 +1,11 @@
builds:
- name: Suyu Alpha # Type A Short Name For The Release: Ex: Suyu Alpha, Suyu Beta
fullname: Suyu Alpha Build 32doqnks9 # full name
id: 1 # Increase This Every Time A Build Get Released. This Id Identifies The Build For The Website To Sort Them By Newest To Oldest.
date: 2024-03-06 # date when id get published used to display how long ago was the build releeased
description: Added Feature X # description of the build can put changelogs here
downloadurlwindows: https://example.com
downloadurllinux: https://example.com
- name: Suyu Beta
fullname:

91
download.css Normal file
View file

@ -0,0 +1,91 @@
body {
background-color: black !important;
}
/* USE THIS FOR DEBUGGING * {
border: 1px solid red;
} */
#announcement {
background-color: rgb(46, 46, 46) !important;
}
.navbar, .navbar-brand{
background-color: black !important;
color: white !important;
}
.navbar-toggler-icon {
background-color: rgb(83, 82, 82) !important;
}
.nav-link {
color: white !important;
}
.nav-link:hover {
color: cyan !important;
}
#suyu-logo {
height: 420px;
}
#headertext {
color: white;
text-align: top;
}
#headersubtext {
color: white !important;
text-align: top;
display: flex;
align-items: flex-start;
margin-left: 20%;
}
#downloadbutton {
margin-left: 20%;
}
#downloadicon, #sourceicon, #discordicon, #giticon, #windows, #linux-icon {
filter: invert(100%);
}
/* #information {
border-top: 2px solid white;
border-bottom: 2px solid white;
} */
#infoheadtext, #infotext {
color: white;
}
#featuresheadertext, .card-title, .card-text, .card-header {
color: white;
}
.card {
background-color: rgb(37, 32, 32);
}
.card {
border: 5px solid red;
}
.btn {
color: white;
}
.btn:hover {
transform: scale(1.1);
}
footer {
color: white;
text-align: center;
}

103
download.html Normal file
View file

@ -0,0 +1,103 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Suyu Emulator</title>
<meta name="viewport" content="width=device-width,initial-scale=1" />
<meta name="description" content="" />
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3
/dist/css/bootstrap.min.css" rel="stylesheet" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="download.css" />
<link rel="icon" href="img/favicon.png">
<meta name="theme-color" content="#3584e4
">
</head>
<body>
<div id="loader-wrapper" class="bg-white position-fixed top-0 z-3 w-100 h-100 text-center">
<div class="spinner-border mt-5" role="status">
<span class="visually-hidden">Loading...</span>
</div>
</div>
<nav class="navbar navbar-expand-lg bg-body-tertiary">
<div class="container-fluid ">
<a class="navbar-brand" href="#">
<img src="img/favicon.png" alt="Suyu Logo" height="30" class="d-inline-block align-text-top">
Suyu
</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 justify-content-end" id="navbarNavDropdown">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="#">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#" id="downloadbtnone">Download</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Compatibility List</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#" id="discordbtnone">
<img src="img/discord.svg" alt="Discord Logo" height="24" id="discordicon">
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#" id="sourcebtnone">
<img src="img/gitlab.svg" alt="Git Logo" height="24" id="giticon">
</li>
</ul>
</div>
</div>
</nav>
<main>
<section class="container" id="header">
<div class="d-flex flex-column align-items-center" id="header">
<h1 class="pb-5 mt-4" id="headertext">Downloads</h1>
</div>
</section>
<section class="container" id="downloadsection">
<div class="d-flex flex-column align-items-center" id="downloads">
<p class="d-inline-flex gap-1">
<a class="btn btn-primary" data-bs-toggle="collapse" href="#collapseWindows" role="button" aria-expanded="false" aria-controls="collapseExample">
<img class="mr-5" id="windows" src="img/windows.svg" height="24" alt="Windows Logo">&nbspWindows
</a>
<a class="btn btn-primary" data-bs-toggle="collapse" href="#collapseLinux" role="button" aria-expanded="false" aria-controls="collapseExample">
<img class="mr-5" id="linux-icon" src="img/linux.svg" height="24" alt="Windows Logo">&nbspLinux
</a>
</p>
<div class="collapse" id="collapseWindows">
<div class="card" id="featuredbuild">
<h5 class="card-header">Featured Build</h5>
<div class="card-body">
<h5 class="card-title">Featured Build Name</h5>
<p class="card-text">Featured Build Description</p>
<a href="#" class="btn btn-primary">Download</a>
</div>
</div>
<div class="collapse" id="collapseWindows">
<div class="container">
<h3 class="pb-5 mt-4" id="headertext">All Builds</h3>
</div>
</div>
</div>
</section>
<section></section>
</main>
<!--[if IE]><div class="position-fixed bottom-0 w-100 p-2 text-bg-dark d-flex justify-content-between"><p>Outdated browser dectected. Please use a modern browser for a better browsing experience.</p><button type="button" class="btn-close btn-close-white" onClick="parentNode.remove()" aria-label="Close"></button></div><![endif]-->
<footer>
<small>© <script>document.write(new Date().getFullYear())</script> Your company name. All Rights Reserved.</small>
</footer>
<script src="https://code.jquery.com/jquery-3.7.1
.min.js" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3
/dist/js/bootstrap.bundle.min.js" crossorigin="anonymous"></script>
<script type="text/javascript">
$(window).on('load', function() {
$("#loader-wrapper").fadeOut(700);
});
</script>
<script src="app.js"></script>
</body>
</html>

BIN
image.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

4
img/discord.svg Normal file
View file

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
<svg width="800px" height="800px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M18.59 5.88997C17.36 5.31997 16.05 4.89997 14.67 4.65997C14.5 4.95997 14.3 5.36997 14.17 5.69997C12.71 5.47997 11.26 5.47997 9.83001 5.69997C9.69001 5.36997 9.49001 4.95997 9.32001 4.65997C7.94001 4.89997 6.63001 5.31997 5.40001 5.88997C2.92001 9.62997 2.25001 13.28 2.58001 16.87C4.23001 18.1 5.82001 18.84 7.39001 19.33C7.78001 18.8 8.12001 18.23 8.42001 17.64C7.85001 17.43 7.31001 17.16 6.80001 16.85C6.94001 16.75 7.07001 16.64 7.20001 16.54C10.33 18 13.72 18 16.81 16.54C16.94 16.65 17.07 16.75 17.21 16.85C16.7 17.16 16.15 17.42 15.59 17.64C15.89 18.23 16.23 18.8 16.62 19.33C18.19 18.84 19.79 18.1 21.43 16.87C21.82 12.7 20.76 9.08997 18.61 5.88997H18.59ZM8.84001 14.67C7.90001 14.67 7.13001 13.8 7.13001 12.73C7.13001 11.66 7.88001 10.79 8.84001 10.79C9.80001 10.79 10.56 11.66 10.55 12.73C10.55 13.79 9.80001 14.67 8.84001 14.67ZM15.15 14.67C14.21 14.67 13.44 13.8 13.44 12.73C13.44 11.66 14.19 10.79 15.15 10.79C16.11 10.79 16.87 11.66 16.86 12.73C16.86 13.79 16.11 14.67 15.15 14.67Z" fill="#000000"/>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
img/download.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB

BIN
img/favicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

2
img/gitlab.svg Normal file
View file

@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
<svg width="800px" height="800px" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill="none"><path fill="#000000" d="M14.975 8.904L14.19 6.55l-1.552-4.67a.268.268 0 00-.255-.18.268.268 0 00-.254.18l-1.552 4.667H5.422L3.87 1.879a.267.267 0 00-.254-.179.267.267 0 00-.254.18l-1.55 4.667-.784 2.357a.515.515 0 00.193.583l6.78 4.812 6.778-4.812a.516.516 0 00.196-.583z"/></svg>

After

Width:  |  Height:  |  Size: 500 B

7
img/linux.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 5.3 KiB

BIN
img/suyu.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

19
img/windows.svg Normal file
View file

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
<svg width="800px" height="800px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>windows [#174]</title>
<desc>Created with Sketch.</desc>
<defs>
</defs>
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="Dribbble-Light-Preview" transform="translate(-60.000000, -7439.000000)" fill="#000000">
<g id="icons" transform="translate(56.000000, 160.000000)">
<path d="M13.1458647,7289.43426 C13.1508772,7291.43316 13.1568922,7294.82929 13.1619048,7297.46884 C16.7759398,7297.95757 20.3899749,7298.4613 23.997995,7299 C23.997995,7295.84873 24.002005,7292.71146 23.997995,7289.71311 C20.3809524,7289.71311 16.7649123,7289.43426 13.1458647,7289.43426 M4,7289.43526 L4,7296.22153 C6.72581454,7296.58933 9.45162907,7296.94113 12.1724311,7297.34291 C12.1774436,7294.71736 12.1704261,7292.0908 12.1704261,7289.46524 C9.44661654,7289.47024 6.72380952,7289.42627 4,7289.43526 M4,7281.84344 L4,7288.61071 C6.72581454,7288.61771 9.45162907,7288.57673 12.1774436,7288.57973 C12.1754386,7285.96017 12.1754386,7283.34361 12.1724311,7280.72405 C9.44461153,7281.06486 6.71679198,7281.42567 4,7281.84344 M24,7288.47179 C20.3879699,7288.48578 16.7759398,7288.54075 13.1619048,7288.55175 C13.1598997,7285.88921 13.1598997,7283.22967 13.1619048,7280.56914 C16.7689223,7280.01844 20.3839599,7279.50072 23.997995,7279 C24,7282.15826 23.997995,7285.31353 24,7288.47179" id="windows-[#174]">
</path>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.7 KiB

137
index.html Normal file
View file

@ -0,0 +1,137 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Suyu Emulator</title>
<meta name="viewport" content="width=device-width,initial-scale=1" />
<meta name="description" content="" />
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3
/dist/css/bootstrap.min.css" rel="stylesheet" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="style.css" />
<link rel="icon" href="img/favicon.png">
<meta name="theme-color" content="#3584e4
">
<meta property="og:title" content="Suyu Emulator" />
<meta property="og:description" content="A Open Source Switch Emulator" />
<meta property="og:image" content="" />
<meta name="twitter:card" content="" />
<meta name="twitter:site" content="" />
<meta name="twitter:title" content="Suyu Emulator" />
<meta name="twitter:description" content="A Open Source Switch Emulator" />
<meta name="twitter:image" content="" />
</head>
<body>
<div id="loader-wrapper" class="bg-white position-fixed top-0 z-3 w-100 h-100 text-center">
<div class="spinner-border mt-5" role="status">
<span class="visually-hidden">Loading...</span>
</div>
</div>
<nav class="navbar navbar-expand-lg bg-body-tertiary">
<div class="container-fluid ">
<a class="navbar-brand" href="#">
<img src="img/favicon.png" alt="Suyu Logo" height="30" class="d-inline-block align-text-top">
Suyu
</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 justify-content-end" id="navbarNavDropdown">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="#">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#" id="downloadbtnone">Download</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Compatibility List</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#" id="discordbtnone">
<img src="img/discord.svg" alt="Discord Logo" height="24" id="discordicon">
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#" id="sourcebtnone">
<img src="img/gitlab.svg" alt="Git Logo" height="24" id="giticon">
</li>
</ul>
</div>
</div>
</nav>
<main>
<section class="container pb-5" id="introduction">
<div class="d-flex align-items-center" id="header">
<img class="mr-5" id="suyu-logo" src="img/suyu.png" alt="Suyu Logo">
<div>
<h2 class="pb-3" id="headertext">A Open Source Switch Emulator</h2>
<p class="pb-2" id="headersubtext">Suyu is an experimental open-source emulator for the Nintendo Switch System. Built with portability in mind, it is coded in C++ and actively maintained for Windows And Linux</p>
<button type="button" class="btn btn-success" id="downloadbutton">
<img src="img/download.png" id="downloadicon" width="20"/>&nbspDownload
</button>
<button type="button" class="btn btn-primary sourcebtn" id="sourcebtntwo">
<img src="img/gitlab.svg" id="sourceicon" width="20"/>&nbspSource Code
</button>
</div>
</div>
</section>
<section class="container-fluid pb-5" id="information">
<div class="d-flex flex-column align-items-center" id="info">
<h1 class="pb-3 mt-4" id="infoheadtext">About Suyu</h1>
<p id="infotext">Suyu Is A Fork Of Yuzu Made After The Shut Down Of The Yuzu Emulator<br>
After A Lawsuit Was Filed On February 26, 2024 And Was Settled On March 4, 2024<br>
Causing Yuzu To Stop Distribution Of All There Emulators: Yuzu And Citra<br>
Using Archives From The Web The Suyu Team Is Continuing Development Of Yuzu.</p>
</div>
</section>
<section class="container pb-5" id="features">
<h1 class="mt-4 pb-5 text-center" id="featuresheadertext">Features</h1>
<div class="d-flex flex-row align-items-center justify-content-center" id="featuresection">
<div class="card text-center mx-3" style="width: 18rem;">
<div class="card-body">
<h5 class="card-title">Open Source</h5>
<p class="card-text">The Project's Source Code Is Available In Gitlab</p>
<a href="#" class="btn btn-primary sourcebtn" id="sourcebtnthree">
<img src="img/gitlab.svg" alt="Git Logo" height="24" id="giticon">&nbspSource Code
</a>
</div>
</div>
<div class="card text-center mx-3" style="width: 18rem;">
<div class="card-body">
<h5 class="card-title">Cross Platform</h5>
<p class="card-text">Suyu Is Available For Linux & Windows</p>
<a href="#" class="btn btn-success" id="downloadbtnthree">
<img src="img/download.png" id="downloadicon" width="20"/>&nbspDownload
</a>
</div>
</div>
<div class="card text-center mx-3" style="width: 18rem;">
<div class="card-body">
<h5 class="card-title">Well Supported</h5>
<p class="card-text">Suyu Has A Discord Server For Support Inqueries <br> Full Of Passionate Emulation Community Members</p>
<a href="#" class="btn btn-info discordbtn" id="discordbtnthree">
<img src="img/discord.svg" alt="Discord Logo" height="24" id="discordicon">&nbspJoin
</a>
</div>
</div>
</div>
</section>
</main>
<div class="position-fixed top-0 w-100 p-2 text-bg-dark d-flex justify-content-between" id="announcement"><p id="annoucement-text">We Need Developers! Join Our Discord Server To Join Our Development Team!</p><button type="button" id="announceclose" class="btn-close btn-close-white" onClick="parentNode.remove()" aria-label="Close"></button></div>
<!--[if IE]><div class="position-fixed bottom-0 w-100 p-2 text-bg-dark d-flex justify-content-between"><p>Outdated browser dectected. Please use a modern browser for a better browsing experience.</p><button type="button" class="btn-close btn-close-white" onClick="parentNode.remove()" aria-label="Close"></button></div><![endif]-->
<footer>
<small>© <script>document.write(new Date().getFullYear())</script> Suyu Emulator Is Not Affiliated Or Endorsed With Tropic Haze LLC Or Nintendo Co. Ltd.</small>
</footer>
<script src="https://code.jquery.com/jquery-3.7.1
.min.js" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3
/dist/js/bootstrap.bundle.min.js" crossorigin="anonymous"></script>
<script type="text/javascript">
$(window).on('load', function() {
$("#loader-wrapper").fadeOut(700);
});
</script>
<script src="app.js"></script>
</body>
</html>

94
style.css Normal file
View file

@ -0,0 +1,94 @@
body {
background-color: black !important;
}
/* USE THIS FOR DEBUGGING * {
border: 1px solid red;
} */
#announcement {
background-color: rgb(46, 46, 46) !important;
}
.navbar, .navbar-brand{
background-color: black !important;
color: white !important;
}
.navbar-toggler-icon {
background-color: rgb(83, 82, 82) !important;
}
.nav-link {
color: white !important;
}
.nav-link:hover {
color: cyan !important;
}
#suyu-logo {
height: 420px;
}
#headertext {
color: white;
text-align: top;
display: flex;
align-items: flex-start;
margin-left: 20%;
}
#headersubtext {
color: white !important;
text-align: top;
display: flex;
align-items: flex-start;
margin-left: 20%;
}
#downloadbutton {
margin-left: 20%;
}
#downloadicon, #sourceicon, #discordicon, #giticon {
filter: invert(100%);
}
/* #information {
border-top: 2px solid white;
border-bottom: 2px solid white;
} */
#infoheadtext, #infotext {
color: white;
}
#featuresheadertext, .card-title, .card-text {
color: white;
}
.card {
background-color: rgb(37, 32, 32);
}
.card {
border: 5px solid red;
}
.btn {
color: white;
}
.btn:hover {
transform: scale(1.1);
}
footer {
color: white;
text-align: center;
}