Skip to content

Commit c6f0ee4

Browse files
author
GitHub Actions
committed
Deploy contextgeneric/contextgeneric.dev to contextgeneric/contextgeneric.dev:gh-pages
0 parents  commit c6f0ee4

File tree

18 files changed

+1997
-0
lines changed

18 files changed

+1997
-0
lines changed

.nojekyll

Whitespace-only changes.

404.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<!doctype html>
2+
<title>404 Not Found</title>
3+
<h1>404 Not Found</h1>

CNAME

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
contextgeneric.dev

blog/early-preview-announcement/index.html

Lines changed: 408 additions & 0 deletions
Large diffs are not rendered by default.

blog/index.html

Lines changed: 157 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,157 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
4+
<head>
5+
<meta charset="UTF-8">
6+
<title>Blog | Context-Generic Programming </title>
7+
<meta property="og:title" content="Context-Generic Programming" />
8+
<meta property="og:description" content="Context-Generic Programming: A new modular programming paradim for Rust">
9+
<meta property="og:image" content="https://contextgeneric.dev/greet-snippet.png">
10+
<meta name="twitter:title" content="Context-Generic Programming">
11+
<meta name="twitter:description" content="Context-Generic Programming: A new modular programming paradim for Rust">
12+
<meta name="twitter:image" content="https://contextgeneric.dev/greet-snippet.png">
13+
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
14+
15+
<link rel="icon" type="image/png" href="/favicon.png" />
16+
17+
<style>
18+
:root {
19+
/* Primary theme color */
20+
--primary-color: #f7e5c6;
21+
/* Primary theme text color */
22+
/* --primary-text-color: #543631; */
23+
--primary-text-color: #000;
24+
--primary-text-color-over: #000;
25+
/* Primary theme link color */
26+
--primary-link-color: #c27e08;
27+
/* Secondary color: the background body color */
28+
--secondary-color: #fcfaf6;
29+
--secondary-text-color: #303030;
30+
/* Highlight text color of table of content */
31+
--toc-highlight-text-color: #c27e08;
32+
--toc-background-color: white;
33+
--shadow-color: #ddd;
34+
/* Font used for headers (h1 & h2) */
35+
--header-font-family: "Fira Sans", sans-serif;
36+
/* Font used for text */
37+
--text-font-family: "Fira Sans", sans-serif;
38+
}
39+
</style>
40+
41+
<link href="https://fonts.googleapis.com/css?family=Alfa+Slab+One&display=swap" rel="stylesheet">
42+
<link href="https://fonts.googleapis.com/css?family=Fira+Sans:400,500,600&display=swap" rel="stylesheet">
43+
44+
<link rel="stylesheet" href="/normalize.css">
45+
<link rel="stylesheet" href="https://www.contextgeneric.dev/juice.css">
46+
47+
<link rel="stylesheet" href="https://www.contextgeneric.dev/carbon.css">
48+
49+
</head>
50+
51+
<body>
52+
53+
<header class="box-shadow">
54+
55+
56+
<a href="https://www.contextgeneric.dev/">
57+
<div class="logo">
58+
<img src="https://www.contextgeneric.dev/rust-logo.svg" alt="logo">
59+
Context-Generic Programming
60+
</div>
61+
</a>
62+
63+
<nav>
64+
65+
66+
67+
<a class="nav-item subtitle-text" href="https://www.contextgeneric.dev/resources/">Resources</a>
68+
69+
70+
71+
72+
<a class="nav-item subtitle-text" href="/blog">Blog</a>
73+
74+
<a class="nav-item subtitle-text" href="https://patterns.contextgeneric.dev">Book</a>
75+
76+
<a class="nav-item subtitle-text" href="https://github.com/contextgeneric">GitHub</a>
77+
78+
79+
</nav>
80+
81+
</header>
82+
83+
84+
<main>
85+
86+
87+
88+
<div class="content text">
89+
90+
<div class="heading-text"></div>
91+
<h1 id="blog"><a class="zola-anchor" href="#blog" aria-label="Anchor link for: blog">Blog</a></h1>
92+
93+
94+
95+
96+
97+
<div>
98+
<h3>2025-01-09</h3>
99+
<p><a href="https:&#x2F;&#x2F;www.contextgeneric.dev&#x2F;blog&#x2F;v0-3-0-release&#x2F;">CGP Updates: v0.3.0 Release and New Chapters</a></p>
100+
<p class="lead">We’re excited to announce the release of v0.3.0 of the cgp crate, along with several new chapters of the CGP Patterns book!</p>
101+
</p>
102+
</div>
103+
104+
105+
<div>
106+
<h3>2024-12-19</h3>
107+
<p><a href="https:&#x2F;&#x2F;www.contextgeneric.dev&#x2F;blog&#x2F;early-preview-announcement&#x2F;">Announcing Context-Generic Programming (Early Preview)</a></p>
108+
<p class="lead">Welcome everyone! This blog post marks the launch of the context-generic programming (CGP) project, to introduce a new modular programming paradigm for Rust.</p>
109+
</p>
110+
</div>
111+
112+
113+
114+
</div>
115+
116+
117+
118+
</main>
119+
120+
121+
<footer>
122+
<small class="subtext" style="text-align: center;">
123+
<a href="https://maybevoid.com">MaybeVoid</a> © 2024
124+
<br />
125+
<a href="https://creativecommons.org/licenses/by-sa/4.0/?ref=chooser-v1" target="_blank" rel="license noopener noreferrer" style="display:inline-block;">
126+
CC BY-SA 4.0<img style="height:22px!important;margin-left:3px;vertical-align:text-bottom;" src="https://mirrors.creativecommons.org/presskit/icons/cc.svg?ref=chooser-v1" alt=""><img style="height:22px!important;margin-left:3px;vertical-align:text-bottom;" src="https://mirrors.creativecommons.org/presskit/icons/by.svg?ref=chooser-v1" alt=""><img style="height:22px!important;margin-left:3px;vertical-align:text-bottom;" src="https://mirrors.creativecommons.org/presskit/icons/sa.svg?ref=chooser-v1" alt="">
127+
</a>
128+
</small>
129+
</footer>
130+
131+
</body>
132+
<script>
133+
const scrollHandler = entries => {
134+
// Find the first entry which intersecting and ratio > 0.9 to highlight.
135+
let entry = entries.find(entry => {
136+
return entry.isIntersecting && entry.intersectionRatio > 0.9;
137+
});
138+
if (!entry) return;
139+
140+
document.querySelectorAll(".toc a").forEach((item) => {
141+
item.classList.remove("active");
142+
});
143+
144+
// let url = new URL(`#${entry.target.id}`);
145+
let link = document.querySelector(`.toc a[href$="${decodeURIComponent(`#${entry.target.id}`)}"]`)
146+
if (link) {
147+
link.classList.add("active");
148+
link.scrollIntoView({ behavior: "auto", block: "nearest" });
149+
}
150+
};
151+
// Set -100px root margin to improve highlight experience.
152+
const observer = new IntersectionObserver(scrollHandler, { threshold: 1 });
153+
let items = document.querySelectorAll('h1,h2,h3,h4,h5,h6');
154+
items.forEach(item => observer.observe(item));
155+
</script>
156+
157+
</html>

0 commit comments

Comments
 (0)