added models and new design
This commit is contained in:
parent
3d4e229916
commit
3c2fda5cf2
16 changed files with 52 additions and 37 deletions
|
|
@ -7,11 +7,11 @@
|
|||
<link rel="stylesheet" href="{{'css/style.css' | url}}">
|
||||
<title>{{ title }}</title>
|
||||
</head>
|
||||
<body>
|
||||
<body class="bg-gray-800">
|
||||
{% include "partials/nav.njk" %}
|
||||
|
||||
<main>
|
||||
<div class="container mx-auto py-4 px-4">
|
||||
<div class="container mx-auto py-5 px-5">
|
||||
{{ content | safe }}
|
||||
</div>
|
||||
</main>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
</foot>
|
||||
|
|
|
|||
|
|
@ -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">
|
||||
<span class="font-bold">luca-junge.de</span>
|
||||
<a href="/">Home</a>
|
||||
|
|
|
|||
|
|
@ -7,15 +7,15 @@
|
|||
<link rel="stylesheet" href="/css/style.css">
|
||||
<title>{{ title }}</title>
|
||||
</head>
|
||||
<body>
|
||||
<body class="bg-gray-800 text-gray-100">
|
||||
{% include "partials/nav.njk" %}
|
||||
|
||||
<aside>
|
||||
<aside class="mx-auto py-4 px-4">
|
||||
<h1>{{ title }}</h1>
|
||||
<span>von {{ author }} am {{ page.date | readableDate }}</span>
|
||||
</aside>
|
||||
|
||||
<main>
|
||||
<main class="mx-auto py-4 px-4">
|
||||
{{ content | safe }}
|
||||
</main>
|
||||
{% include "partials/footer.njk" %}
|
||||
|
|
|
|||
|
|
@ -3,41 +3,31 @@ layout: base.njk
|
|||
title: luca-junge.de
|
||||
---
|
||||
|
||||
<h1 class="mb-5 text-center md:text-left underline underline-offset-8 decoration-slate-300">Neueste Posts</h1>
|
||||
|
||||
<ul class="list-none list-inside">
|
||||
<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">
|
||||
{% for post in collections.post %}
|
||||
<li>
|
||||
<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}}">
|
||||
<h5 class="text-2xl font-bold tracking-tight text-slate-900">{{post.data.title}}</h5>
|
||||
</a>
|
||||
<div>
|
||||
<a href="{{post.url}}" class="inline-block md:inline-block text-2xl font-bold tracking-tight text-gray-100">{{post.data.title}}</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>
|
||||
</div>
|
||||
</li>
|
||||
{% 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="list-none list-inside">
|
||||
<ul class="grid gap-10 grid-cols-1 grid-rows-1 lg:grid-cols-3 lg:grid-rows-3">
|
||||
{% for post in collections.model %}
|
||||
<li>
|
||||
<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 md:h-auto md:w-48 md:rounded-none md:rounded-l-lg" src="{{ post.url }}thumbnail.jpg" alt="{{post.data.alt}}">
|
||||
<div class="flex flex-col justify-between p-4 leading-normal">
|
||||
<h5 class="mb-2 text-2xl font-bold tracking-tight text-slate-900 ">{{post.data.title}}</h5>
|
||||
<p class="mb-3 font-normal text-slate-700">{{post.data.alt}}</p>
|
||||
<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">
|
||||
<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}}">
|
||||
<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">
|
||||
<h5 class="text-2xl font-bold tracking-tight text-gray-100">{{post.data.title}}</h5>
|
||||
<p class="mb-3 font-normal text-gray-200">{{post.data.alt}}</p>
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
|
|
|||
4
src/models/amtsgericht-varel/index.md
Normal file
4
src/models/amtsgericht-varel/index.md
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
title: Amtsgericht Varel
|
||||
alt: Ein Teil der Frontseite des Amtsgerichts in Varel
|
||||
---
|
||||
BIN
src/models/amtsgericht-varel/model.glb
Normal file
BIN
src/models/amtsgericht-varel/model.glb
Normal file
Binary file not shown.
BIN
src/models/amtsgericht-varel/thumbnail-raw.png
Normal file
BIN
src/models/amtsgericht-varel/thumbnail-raw.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 300 KiB |
BIN
src/models/amtsgericht-varel/thumbnail.jpg
Normal file
BIN
src/models/amtsgericht-varel/thumbnail.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 40 KiB |
BIN
src/models/amtsgericht-varel/thumbnail.png
Normal file
BIN
src/models/amtsgericht-varel/thumbnail.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 302 KiB |
BIN
src/models/stadttheater-bremerhaven/thumbnail.png
Normal file
BIN
src/models/stadttheater-bremerhaven/thumbnail.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 179 KiB |
BIN
src/models/toy-duck/thumbnail-raw.png
Normal file
BIN
src/models/toy-duck/thumbnail-raw.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 179 KiB |
BIN
src/models/toy-duck/thumbnail.png
Normal file
BIN
src/models/toy-duck/thumbnail.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 130 KiB |
7
src/posts/building-meshlab-windows/index.md
Normal file
7
src/posts/building-meshlab-windows/index.md
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
title: Building Meshlab for Windows
|
||||
---
|
||||
|
||||
# Introduction
|
||||
|
||||
How to build meshlab for windows
|
||||
7
src/posts/godot-debugger/index.md
Normal file
7
src/posts/godot-debugger/index.md
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
title: My Godot Debugger Plugin
|
||||
---
|
||||
|
||||
# Todo
|
||||
|
||||
Todo
|
||||
7
src/posts/meshlab-blender-decimation-workflow/index.md
Normal file
7
src/posts/meshlab-blender-decimation-workflow/index.md
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
title: How to automate decimating meshes with MeshLab and Blender
|
||||
---
|
||||
|
||||
# ToDo
|
||||
|
||||
Explain workflow here
|
||||
Loading…
Add table
Add a link
Reference in a new issue