-
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
150 additions
and
139 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 @@ | ||
/docs/src/content/docs/docs/introduction/quick-start.mdx |
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,51 @@ | ||
--- | ||
import type { Props } from "@astrojs/starlight/props"; | ||
import Search from "@astrojs/starlight/components/Search.astro"; | ||
--- | ||
|
||
<div class="nav-container"> | ||
<nav> | ||
<ul> | ||
<li> | ||
<a | ||
aria-current={Astro.url.pathname.startsWith("/docs") ? "page" : null} | ||
href="/docs/introduction/quick-start">Docs</a | ||
> | ||
</li> | ||
<li> | ||
<a | ||
aria-current={Astro.url.pathname.startsWith("/examples") ? "page" : null} | ||
href="/examples/basics/full-screen">Examples</a | ||
> | ||
</li> | ||
</ul> | ||
</nav> | ||
<Search {...Astro.props} /> | ||
</div> | ||
|
||
<style> | ||
.nav-container { | ||
display: flex; | ||
width: 100%; | ||
justify-content: space-between; | ||
align-items: center; | ||
gap: 1rem; | ||
} | ||
|
||
a { | ||
color: var(--sl-color-white); | ||
text-decoration: none; | ||
|
||
&[aria-current="page"] { | ||
font-weight: bold; | ||
color: var(--sl-color-text-accent); | ||
} | ||
} | ||
|
||
ul { | ||
padding: 0; | ||
list-style-type: none; | ||
display: flex; | ||
gap: 1em; | ||
} | ||
</style> |
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 |
---|---|---|
@@ -1,16 +1,23 @@ | ||
--- | ||
title: useGL | ||
description: Minimalist WebGL library focused on performance and developer experience. | ||
title: Home | ||
description: Lightweight WebGL library for working with shaders. | ||
template: splash | ||
hero: | ||
tagline: Minimalist WebGL library focused on performance and developer experience. | ||
title: useGL | ||
tagline: Lightweight WebGL library for working with shaders. | ||
image: | ||
file: ../../assets/houston.webp | ||
actions: | ||
- text: Get started | ||
link: /introduction/quick-start | ||
link: /docs/introduction/quick-start | ||
- text: Examples | ||
link: /examples/basics/full-screen | ||
icon: right-arrow | ||
variant: minimal | ||
--- | ||
|
||
- **~5kB** minzipped | ||
- Modern, **hooks** style syntax | ||
- **Reactive** uniforms: re-render when updated | ||
- Fully **typed**: update uniforms with **autocompletion** | ||
- Time and resolution **automatically provided and updated** |
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
Oops, something went wrong.