-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deploy kast-lang/kast to kast-lang/kast:gh-pages
- Loading branch information
GitHub Actions
committed
Jul 24, 2024
0 parents
commit 84af5a5
Showing
15 changed files
with
1,017 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
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,3 @@ | ||
<!doctype html> | ||
<title>404 Not Found</title> | ||
<h1>404 Not Found</h1> |
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 @@ | ||
kast-lang.org |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,162 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
<title>Current progress | </title> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | ||
|
||
<link rel="icon" type="image/png" href="/favicon.ico"> | ||
|
||
<style> | ||
:root { | ||
/* Primary theme color */ | ||
--primary-color: #FED43F; | ||
/* Primary theme text color */ | ||
--primary-text-color: #543631; | ||
--primary-text-color-over: #000; | ||
/* Primary theme link color */ | ||
--primary-link-color: #F9BB2D; | ||
/* Secondary color: the background body color */ | ||
--secondary-color: #fcfaf6; | ||
--secondary-text-color: #303030; | ||
/* Highlight text color of table of content */ | ||
--toc-highlight-text-color: #d46e13; | ||
--toc-background-color: white; | ||
--code-color: #4a4a4a; | ||
--code-background-color: white; | ||
|
||
--shadow-color: #ddd; | ||
|
||
/* Font used for headers (h1 & h2) */ | ||
--header-font-family: "Fira Sans", sans-serif; | ||
/* Font used for text */ | ||
--text-font-family: "Fira Sans", sans-serif; | ||
} | ||
|
||
@media (prefers-color-scheme: dark) { | ||
:root { | ||
--primary-color: #382929; | ||
--primary-text-color: #d7d7d7; | ||
--primary-text-color-over: #FFF; | ||
--primary-link-color: #9b9b9b; | ||
--secondary-color: #282828; | ||
--secondary-text-color: #f2f2f2; | ||
--toc-highlight-text-color: #f2f2f2; | ||
--toc-background-color: #3a3a3a; | ||
--code-color: white; | ||
--code-background-color: #4a4a4a; | ||
|
||
--shadow-color: #202020; | ||
--header-font-family: "Fira Sans", sans-serif; | ||
--text-font-family: "Fira Sans", sans-serif; | ||
} | ||
} | ||
</style> | ||
|
||
|
||
<link href="https://fonts.googleapis.com/css?family=Alfa+Slab+One&display=swap" rel="stylesheet"> | ||
<link href="https://fonts.googleapis.com/css?family=Fira+Sans:400,500,600&display=swap" rel="stylesheet"> | ||
|
||
<link rel="stylesheet" href="/normalize.css"> | ||
<link rel="stylesheet" href="https://kast-lang.org/juice.css"> | ||
|
||
<link rel="stylesheet" href="https://kast-lang.org/carbon.css"> | ||
|
||
</head> | ||
|
||
<body> | ||
|
||
<header class="box-shadow"> | ||
|
||
|
||
<a href="https://kast-lang.org/"> | ||
<div class="logo"> | ||
<img src="https://kast-lang.org/logo.png" alt="logo"> | ||
Kast | ||
</div> | ||
</a> | ||
|
||
<nav> | ||
|
||
|
||
|
||
<a class="nav-item subtitle-text" href="https://kast-lang.org/implementation/">Current progress</a> | ||
|
||
|
||
|
||
|
||
<a class="nav-item subtitle-text" href="https://github.com/kast-lang/kast">Github</a> | ||
|
||
|
||
</nav> | ||
|
||
</header> | ||
|
||
|
||
<main> | ||
|
||
|
||
|
||
|
||
|
||
<div class="toc"> | ||
<div class="toc-sticky"> | ||
|
||
<div class="toc-item"> | ||
<a class="subtext" href="https://kast-lang.org/implementation/#todo">TODO</a> | ||
</div> | ||
|
||
|
||
</div> | ||
</div> | ||
|
||
|
||
|
||
<div class="content text"> | ||
|
||
<div class="heading-text">Current progress</div> | ||
<h1 id="todo">TODO</h1> | ||
<p>On this page i will tell about the current implementation progress</p> | ||
|
||
|
||
</div> | ||
|
||
|
||
|
||
</main> | ||
|
||
|
||
<footer> | ||
<small class="subtext"> | ||
<a href="https://huhu.io">Huhu.io</a> © 2021 | ||
</small> | ||
</footer> | ||
|
||
</body> | ||
<script> | ||
const scrollHandler = entries => { | ||
// Find the first entry which intersecting and ratio > 0.9 to highlight. | ||
let entry = entries.find(entry => { | ||
return entry.isIntersecting && entry.intersectionRatio > 0.9; | ||
}); | ||
if (!entry) return; | ||
|
||
document.querySelectorAll(".toc a").forEach((item) => { | ||
item.classList.remove("active"); | ||
}); | ||
|
||
// let url = new URL(`#${entry.target.id}`); | ||
let link = document.querySelector(`.toc a[href$="${decodeURIComponent(`#${entry.target.id}`)}"]`) | ||
if (link) { | ||
link.classList.add("active"); | ||
link.scrollIntoView({ behavior: "auto", block: "nearest" }); | ||
} | ||
}; | ||
// Set -100px root margin to improve highlight experience. | ||
const observer = new IntersectionObserver(scrollHandler, { threshold: 1 }); | ||
let items = document.querySelectorAll('h1,h2,h3,h4,h5,h6'); | ||
items.forEach(item => observer.observe(item)); | ||
</script> | ||
|
||
</html> |
Oops, something went wrong.