-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
223 additions
and
262 deletions.
There are no files selected for viewing
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
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
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
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
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,52 @@ | ||
/* Header */ | ||
.navbar { | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
padding: 10px 10%; | ||
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); | ||
} | ||
|
||
.navbar-logo { | ||
display: flex; | ||
align-items: center; | ||
color: #fff; | ||
} | ||
|
||
.navbar-logo img { | ||
margin-right: 10px; | ||
border-radius: 10px; | ||
} | ||
|
||
.navbar-text { | ||
font-size: 24px; | ||
transition: transform 0.2s; | ||
} | ||
|
||
.navbar-menu { | ||
list-style-type: none; | ||
margin: 0; | ||
padding: 0; | ||
display: flex; | ||
} | ||
|
||
.navbar-menu li { | ||
margin-right: 20px; | ||
} | ||
|
||
.navbar-menu li:last-child { | ||
margin-right: 0; | ||
} | ||
|
||
.navbar-menu a { | ||
text-decoration: none; | ||
color: #fff; | ||
font-weight: bold; | ||
font-size: 18px; | ||
transition: color 0.3s; | ||
} | ||
|
||
.navbar-menu a:hover { | ||
color: lightgray; | ||
text-decoration: none; | ||
} |
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,31 @@ | ||
class Navbar extends HTMLElement { | ||
connectedCallback() { | ||
this.innerHTML = ` | ||
<nav id="nav" class="navbar"> | ||
<div class="navbar-logo"> | ||
<img src="images/favicon.png" alt="FlameCord Logo" width="50" height="50"> | ||
<span class="navbar-text"></span> | ||
<ul class="navbar-menu"> | ||
<li><a title="Home" href="index">Home</a></li> | ||
<li class="dropdown"> | ||
<a title="Socials" href="#" class="dropbtn">Socials ▾</a> | ||
<div class="dropdown-content"> | ||
<a title="Discord" href="https://discord.com/invite/gF36AT3"><i class="fab fa-discord"></i> Discord</a> | ||
<a title="Twitter" href="https://twitter.com/FlameCordMC"><i class="fab fa-twitter"></i> Twitter</a> | ||
<a title="Reddit" href="https://www.reddit.com/r/FlameCord/"><i class="fab fa-reddit"></i> Reddit</a> | ||
<a title="Instagram" href="https://www.instagram.com/FlameCordMC/"><i class="fab fa-instagram"></i> Instagram</a> | ||
<a title="TikTok" href="https://www.tiktok.com/@flamecordmc"><i class="fab fa-tiktok"></i> TikTok</a> | ||
</div> | ||
</li> | ||
<li><a title="Config" href="config">Config</a></li> | ||
<li><a title="FAQ" href="faq">FAQ</a></li> | ||
<li><a title="Download" href="https://builtbybit.com/resources/flamecord-ultimate-antibot-solution.13492/">Download</a></li> | ||
</ul> | ||
</div> | ||
</nav> | ||
`; | ||
} | ||
} | ||
|
||
customElements.define('nav-bar', Navbar); | ||
|
Oops, something went wrong.