This repository has been archived on 2024-05-14. You can view files and clone it, but cannot push or open issues or pull requests.
awesome-xlabs/website/header.js
2023-08-13 17:45:19 -04:00

70 lines
4.4 KiB
JavaScript

// If you are adding new lines, make sure to escape the line at the end with a \
document.write('\
<nav class="navbar navbar-expand-md navbar-light">\
<a class="navbar-brand" href="https://xlabs.dev/" target="_self"><img src="img/xlabs.png" alt="X LABS"></a>\
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"><span class="navbar-toggler-icon"></span></button>\
<div class="collapse navbar-collapse" id="navbarSupportedContent">\
<ul class="navbar-nav ml-auto py-4 py-md-0">\
<li class="nav-item pl-4 pl-md-0 ml-0 ml-md-4 active">\
<a class="nav-link" href="https://xlabs.dev/">Home</a>\
</li>\
<li class="nav-item pl-4 pl-md-0 ml-0 ml-md-4">\
<a class="nav-link dropdown-toggle iw4x-menu" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">IW4x</a>\
<div class="dropdown-menu iw4x-menu">\
<a class="dropdown-item" href="support_iw4x_client">IW4x Client Support</a>\
<a class="dropdown-item" href="iw4x_repair">IW4x Repair Guide</a>\
<a class="dropdown-item" href="iw4x_faq">IW4x FAQs</a>\
<a class="dropdown-item" href="iw4x_controllers">IW4x Controller Guide</a>\
<a class="dropdown-item" href="iw4x_privatematch">IW4x Private Match Guide</a>\
<a class="dropdown-item" href="support_iw4x_server">IW4x Server Support</a>\
<a class="dropdown-item" href="iw4x_errors">IW4x Errors</a>\
<a class="dropdown-item" href="mod_guide">IW4x Mod Guide</a>\
<a class="dropdown-item" href="map_porting">IW4x Map Porting</a>\
</div>\
</li>\
<li class="nav-item pl-4 pl-md-0 ml-0 ml-md-4">\
<a class="nav-link dropdown-toggle iw6x-menu" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">IW6x</a>\
<div class="dropdown-menu iw6x-menu">\
<a class="dropdown-item" href="support_iw6x_client">IW6x Client Support</a>\
<a class="dropdown-item" href="iw6x_repair">IW6x Repair Guide</a>\
<a class="dropdown-item" href="iw6x_faq">IW6x FAQs</a>\
<a class="dropdown-item" href="iw6x_controllers">IW6x Controller Guide</a>\
<a class="dropdown-item" href="iw6x_privatematch">IW6x Private Match Guide</a>\
<a class="dropdown-item" href="support_iw6x_server">IW6x Server Support</a>\
<a class="dropdown-item" href="iw6x_errors">IW6x Errors</a>\
<a class="dropdown-item" href="iw6x_scripting_documentation">IW6x Scripting Docs</a>\
</div>\
</li>\
<li class="nav-item pl-4 pl-md-0 ml-0 ml-md-4">\
<a class="nav-link dropdown-toggle s1x-menu" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">S1x</a>\
<div class="dropdown-menu s1x-menu">\
<a class="dropdown-item" href="support_s1x_client">S1x Client Support</a>\
<a class="dropdown-item" href="s1x_repair">S1x Repair Guide</a>\
<a class="dropdown-item" href="s1x_faq">S1x FAQs</a>\
<a class="dropdown-item" href="s1x_controllers">S1x Controller Guide</a>\
<a class="dropdown-item" href="s1x_privatematch">S1x Private Match Guide</a>\
<a class="dropdown-item" href="support_s1x_server">S1x Server Support</a>\
<a class="dropdown-item" href="s1x_errors">S1x Errors</a>\
</div>\
</li>\
<li class="nav-item pl-4 pl-md-0 ml-0 ml-md-4">\
<a class="nav-link dropdown-toggle guides" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Misc Guides</a>\
<div class="dropdown-menu guides">\
<a class="dropdown-item" href="console_commands">Console Commands</a>\
</div>\
</li>\
<li class="nav-item pl-4 pl-md-0 ml-0 ml-md-4">\
<a class="nav-link dropdown-toggle socials" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Socials</a>\
<div class="dropdown-menu socials">\
<a class="dropdown-item" target="_blank" href="https://twitter.com/XLabsProject">Twitter</a>\
<a class="dropdown-item" target="_blank" href="https://discord.gg/sKeVmR3">Discord</a>\
<a class="dropdown-item" target="_blank" href="https://youtube.com/channel/UCPA9X79ZsCXMBBCSJ63wA3A?sub_confirmation=1">YouTube</a>\
<a class="dropdown-item" target="_blank" href="https://github.com/XLabsProject">GitHub</a>\
<a class="dropdown-item" target="_blank" href="https://patreon.com/xlabsproject">Patreon</a>\
</div>\
</li>\
</ul>\
</div>\
</nav>\
');