updated styles
authorBrendan Hansen <brendan.f.hansen@gmail.com>
Wed, 13 Dec 2023 22:02:22 +0000 (16:02 -0600)
committerBrendan Hansen <brendan.f.hansen@gmail.com>
Wed, 13 Dec 2023 22:02:22 +0000 (16:02 -0600)
www/static/css/new_style.css
www/templates/pages/community.html
www/templates/pages/homepage.html

index f4aa4515844840d18ddd607633b8531d6d7a73c8..6e6ebb447eddd29b56c3f0b366933072031a42a3 100644 (file)
@@ -199,6 +199,7 @@ h1, h2, h3, h4, h5, h6 {
 code {
     font-size: 0.9em;
     font-family: fira, monospace;
+    font-variant-ligatures: none !important;
 }
 
 p code {
index b1cafd77a931d6b39033a4d96b93c7eaa2d8e123..f40235cf7c572095cec5c300fd313c55c17a2a9d 100644 (file)
@@ -20,7 +20,7 @@ Onyx Community
     feature requests, and showing off your projects.
     </p>
     <div style="margin-top: 12px">
-        <a href="https://discord.gg/GVFamnQq" class="link-button">Join Discord</a>
+        <a href="https://discord.gg/bhuN36dqj7" class="link-button">Join Discord</a>
     </div>
 </div>
 
index 2f7126f5620f345574b3b1377ab41d6f855e41f9..4f58598f7930b8d26e8940a959403e6088bda727 100644 (file)
         <h2>Language Features</h2>
     </div>
 
+  <p>
+    For full language documentation and reference <a href="https://docs.onyxlang.io">see the Onyx Book</a>.
+  </p>
+
 <div class="scrollport">
 <div>
     <div>
         <h2>Syntax</h2>
         <br />
-        <p>Onyx uses a modernized C-like syntax, similar to Jai or Odin. Start learning the syntax from official <a href="https://docs.onyxlang.io/book">Language Reference Book</a>.</p>
+        <p>Onyx uses a modernized C-like syntax, similar to Jai or Odin. Onyx is a procedural language, but does allow for functional-inspired syntax using the pipe operator.
     </div>
 
     <pre class="hljs"><code class="language-onyx">use core { printf, iter }
@@ -177,7 +181,7 @@ main :: () {
     </p>
 
     <div style="margin-top: 12px">
-        <a href="https://discord.gg/GVFamnQq" class="link-button">Join Discord</a>
+        <a href="https://discord.gg/bhuN36dqj7" class="link-button">Join Discord</a>
         <a href="https://github.com/onyx-lang/onyx" class="link-button">Go to GitHub</a>
     </div>
 </div>