-
Notifications
You must be signed in to change notification settings - Fork 352
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deploy bevyengine/bevy-website to bevyengine/bevy-website:gh-pages
- Loading branch information
GitHub Actions
committed
Nov 3, 2023
0 parents
commit 4f2267d
Showing
2,106 changed files
with
307,034 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,221 @@ | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name='viewport' content="width=device-width, initial-scale=1" /> | ||
<meta property="og:title" content="Bevy Engine" /> | ||
<meta property="og:type" content="website" /> | ||
<meta property="og:url" content="https://bevyengine.org" /> | ||
<meta property="og:image" content="https://bevyengine.org/assets/bevy_logo_fill.png" /> | ||
<meta property="og:description" content="Bevy is a refreshingly simple data-driven game engine built in Rust. It is free and open-source forever!" /> | ||
<link rel="shortcut icon" type="image/png" href="/assets/favicon.png"> | ||
<link rel="stylesheet" href="/site.css" /> | ||
<link href="/atom.xml" rel="alternate" type="application/atom+xml" /> | ||
<title>Bevy Engine</title> | ||
|
||
</head> | ||
<body> | ||
<div class="layout"> | ||
<input id="mobile-menu-state" class="hidden" type="checkbox"> | ||
<header class="layout__header header" data-mobile-menu-state-container> | ||
<div class="header__content"> | ||
<label class="main-menu-backdrop" for="mobile-menu-state"></label> | ||
<label class="header__hamburger button-square button-square--header" for="mobile-menu-state"> | ||
<img src="/assets/icon-hamburger.svg"> | ||
</label> | ||
<div class="header__left-block"> | ||
<a class="header__logo" href="/"> | ||
<img class="logo" src="/assets/bevy_logo_dark.svg" alt="Bevy Engine"> | ||
</a> | ||
<div class="header__message"> | ||
|
||
Features | ||
|
||
</div> | ||
</div> | ||
|
||
<nav class="header__menu main-menu " role="navigation" data-page-menu-switch-state-container> | ||
<div class="main-menu__header"> | ||
<a href="/"> | ||
<img class="logo" src="/assets/bevy_logo_dark.svg" alt="Bevy Engine"> | ||
</a> | ||
<label class="button-square button-square--header" for="mobile-menu-state"> | ||
<img src="/assets/icon-times.svg"> | ||
</label> | ||
</div> | ||
|
||
<div class="main-menu__content"> | ||
<div class="main-menu__page-menu"> | ||
|
||
</div> | ||
<ul class="main-menu__menu"> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<li class="main-menu__entry main-menu__entry--getting-started"> | ||
<a href="/learn/book/getting-started/" class="main-menu__link"> | ||
<span>Getting Started</span> | ||
</a> | ||
</li> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<li class="main-menu__entry "> | ||
<a href="/learn" class="main-menu__link"> | ||
<span>Learn</span> | ||
</a> | ||
</li> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<li class="main-menu__entry "> | ||
<a href="/news" class="main-menu__link"> | ||
<span>News</span> | ||
</a> | ||
</li> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<li class="main-menu__entry "> | ||
<a href="/community" class="main-menu__link"> | ||
<span>Community</span> | ||
</a> | ||
</li> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<li class="main-menu__entry "> | ||
<a href="/assets" class="main-menu__link"> | ||
<span>Assets</span> | ||
</a> | ||
</li> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<li class="main-menu__entry "> | ||
<a href="/examples" class="main-menu__link"> | ||
<span>Examples</span> | ||
</a> | ||
</li> | ||
|
||
|
||
</ul> | ||
</div> | ||
</nav> | ||
<div class="header__cta-container"> | ||
<a class="button button--pink header__cta" href="/community/donate">Donate <img class="button__icon" src="/assets/heart.svg" alt="heart icon"/></a> | ||
<a class="header__cta header__cta--github" href="https://github.com/bevyengine/bevy"> | ||
<img src="/assets/github-mark-white.svg" alt="GitHub repo"> | ||
</a> | ||
</div> | ||
</div> | ||
</header> | ||
<main class="layout__content"> | ||
<div class="container"> | ||
|
||
|
||
<div class="fourohfour"> | ||
<h1>404</h1> | ||
<p>Sorry, we couldn't find that page.</p> | ||
<img src="/assets/bevy_icon_dark.svg" alt="Bevy logo"> | ||
</div> | ||
|
||
</div> | ||
</main> | ||
</div> | ||
<script> | ||
const search_params = new URLSearchParams(window.location.search); | ||
if (search_params.has("show_drafts") || document.cookie.indexOf("show_drafts") >= 0) { | ||
if (search_params.get("show_drafts") === "0") { | ||
document.cookie = "show_drafts=;path=/;expires=Thu, 01 Jan 1970 00:00:00 UTC"; | ||
} else { | ||
document.cookie = "show_drafts=1;path=/" | ||
document.body.classList.add('show_drafts'); | ||
} | ||
} | ||
</script> | ||
</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 @@ | ||
bevyengine.org |
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,39 @@ | ||
const searchElement = document.querySelector('#assets-search') | ||
|
||
searchElement.addEventListener("input", (_) => { | ||
filterSearchTerms() | ||
hideEmptySubSections() | ||
hideEmptySections() | ||
}) | ||
|
||
function filterSearchTerms() { | ||
const searchTerms = searchElement.value.toLowerCase().split(' ') | ||
for (const asset of document.querySelectorAll('.asset-card')) { | ||
const fullText = asset.text.toLowerCase() | ||
const searchMatch = searchTerms.every((term) => fullText.includes(term)) | ||
asset.parentElement.style.display = searchMatch ? 'block' : 'none' | ||
} | ||
} | ||
|
||
function hideEmptySubSections() { | ||
for (const itemGrid of document.querySelectorAll('.item-grid')) { | ||
const cardInGrid = [...itemGrid.querySelectorAll('.asset-card')] | ||
const areAllHidden = (cardInGrid.every((card) => card.parentElement.style.display === 'none')) | ||
itemGrid.style.display = areAllHidden ? 'none' : 'grid' | ||
itemGrid.previousElementSibling.style.display = areAllHidden ? 'none' : 'block' | ||
} | ||
} | ||
|
||
function hideEmptySections() { | ||
document.querySelectorAll('.asset-section').forEach(section => { | ||
let nextElement = section.nextElementSibling | ||
while (nextElement && !nextElement.classList.contains('asset-section')) { | ||
if (nextElement.style.display !== 'none') { | ||
section.style.display = 'block' | ||
return | ||
} | ||
nextElement = nextElement.nextElementSibling | ||
} | ||
section.style.display = 'none' | ||
}) | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.