added models and new design

This commit is contained in:
Luca Junge 2023-01-29 19:21:42 +01:00
parent 3d4e229916
commit 3c2fda5cf2
16 changed files with 52 additions and 37 deletions

View file

@ -7,11 +7,11 @@
<link rel="stylesheet" href="{{'css/style.css' | url}}"> <link rel="stylesheet" href="{{'css/style.css' | url}}">
<title>{{ title }}</title> <title>{{ title }}</title>
</head> </head>
<body> <body class="bg-gray-800">
{% include "partials/nav.njk" %} {% include "partials/nav.njk" %}
<main> <main>
<div class="container mx-auto py-4 px-4"> <div class="container mx-auto py-5 px-5">
{{ content | safe }} {{ content | safe }}
</div> </div>
</main> </main>

View file

@ -1,3 +1,3 @@
<footer class="bg-white px-2 py-2 text-slate-800 font-bolder"> <footer class="px-2 py-2 text-gray-100 font-bolder">
<div class="text-center"></div> <div class="text-center"></div>
</foot> </foot>

View file

@ -1,4 +1,4 @@
<nav class="bg-white px-3 py-3 text-slate-800 font-bold border border-slate-100 border-b"> <nav class="bg-gray-900 px-3 py-3 text-white font-bold">
<div class="container flex flex-wrap justify-between items-center mx-auto"> <div class="container flex flex-wrap justify-between items-center mx-auto">
<span class="font-bold">luca-junge.de</span> <span class="font-bold">luca-junge.de</span>
<a href="/">Home</a> <a href="/">Home</a>

View file

@ -7,15 +7,15 @@
<link rel="stylesheet" href="/css/style.css"> <link rel="stylesheet" href="/css/style.css">
<title>{{ title }}</title> <title>{{ title }}</title>
</head> </head>
<body> <body class="bg-gray-800 text-gray-100">
{% include "partials/nav.njk" %} {% include "partials/nav.njk" %}
<aside> <aside class="mx-auto py-4 px-4">
<h1>{{ title }}</h1> <h1>{{ title }}</h1>
<span>von {{ author }} am {{ page.date | readableDate }}</span> <span>von {{ author }} am {{ page.date | readableDate }}</span>
</aside> </aside>
<main> <main class="mx-auto py-4 px-4">
{{ content | safe }} {{ content | safe }}
</main> </main>
{% include "partials/footer.njk" %} {% include "partials/footer.njk" %}

View file

@ -3,41 +3,31 @@ layout: base.njk
title: luca-junge.de title: luca-junge.de
--- ---
<h1 class="mb-5 text-center md:text-left underline underline-offset-8 decoration-slate-300">Neueste Posts</h1> <div class="grid gap-10 gap-x-24 sm:grid-cols-1 sm:grid-rows-1 md:grid-cols-2 md:grid-rows-2 md:mt-7">
<ul class="list-none list-inside">
{% for post in collections.post %} {% for post in collections.post %}
<li> <div>
<div class="p-3 sm:w-full md:max-w-lg bg-slate-50 border border-slate-200 rounded-lg shadow-lg"> <a href="{{post.url}}" class="inline-block md:inline-block text-2xl font-bold tracking-tight text-gray-100">{{post.data.title}}</a>
<a href="{{post.url}}">
<h5 class="text-2xl font-bold tracking-tight text-slate-900">{{post.data.title}}</h5>
</a>
<p class="text-slate-400 ml-1">{{post.data.author}} - {{post.date | readableDate }}</p> <span class="block md:inline-block text-sm md:ml-2 mb-2 text-gray-500">{{post.data.author}} - {{post.date | readableDate }}</span>
<p class="mb-3 font-normal text-slate-700">{{post.templateContent | excerpt}}</p> <p class="mb-3 font-normal text-gray-400">{{post.templateContent | excerpt}}</p>
<a href="{{post.url}}" class="inline-flex items-center py-2 px-3 text-sm font-bold text-center text-white bg-slate-700 rounded-lg hover:bg-slate-600 transition ease-in-out"> <a href="{{post.url}}" class="inline-flex items-center py-2 px-3 text-sm font-bold text-center text-white bg-gray-700 rounded-lg hover:bg-gray-600 transition ease-in-out">
Weiterlesen</a> Weiterlesen</a>
</div> </div>
</li>
{% endfor %} {% endfor %}
</ul> </div>
<hr class="my-8"> <hr class="my-14 md:my-14 h-px border-0 bg-gray-700">
<h1 class="mb-5 text-center md:text-left underline underline-offset-8 decoration-slate-300">Neueste Modelle</h1> <ul class="grid gap-10 grid-cols-1 grid-rows-1 lg:grid-cols-3 lg:grid-rows-3">
<ul class="list-none list-inside">
{% for post in collections.model %} {% for post in collections.model %}
<li> <a href="{{ post.url }}" class="flex flex-col items-center text-gray-100 bg-gray-700 rounded-lg lg:flex-row lg:max-w-xl hover:bg-gray-300 transition ease-in-out mb-5">
<a href="{{ post.url }}" class="flex flex-col items-center bg-slate-50 border border-slate-200 rounded-lg shadow-md md:flex-row md:max-w-xl hover:bg-slate-100 transition ease-in-out mb-5"> <img class="object-cover w-full h-96 rounded-t-lg lg:h-auto lg:w-48 lg:rounded-none lg:rounded-l-lg" src="{{ post.url }}thumbnail.png" alt="{{post.data.alt}}">
<img class="object-cover w-full h-96 rounded-t-lg md:h-auto md:w-48 md:rounded-none md:rounded-l-lg" src="{{ post.url }}thumbnail.jpg" alt="{{post.data.alt}}"> <div class="w-full h-full self-center py-3 px-4 leading-normal bg-gray-600 rounded-b-lg lg:rounded-b-none lg:rounded-r-lg">
<div class="flex flex-col justify-between p-4 leading-normal"> <h5 class="text-2xl font-bold tracking-tight text-gray-100">{{post.data.title}}</h5>
<h5 class="mb-2 text-2xl font-bold tracking-tight text-slate-900 ">{{post.data.title}}</h5> <p class="mb-3 font-normal text-gray-200">{{post.data.alt}}</p>
<p class="mb-3 font-normal text-slate-700">{{post.data.alt}}</p> </div>
</div> </a>
</a>
</li>
{% endfor %} {% endfor %}
</ul> </ul>

View file

@ -0,0 +1,4 @@
---
title: Amtsgericht Varel
alt: Ein Teil der Frontseite des Amtsgerichts in Varel
---

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 300 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 302 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 179 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 179 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 130 KiB

View file

@ -0,0 +1,7 @@
---
title: Building Meshlab for Windows
---
# Introduction
How to build meshlab for windows

View file

@ -0,0 +1,7 @@
---
title: My Godot Debugger Plugin
---
# Todo
Todo

View file

@ -0,0 +1,7 @@
---
title: How to automate decimating meshes with MeshLab and Blender
---
# ToDo
Explain workflow here