Skip to content

Commit 46085f5

Browse files
committed
Add banner about 1.4.0 release
1 parent dbcb846 commit 46085f5

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

sitegen/tutorial.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ export default (doc: HTMLDocument) => {
88

99
return div({id: "content"},
1010
H1(VanJS(), ": Tutorial and API Reference"),
11+
p(
12+
div("📣 ", Link(VanJS(), "'s API was simplified in 1.4.0, see the release notes and migration guide →", "https://github.com/vanjs-org/van/discussions/280")),
13+
),
1114
Quote({text: ["Entia non sunt multiplicanda praeter necessitatem", br(), "(The best solution is usually the one with the least unnecessary complexity)"], source: "Occam's Razor"}),
1215
p("In this tutorial, we will break down into 3 core functionalities ", VanJS(), " supports: DOM composition / manipulation, State and State binding."),
1316
H2({id: "dom"}, "DOM Composition and Manipulation"),

tutorial.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ <h1 class="w3-padding-16 w3-xxxlarge">
5050
<!-- !PAGE CONTENT! -->
5151
<div class="w3-main" style="margin-left:300px;">
5252
<div id="page">
53-
<div id="content"><h1 class="w3-xxlarge"><b>VanJS</b>: Tutorial and API Reference</h1><blockquote><i>Entia non sunt multiplicanda praeter necessitatem<br>(The best solution is usually the one with the least unnecessary complexity)<br><br>-- Occam's Razor</i></blockquote><p>In this tutorial, we will break down into 3 core functionalities <b>VanJS</b> supports: DOM composition / manipulation, State and State binding.</p><h2 class="w3-xxlarge w3-text-red" id="dom"><a class="self-link" href="#dom">DOM Composition and Manipulation</a></h2><hr style="width:50px;border:5px solid red" class="w3-round"><h3 class="w3-large w3-text-red" id="your-first-vanjs-app-a-simple-hello-page"><a class="self-link" href="#your-first-vanjs-app-a-simple-hello-page">Your first VanJS app: a simple <code class="symbol">Hello</code> page</a></h3><p>We will start this tutorial with a simple <code class="symbol">Hello</code> page, with the code below:</p><pre><code class="language-js">const {a, div, li, p, ul} = van.tags
53+
<div id="content"><h1 class="w3-xxlarge"><b>VanJS</b>: Tutorial and API Reference</h1><p></p><div>📣 <a href="https://github.com/vanjs-org/van/discussions/280" class="w3-hover-opacity"><b>VanJS</b>'s API was simplified in 1.4.0, see the release notes and migration guide →</a></div><p></p><blockquote><i>Entia non sunt multiplicanda praeter necessitatem<br>(The best solution is usually the one with the least unnecessary complexity)<br><br>-- Occam's Razor</i></blockquote><p>In this tutorial, we will break down into 3 core functionalities <b>VanJS</b> supports: DOM composition / manipulation, State and State binding.</p><h2 class="w3-xxlarge w3-text-red" id="dom"><a class="self-link" href="#dom">DOM Composition and Manipulation</a></h2><hr style="width:50px;border:5px solid red" class="w3-round"><h3 class="w3-large w3-text-red" id="your-first-vanjs-app-a-simple-hello-page"><a class="self-link" href="#your-first-vanjs-app-a-simple-hello-page">Your first VanJS app: a simple <code class="symbol">Hello</code> page</a></h3><p>We will start this tutorial with a simple <code class="symbol">Hello</code> page, with the code below:</p><pre><code class="language-js">const {a, div, li, p, ul} = van.tags
5454

5555
const Hello = () =&gt; div(
5656
p("👋Hello"),

tutorial/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ <h1 class="w3-padding-16 w3-xxxlarge">
5050
<!-- !PAGE CONTENT! -->
5151
<div class="w3-main" style="margin-left:300px;">
5252
<div id="page">
53-
<div id="content"><h1 class="w3-xxlarge"><b>VanJS</b>: Tutorial and API Reference</h1><blockquote><i>Entia non sunt multiplicanda praeter necessitatem<br>(The best solution is usually the one with the least unnecessary complexity)<br><br>-- Occam's Razor</i></blockquote><p>In this tutorial, we will break down into 3 core functionalities <b>VanJS</b> supports: DOM composition / manipulation, State and State binding.</p><h2 class="w3-xxlarge w3-text-red" id="dom"><a class="self-link" href="#dom">DOM Composition and Manipulation</a></h2><hr style="width:50px;border:5px solid red" class="w3-round"><h3 class="w3-large w3-text-red" id="your-first-vanjs-app-a-simple-hello-page"><a class="self-link" href="#your-first-vanjs-app-a-simple-hello-page">Your first VanJS app: a simple <code class="symbol">Hello</code> page</a></h3><p>We will start this tutorial with a simple <code class="symbol">Hello</code> page, with the code below:</p><pre><code class="language-js">const {a, div, li, p, ul} = van.tags
53+
<div id="content"><h1 class="w3-xxlarge"><b>VanJS</b>: Tutorial and API Reference</h1><p></p><div>📣 <a href="https://github.com/vanjs-org/van/discussions/280" class="w3-hover-opacity"><b>VanJS</b>'s API was simplified in 1.4.0, see the release notes and migration guide →</a></div><p></p><blockquote><i>Entia non sunt multiplicanda praeter necessitatem<br>(The best solution is usually the one with the least unnecessary complexity)<br><br>-- Occam's Razor</i></blockquote><p>In this tutorial, we will break down into 3 core functionalities <b>VanJS</b> supports: DOM composition / manipulation, State and State binding.</p><h2 class="w3-xxlarge w3-text-red" id="dom"><a class="self-link" href="#dom">DOM Composition and Manipulation</a></h2><hr style="width:50px;border:5px solid red" class="w3-round"><h3 class="w3-large w3-text-red" id="your-first-vanjs-app-a-simple-hello-page"><a class="self-link" href="#your-first-vanjs-app-a-simple-hello-page">Your first VanJS app: a simple <code class="symbol">Hello</code> page</a></h3><p>We will start this tutorial with a simple <code class="symbol">Hello</code> page, with the code below:</p><pre><code class="language-js">const {a, div, li, p, ul} = van.tags
5454

5555
const Hello = () =&gt; div(
5656
p("👋Hello"),

0 commit comments

Comments
 (0)