This repository has been archived by the owner on May 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from frc9611/dev
Dev
- Loading branch information
Showing
8 changed files
with
410 additions
and
85 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
const d = document; | ||
|
||
/** @type {HTMLButtonElement} */ | ||
const dropdownOpenButton = d.querySelector("#open-dropdown-button"); | ||
/** @type {HTMLDivElement} */ | ||
const backdrop = d.querySelector("#backdrop"); | ||
/** @type {HTMLButtonElement} */ | ||
const dropdownCloseButton = d.querySelector("#dropdown-menu-close-button"); | ||
/** @type {HTMLImageElement} */ | ||
const dropdownOpenButtonIcon = d.querySelector(".dropdown-icon"); | ||
/** @type {HTMLDivElement} */ | ||
const dropdownMenu = d.querySelector("#dropdown-menu"); | ||
/** @type {HTMLAnchorElement[]} */ | ||
const dropdownMenuOptions = d.querySelectorAll(".dropdown-menu-option"); | ||
|
||
dropdownOpenButton.addEventListener("click", () => { | ||
backdrop.style.display = "flex"; | ||
dropdownOpenButtonIcon.classList.add("dropdown-icon-open"); | ||
dropdownMenu.classList.add("dropdown-menu-open"); | ||
}); | ||
|
||
dropdownCloseButton.addEventListener("click", () => { | ||
backdrop.style.display = "none"; | ||
dropdownOpenButtonIcon.classList.remove("dropdown-icon-open"); | ||
dropdownMenu.classList.remove("dropdown-menu-open"); | ||
}); | ||
|
||
dropdownMenuOptions.forEach((option) => { | ||
option.addEventListener("click", () => { | ||
backdrop.style.display = "none"; | ||
dropdownOpenButtonIcon.classList.remove("dropdown-icon-open"); | ||
dropdownMenu.classList.remove("dropdown-menu-open"); | ||
}) | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,63 +1,41 @@ | ||
<html> | ||
<!DOCTYPE html> | ||
<html lang="pt-br"> | ||
|
||
<head> | ||
<title>CyberRain (9611.team)</title> | ||
<style> | ||
h1, | ||
h4, | ||
h5 { | ||
text-decoration: bold; | ||
font-family: sans-serif; | ||
color: lime; | ||
text-align: center; | ||
font-size: 54px; | ||
} | ||
|
||
a#title { | ||
color: lime; | ||
text-decoration: underline; | ||
} | ||
|
||
h4 { | ||
font-size: 38px; | ||
} | ||
|
||
h5 { | ||
font-size: 24px; | ||
text-align: center; | ||
} | ||
|
||
a#links { | ||
font-size: 18px; | ||
color: green; | ||
text-align: center; | ||
} | ||
|
||
h1:hover, | ||
h4:hover { | ||
color: green; | ||
} | ||
|
||
body { | ||
background-color: black; | ||
} | ||
|
||
span#center { | ||
display: block; | ||
text-align: center; | ||
} | ||
</style> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>CyberRain - Not Implemented</title> | ||
<link rel="stylesheet" href="./styles/global.def.css"> | ||
<link rel="stylesheet" href="./styles/not-implemented.css"> | ||
<link rel="preconnect" href="https://fonts.googleapis.com"> | ||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | ||
<link href="https://fonts.googleapis.com/css2?family=Outfit:wght@100;300;600;700&display=swap" rel="stylesheet"> | ||
<link rel="shortcut icon" href="./assets/favicon.png" type="image/x-icon"> | ||
</head> | ||
|
||
<body> | ||
<h1><a id="title" href="https://instagram.com/cyberainfrc">CyberRain FRC #9611 - 9611.team</a></h1> | ||
<h1> | ||
<span class="highlighted-text team-name">CyberRain</span> | ||
FRC - | ||
<span class="highlighted-text team-number">9611</span> | ||
</h1> | ||
|
||
<hr> | ||
<h4>Essa parte está em construção! <br /> Novidades em breve! News soon!</h4> | ||
<hr> | ||
|
||
<h5>Links úteis: / Useful links:</h5> | ||
<span id="center"><a id="links" href="https://www.thebluealliance.com/team/9611/2024"> - TheBlueAlliance</a></span> | ||
<span id="center"><a id="links" href="https://www.instagram.com/cyberainfrc"> - Instagram</a></span> | ||
<span id="center"><a id="links" href="mailto:cyberainfrc@gmail.com"> - Contato (Email)</a></span> | ||
<span id="center"><a id="links" href="index.html">Voltar para o início</a></span> | ||
|
||
<nav> | ||
<ul> | ||
<li><a class="links" href="https://www.thebluealliance.com/team/9611/2024">TheBlueAlliance</a></li> | ||
<li><a class="links" href="https://www.instagram.com/cyberainfrc">Instagram</a></li> | ||
<li><a class="links" href="mailto:contact@9611.team">Contato (Email)</a></li> | ||
</ul> | ||
<a class="back-to-start" href="index.html">Voltar para o início</a> | ||
</nav> | ||
|
||
<span id="code-501">501</span> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/* Desault CSS for the entire application */ | ||
|
||
* { | ||
padding: 0; | ||
margin: 0; | ||
box-sizing: border-box; | ||
font-family: 'Outfit', sans-serif; | ||
font-size: 4px; | ||
} | ||
|
||
/* Calibrations of default styles */ | ||
|
||
li { | ||
list-style: none; | ||
} | ||
|
||
a { | ||
text-decoration: none; | ||
} |
Oops, something went wrong.