]> git.frustrated-labs.net Git - frustrated-functor.dev.git/commitdiff
feat: add projects and devlog sections
authorAlexander Goussas <[email protected]>
Sun, 31 May 2026 21:37:48 +0000 (16:37 -0500)
committerAlexander Goussas <[email protected]>
Sun, 31 May 2026 21:37:48 +0000 (16:37 -0500)
assets/larousse-api.png [new file with mode: 0644]
assets/projects.css [new file with mode: 0644]
bin/zine
content/devlog.smd [new file with mode: 0644]
content/projects.smd [new file with mode: 0644]
layouts/index.shtml
layouts/projects.shtml [new file with mode: 0644]
layouts/templates/base.shtml

diff --git a/assets/larousse-api.png b/assets/larousse-api.png
new file mode 100644 (file)
index 0000000..1acf2c5
Binary files /dev/null and b/assets/larousse-api.png differ
diff --git a/assets/projects.css b/assets/projects.css
new file mode 100644 (file)
index 0000000..22fef9e
--- /dev/null
@@ -0,0 +1,7 @@
+figure {
+  text-align: center;
+
+  img {
+    max-height: 300px;
+  }
+}
index 97d9e422b3917466097d438dbb5dfef5f798733d..7e77f358d96dd6564267561845f15489e644b8c4 100755 (executable)
Binary files a/bin/zine and b/bin/zine differ
diff --git a/content/devlog.smd b/content/devlog.smd
new file mode 100644 (file)
index 0000000..6c81dd3
--- /dev/null
@@ -0,0 +1,20 @@
+---
+.title = "Devlog",
+.date = @date("1990-01-01T00:00:00"),
+.author = "Alexander Goussas",
+.layout = "page.shtml",
+.draft = false,
+--- 
+
+## About
+
+I started this devlog to keep track of the things I'm working on that not
+necessarily merit a YouTube video on their on. It's written in a flow of
+conscience way, so I cannot promise it to make sense.
+
+## Updates
+
+### 31.05.2026
+
+- Created a web ui for larousse API. Used Quarkus' templating engine, Qute.
+- Opened a MR in the Zine repository to add a `containsAny` helper: https://github.com/kristoff-it/zine/pull/224.
diff --git a/content/projects.smd b/content/projects.smd
new file mode 100644 (file)
index 0000000..48fcfda
--- /dev/null
@@ -0,0 +1,17 @@
+---
+.title = "Projects",
+.date = @date("1990-01-01T00:00:00"),
+.author = "Alexander Goussas",
+.layout = "projects.shtml",
+.draft = false,
+--- 
+
+## larousse API
+
+![Larousse API's Web UI](/larousse-api.png)
+
+A REST API that serves word translations and definitions, with an accompanying
+web ui à la Google Translate, but less crappy.
+
+- Source code: https://git.frustrated-labs.net/?p=larousseapi;a=summary
+- Project website: https://lang.frustrated-labs.net/#
index a7f6b958a739b7bf0130b1344606e42b9614b8c8..8205e3700333a6645635559eac89d292e9e06f71 100644 (file)
@@ -7,7 +7,7 @@
        <div>
                <h2>Posts</h2>
                <ul :loop="$page.subpages()" id="posts">
-      <li class="post-preview">
+      <li class="post-preview" :if="$loop.it.title.containsAny('Devlog', 'Project').not()">
                          <span :text="$loop.it.date.format('January 02, 2006')"></span>
                          <a href="$loop.it.link()">
                                <h3 :text="$loop.it.title"></h3>
diff --git a/layouts/projects.shtml b/layouts/projects.shtml
new file mode 100644 (file)
index 0000000..b60c249
--- /dev/null
@@ -0,0 +1,8 @@
+<extend template="base.shtml">
+<head id="head">
+               <link type="text/css" rel="stylesheet" href="$site.asset('projects.css').link()">
+</head>
+<body id="body">
+       <h1 :text="$page.title"></h1>
+       <div :html="$page.content()"></div>
+</body>
index a946fe6e1c2afca02f9c1a05165bd901a18374fb..6ac93026df5c075c2b2b2d7e6e0baae2fee78ad3 100644 (file)
           <li class="nav-item" style="background-color: yellow; color: black;">
                              <a href="$site.page('').link()">home</a>
           </li>
+          <li class="nav-item" style="background-color: darkseagreen; color: black;">
+                             <a href="$site.page('devlog').link()">devlog</a>
+          </li>
+          <li class="nav-item" style="background-color: lavender; color: black;">
+                             <a href="$site.page('projects').link()">projects</a>
+          </li>
           <li class="nav-item">
             <a href="https://youtube.com/@aloussase" target="_blank">youtube</a>
           </li>
-          <li class="nav-item" style="background-color: purple;">
+          <li class="nav-item" style="background-color: darkslateblue;">
             <a href="https://github.com/aloussase" target="_blank">github</a>
           </li>
-          <li class="nav-item" style="background-color: blue;">
+          <li class="nav-item" style="background-color: dodgerblue;">
             <a href="https://linkedin.com/in/alexander-goussas" target="_blank">linkedin</a>
           </li>
-          <li class="nav-item" style="background-color: red;">
+          <li class="nav-item" style="background-color: tomato;">
             <a href="/rss.xml" target="_blank">rss</a>
           </li>
         </ul>