Skip to content

Commit

Permalink
build site
Browse files Browse the repository at this point in the history
  • Loading branch information
kaikalii committed Dec 2, 2023
1 parent 837a12f commit 7e7b4a0
Show file tree
Hide file tree
Showing 17 changed files with 2,384 additions and 7 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
.vscode
.idea
/target
/docs
site/dist

*.wav
Expand Down
40 changes: 40 additions & 0 deletions docs/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Single Page Apps for GitHub Pages</title>
<script type="text/javascript">
// Single Page Apps for GitHub Pages
// MIT License
// https://github.com/rafgraph/spa-github-pages
// This script takes the current url and converts the path and query
// string into just a query string, and then redirects the browser
// to the new url with only a query string and hash fragment,
// e.g. https://www.foo.tld/one/two?a=b&c=d#qwe, becomes
// https://www.foo.tld/?/one/two&a=b~and~c=d#qwe
// Note: this 404.html file must be at least 512 bytes for it to work
// with Internet Explorer (it is currently > 512 bytes)

// If you're creating a Project Pages site and NOT using a custom domain,
// then set pathSegmentsToKeep to 1 (enterprise users may need to set it to > 1).
// This way the code will only replace the route part of the path, and not
// the real directory in which the app resides, for example:
// https://username.github.io/repo-name/one/two?a=b&c=d#qwe becomes
// https://username.github.io/repo-name/?/one/two&a=b~and~c=d#qwe
// Otherwise, leave pathSegmentsToKeep as 0.
var pathSegmentsToKeep = 0;

var l = window.location;
l.replace(
l.protocol + '//' + l.hostname + (l.port ? ':' + l.port : '') +
l.pathname.split('/').slice(0, 1 + pathSegmentsToKeep).join('/') + '/?/' +
l.pathname.slice(1).split('/').slice(pathSegmentsToKeep).join('/').replace(/&/g, '~and~') +
(l.search ? '&' + l.search.slice(1).replace(/&/g, '~and~') : '') +
l.hash
);

</script>
</head>
<body>
</body>
</html>
1 change: 1 addition & 0 deletions docs/CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
www.uiua.org
Binary file added docs/DejaVuSans-Bold.ttf
Binary file not shown.
Binary file added docs/DejaVuSans-Oblique.ttf
Binary file not shown.
Binary file added docs/DejaVuSans.ttf
Binary file not shown.
Binary file added docs/DejaVuSansMono.ttf
Binary file not shown.
Binary file added docs/Uiua386.ttf
Binary file not shown.
Empty file added docs/blog/list.txt
Empty file.
Binary file added docs/favicon.ico
Binary file not shown.
94 changes: 94 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
<!DOCTYPE html><html lang="en"><head>
<title>Uiua</title>
<link rel="icon" href="/favicon.ico">
<noscript>
<style>
.jsonly {
display: none
}
</style>
</noscript>
<!-- Begin Single Page Apps for GitHub Pages -->
<script type="text/javascript">
// Single Page Apps for GitHub Pages
// MIT License
// https://github.com/rafgraph/spa-github-pages
// This script checks to see if a redirect is present in the query string,
// converts it back into the correct url and adds it to the
// browser's history using window.history.replaceState(...),
// which won't cause the browser to attempt to load the new url.
// When the single page app is loaded further down in this file,
// the correct url will be waiting in the browser's history for
// the single page app to route accordingly.
(function (l) {
if (l.search[1] === '/') {
var decoded = l.search.slice(1).split('&').map(function (s) {
return s.replace(/~and~/g, '&')
}).join('?');
window.history.replaceState(null, null,
l.pathname.slice(0, -1) + decoded + l.hash
);
}
}(window.location))
</script>
<!-- End Single Page Apps for GitHub Pages -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="A stack-based array programming language">
<script type="module">import init from '/site-6fc9b0e70e18f7e9.js';init('/site-6fc9b0e70e18f7e9_bg.wasm');</script>

<link rel="stylesheet" href="/styles-4122a81600599831.css">











<link rel="preload" href="/site-6fc9b0e70e18f7e9_bg.wasm" as="fetch" type="application/wasm" crossorigin="">
<link rel="modulepreload" href="/site-6fc9b0e70e18f7e9.js"></head>

<body>
<div id="top">
<div id="header">
<div id="header-left">
<h1><a id="header-uiua" href="/"></a><img src="/uiua-logo.png" style="height: 1em" alt="Uiua"> Uiua</h1>
<p id="subtitle">A stack-based array programming language</p>
</div>
<div id="nav">
<p><a class="pls-no-block" href="https://github.com/sponsors/uiua-lang">Support Uiua's development</a></p>
<p><a href="/">Home</a></p>
</div>
</div>
<div>
<div id="links">
<div>
<a href="/install">Installation</a>
<a href="/docs">Documentation</a>
<a href="/tour">Language Tour</a>
</div>
<div>
<a href="/pad">Pad</a>
<a href="https://discord.gg/3r9nrfYhCc">Discord</a>
<a href="https://github.com/uiua-lang/uiua">GitHub</a>
</div>
</div>
</div>
<div>
<p class="main-text">Uiua <span class="wee-wuh-span">(<i>wee-wuh</i>)</span>is a general purpose, stack-based,
array-oriented programming language with a focus on simplicity, beauty, and <a href="https://en.wikipedia.org/wiki/Tacit_programming">tacit</a> code.</p>
<p class="main-text">Uiua lets you write code that is as short as possible while remaining readable, so you can
focus on problems rather than ceremony.</p>
<noscript>
<p>JavaScript is required on this site. Please enable it and reload the page.</p>
</noscript>
<h3 class="jsonly running-text">Loading...</h3>
</div>
</div>


</body></html>
Loading

0 comments on commit 7e7b4a0

Please sign in to comment.