fix: everything
@@ -1,17 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Stardust XR Docs</title>
|
||||
<link rel="stylesheet" href="../style.css" />
|
||||
<link rel="icon" type="image/png" href="../static/img/icon.png" />
|
||||
<link rel="icon" type="image/png" href="../img/icon.png" />
|
||||
<script src="../js/marked.min.js"></script>
|
||||
<script src="docs.js" defer></script>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1><a href="../index.html" style="color:inherit;text-decoration:none;">Stardust XR Docs</a></h1>
|
||||
<h1>
|
||||
<a href="../index.html" style="color: inherit; text-decoration: none"
|
||||
>Stardust XR Docs</a
|
||||
>
|
||||
</h1>
|
||||
<nav>
|
||||
<a href="../index.html">Home</a>
|
||||
</nav>
|
||||
|
||||
|
Before Width: | Height: | Size: 3.8 MiB After Width: | Height: | Size: 3.8 MiB |
|
Before Width: | Height: | Size: 476 KiB After Width: | Height: | Size: 476 KiB |
|
Before Width: | Height: | Size: 872 KiB After Width: | Height: | Size: 872 KiB |
|
Before Width: | Height: | Size: 39 MiB After Width: | Height: | Size: 39 MiB |
|
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 42 KiB |
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 5.5 KiB |
|
Before Width: | Height: | Size: 242 KiB After Width: | Height: | Size: 242 KiB |
|
Before Width: | Height: | Size: 70 KiB After Width: | Height: | Size: 70 KiB |
|
Before Width: | Height: | Size: 100 KiB After Width: | Height: | Size: 100 KiB |
|
Before Width: | Height: | Size: 308 KiB After Width: | Height: | Size: 308 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 412 KiB After Width: | Height: | Size: 412 KiB |
|
Before Width: | Height: | Size: 616 B After Width: | Height: | Size: 616 B |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 45 MiB After Width: | Height: | Size: 45 MiB |
|
Before Width: | Height: | Size: 2.8 MiB After Width: | Height: | Size: 2.8 MiB |
|
Before Width: | Height: | Size: 234 KiB After Width: | Height: | Size: 234 KiB |
|
Before Width: | Height: | Size: 895 KiB After Width: | Height: | Size: 895 KiB |
|
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 35 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 38 MiB After Width: | Height: | Size: 38 MiB |
|
Before Width: | Height: | Size: 11 MiB After Width: | Height: | Size: 11 MiB |
|
Before Width: | Height: | Size: 18 MiB After Width: | Height: | Size: 18 MiB |
163
index.html
@@ -1,30 +1,173 @@
|
||||
<!DOCTYPE html>
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Stardust XR</title>
|
||||
<link rel="stylesheet" href="style.css" />
|
||||
<link rel="icon" type="image/png" href="static/img/icon.png" />
|
||||
<style>
|
||||
.sr-only {
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
padding: 0;
|
||||
margin: -1px;
|
||||
overflow: hidden;
|
||||
clip: rect(0, 0, 0, 0);
|
||||
white-space: nowrap;
|
||||
border: 0;
|
||||
}
|
||||
</style>
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css"
|
||||
/>
|
||||
<link rel="icon" type="image/png" href="img/icon.png" />
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<div class="header-content">
|
||||
<div class="logo-container">
|
||||
<img
|
||||
src="img/icon.webp"
|
||||
alt="Stardust XR logo, a yellow star with smaller white stars around it in a purple cosmic background"
|
||||
class="logo"
|
||||
/>
|
||||
<h1>Stardust XR</h1>
|
||||
<p>Stardust... We Fight For the Users!</p>
|
||||
</div>
|
||||
<p class="tagline">Stardust... We Fight For the Users!</p>
|
||||
<nav>
|
||||
<a href="index.html">Home</a>
|
||||
<a href="docs/">Docs</a>
|
||||
<a href="https://github.com/StardustXR" target="_blank" rel="noopener">GitHub</a>
|
||||
<div class="nav-right">
|
||||
<a
|
||||
href="https://discord.gg/A9w7fKE"
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
class="nav-icon"
|
||||
>
|
||||
<i class="fab fa-discord" aria-hidden="true"></i>
|
||||
<span class="sr-only">Join our Discord server</span>
|
||||
</a>
|
||||
<a
|
||||
href="https://matrix.to/#/#stardustxr:matrix.org"
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
class="nav-text matrix-link"
|
||||
>
|
||||
<span aria-label="Join our Matrix space">[matrix]</span>
|
||||
</a>
|
||||
<a
|
||||
href="https://bsky.app/profile/stardustxr.org"
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
class="nav-icon"
|
||||
>
|
||||
<i class="fa-brands fa-bluesky" aria-hidden="true"></i>
|
||||
<span class="sr-only">Follow us on Bluesky</span>
|
||||
</a>
|
||||
<a
|
||||
href="https://twitter.com/stardustxr"
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
class="nav-icon"
|
||||
>
|
||||
<i class="fab fa-twitter" aria-hidden="true"></i>
|
||||
<span class="sr-only">Follow us on Twitter</span>
|
||||
</a>
|
||||
<a
|
||||
href="https://github.com/StardustXR"
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
class="nav-icon"
|
||||
>
|
||||
<i class="fab fa-github" aria-hidden="true"></i>
|
||||
<span class="sr-only">View our GitHub repositories</span>
|
||||
</a>
|
||||
<a
|
||||
href="https://github.com/sponsors/technobaboo"
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
class="nav-icon sponsor-link"
|
||||
>
|
||||
<i class="fas fa-heart" aria-hidden="true"></i>
|
||||
<span class="sr-only">Sponsor Stardust XR development</span>
|
||||
</a>
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main>
|
||||
<section>
|
||||
<h2>Get Started</h2>
|
||||
<p>Check out the <a href="docs/#01-get-started/01-What-is-Stardust">What is Stardust?</a> guide to learn more.</p>
|
||||
<section class="hero">
|
||||
<h2>Welcome to Stardust XR</h2>
|
||||
<p class="lead">
|
||||
Experience the next generation of XR computing. Build immersive
|
||||
experiences that transcend reality.
|
||||
</p>
|
||||
<div class="cta-buttons">
|
||||
<a href="docs/index.html" class="cta-primary">Get Started</a>
|
||||
<a href="https://github.com/StardustXR" class="cta-secondary"
|
||||
>View on GitHub</a
|
||||
>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
<footer>
|
||||
<p>© 2024 Stardust XR</p>
|
||||
<div class="footer-content">
|
||||
<div class="footer-section">
|
||||
<h3>Community</h3>
|
||||
<ul>
|
||||
<li>
|
||||
<a
|
||||
href="https://discord.gg/A9w7fKE"
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
>Discord</a
|
||||
>
|
||||
</li>
|
||||
<li>
|
||||
<a
|
||||
href="https://matrix.to/#/#stardustxr:matrix.org"
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
>Matrix</a
|
||||
>
|
||||
</li>
|
||||
<li>
|
||||
<a
|
||||
href="https://bsky.app/profile/stardustxr.org"
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
>Bluesky</a
|
||||
>
|
||||
</li>
|
||||
<li>
|
||||
<a
|
||||
href="https://twitter.com/stardustxr"
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
>Twitter</a
|
||||
>
|
||||
</li>
|
||||
<li>
|
||||
<a
|
||||
href="https://github.com/StardustXR"
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
>GitHub</a
|
||||
>
|
||||
</li>
|
||||
<li>
|
||||
<a
|
||||
href="https://github.com/sponsors/technobaboo"
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
>Sponsor This</a
|
||||
>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
246
style.css
@@ -1,36 +1,240 @@
|
||||
:root {
|
||||
--primary: #ffe44d;
|
||||
--background: #13111a;
|
||||
--background-light: #1a1725;
|
||||
--text: #ffffff;
|
||||
--text-muted: #a094c7;
|
||||
--accent: #6b4595;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
background: var(--background);
|
||||
color: var(--text);
|
||||
line-height: 1.6;
|
||||
background: #fdfdfd;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
/* Header */
|
||||
header {
|
||||
background: #222;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
padding: 1rem 0.5rem;
|
||||
background: var(--background-light);
|
||||
padding: 1rem 2rem;
|
||||
}
|
||||
header nav a {
|
||||
color: #ffd400;
|
||||
margin: 0 0.5rem;
|
||||
|
||||
.header-content {
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 2rem;
|
||||
}
|
||||
|
||||
.logo-container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.logo {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
|
||||
.logo-container h1 {
|
||||
margin: 0;
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
.tagline {
|
||||
color: var(--primary);
|
||||
font-style: italic;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
/* Navigation */
|
||||
nav {
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.nav-right {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1.5rem;
|
||||
}
|
||||
|
||||
.nav-icon {
|
||||
color: var(--text);
|
||||
text-decoration: none;
|
||||
font-size: 1.5rem;
|
||||
transition: color 0.2s ease;
|
||||
}
|
||||
header nav a:hover {
|
||||
text-decoration: underline;
|
||||
|
||||
.nav-icon:hover {
|
||||
color: var(--primary);
|
||||
}
|
||||
|
||||
.nav-text {
|
||||
color: var(--text);
|
||||
text-decoration: none;
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
|
||||
.matrix-link {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.sponsor-link {
|
||||
color: var(--primary) !important;
|
||||
}
|
||||
|
||||
.sponsor-link:hover {
|
||||
color: #ff6b6b !important;
|
||||
}
|
||||
|
||||
/* Main content */
|
||||
main {
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
padding: 4rem 2rem;
|
||||
}
|
||||
|
||||
.hero {
|
||||
max-width: 800px;
|
||||
margin: auto;
|
||||
padding: 1rem;
|
||||
}
|
||||
footer {
|
||||
margin: 0 auto;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.hero h2 {
|
||||
font-size: 2.5rem;
|
||||
margin-bottom: 1.5rem;
|
||||
color: var(--primary);
|
||||
}
|
||||
|
||||
.lead {
|
||||
font-size: 1.2rem;
|
||||
margin-bottom: 2rem;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
.cta-buttons {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.cta-primary,
|
||||
.cta-secondary {
|
||||
padding: 0.8rem 1.5rem;
|
||||
text-decoration: none;
|
||||
font-weight: bold;
|
||||
border-radius: 4px;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.cta-primary {
|
||||
background: var(--primary);
|
||||
color: var(--background);
|
||||
}
|
||||
|
||||
.cta-primary:hover {
|
||||
background: #ffe44d;
|
||||
}
|
||||
|
||||
.cta-secondary {
|
||||
background: transparent;
|
||||
color: var(--primary);
|
||||
border: 2px solid var(--primary);
|
||||
}
|
||||
|
||||
.cta-secondary:hover {
|
||||
background: rgba(255, 215, 0, 0.1);
|
||||
}
|
||||
|
||||
/* Footer */
|
||||
footer {
|
||||
background: var(--background-light);
|
||||
padding: 3rem 2rem 1rem;
|
||||
margin-top: 4rem;
|
||||
}
|
||||
|
||||
.footer-content {
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
||||
gap: 2rem;
|
||||
}
|
||||
|
||||
.footer-section h3 {
|
||||
color: var(--primary);
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.footer-section ul {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.footer-section li {
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.footer-section a {
|
||||
color: var(--text-muted);
|
||||
text-decoration: none;
|
||||
transition: color 0.2s ease;
|
||||
}
|
||||
|
||||
.footer-section a:hover {
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
.footer-bottom {
|
||||
text-align: center;
|
||||
padding-top: 2rem;
|
||||
margin-top: 2rem;
|
||||
border-top: 1px solid var(--accent);
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
/* Responsive */
|
||||
@media (max-width: 768px) {
|
||||
.header-content {
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
nav {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.nav-right {
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
main {
|
||||
padding: 2rem 1rem;
|
||||
}
|
||||
|
||||
.hero h2 {
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
.cta-buttons {
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.cta-primary,
|
||||
.cta-secondary {
|
||||
text-align: center;
|
||||
padding: 1rem;
|
||||
color: #666;
|
||||
}
|
||||
pre {
|
||||
background: #f4f4f4;
|
||||
padding: 0.5rem;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||