Przeglądaj źródła

Create the todo page.

Lee Morgan 3 miesięcy temu
rodzic
commit
54afc465a8

+ 4 - 1
routes/above_the_fold.neovan

@@ -18,7 +18,8 @@
         <div class="menu">
             <img class="menuLogo" src="/assets/logo.svg" alt="NeoVan Logo"> |
             <a href="#why">Why?</a> |
-            <a href="/docs">Docs</a> |
+            <a href="https://git.leemorgan.dev/Lee/NeoVan">Docs</a> |
+            <a href="/todo">TODO</a> |
         </div>
 
         <@ ./components/rotating_logo.neovan @>
@@ -53,6 +54,8 @@
         position: absolute;
         top: 0;
         left: 0;
+        padding: 0 25px;
+        box-sizing: border-box;
     }
 
     .menuLogo{

+ 5 - 0
routes/global.css

@@ -0,0 +1,5 @@
+*{
+    margin: 0;
+    padding: 0;
+    box-sizing: border-box;
+}

+ 1 - 1
routes/index.neovan

@@ -15,7 +15,7 @@
 <@/html>
 
 <@style>
-    *{padding:0;margin:0;box-sizing:border-box;}
+    *{margin: 0; padding: 0; box-sizing: border-box;}
 
     body{
         background: black;

+ 55 - 0
routes/todo/index.neovan

@@ -0,0 +1,55 @@
+<@html>
+    <!DOCTYPE html>
+    <html lang="en">
+        <head>
+            <meta charset="utf-8">
+            <title>TODO | NeoVan</title>
+            <meta name="viewport" content="width=device-width, initial-scale=1">
+        </head>
+        <body>
+            <h1>NeoVan TODO</h1>
+            <p>This is a non-exhaustive list of features that are intended to be added in the future.</p>
+            <p>*Note: Everything is currently experimental at the moment to see if there is interest in the project.</p>
+
+            <ul>
+                <li>Obvious improvement to parsing/building</li>
+                <li>Pre-fetching for links</li>
+                <li>URL parameters</li>
+                <li>Re-writing in Rust/Actix for better server performance</li>
+                <li>Add support for ".neovan" files for VSCode</li>
+                <li>Add scoping for components</li>
+            </ul>
+        </body>
+    </html>
+<@/html>
+
+<@style>
+    *{margin: 0; padding: 0; box-sizing: border-box;}
+
+    body{
+        height: 100%;
+        width: 100%;
+        display: flex;
+        flex-direction: column;
+        align-items: center;
+        background: black;
+        color: white;
+        margin: 25px;
+        box-sizing: border-box;
+    }
+
+    h1{
+        color: #00ccaa;
+        margin-bottom: 35px;
+    }
+
+    p{
+        margin-bottom: 15px;
+        font-size: 22px;
+    }
+
+    li{
+        font-size: 24px;
+        margin: 10px 0;
+    }
+<@/style>

+ 2 - 2
routes/why.neovan

@@ -15,9 +15,7 @@
         display: flex;
         flex-direction: column;
         align-items: center;
-        margin: 0 15px;
         width: 100%;
-        padding: 0 calc((100vw - 1250px) / 2);
     }
 
     #why p{
@@ -25,5 +23,7 @@
         margin-bottom: 35px;
         line-height: 35px;
         color: white;
+        max-width: 1250px;
+        padding: 0 15px;
     }
 <@/style>