reduced image size, changed sections on index

This commit is contained in:
Luca 2024-11-15 11:45:18 +01:00
parent 83737bd3a6
commit c4316e4cdf
16 changed files with 97 additions and 104 deletions

View file

@ -28,6 +28,11 @@
<i class="fa-brands fa-github"></i> <i class="fa-brands fa-github"></i>
</a> </a>
</li> </li>
<li id="mastodon-nav">
<a href="https://fosstodon.org/@ljunge/" title="Mastodon Profile">
<i class="fa-brands fa-mastodon"></i>
</a>
</li>
<li id="menu-button"> <li id="menu-button">
<a title="Show or hide menu"> <a title="Show or hide menu">
<i class="fa fa-solid fa-bars"></i> <i class="fa fa-solid fa-bars"></i>

View file

@ -7,6 +7,7 @@
<link rel="stylesheet" href="/css/style.css"> <link rel="stylesheet" href="/css/style.css">
<link rel="stylesheet" href="/libraries/fontawesome/css/all.css"> <link rel="stylesheet" href="/libraries/fontawesome/css/all.css">
<link rel="manifest" href="/pwa.webmanifest" /> <link rel="manifest" href="/pwa.webmanifest" />
<link href="https://fosstodon.org/@ljunge" rel="me">
<title>{{ title }}</title> <title>{{ title }}</title>
</head> </head>
<body> <body>

View file

@ -3,7 +3,7 @@ set -euo pipefail
# Call this from the repo folder # Call this from the repo folder
for image in src/_assets/images/original/*.{jpg,png}; do for image in public/images/original/*.{jpg,png}; do
#echo "Converting $image ..." #echo "Converting $image ..."
filename=$(basename -- "$image") filename=$(basename -- "$image")
@ -18,5 +18,5 @@ for image in src/_assets/images/original/*.{jpg,png}; do
imageextension="${filename##*.}" imageextension="${filename##*.}"
echo "${imagefolder}${imagefilename}_mobile.${imageextension}" echo "${imagefolder}${imagefilename}_mobile.${imageextension}"
convert "$image" -resize 1500 -strip -quality 85 "${imagefolder}${imagefilename}_mobile.jpg" magick "$image" -resize 1000 -strip -quality 70 "${imagefolder}${imagefilename}_mobile.jpg"
done done

View file

@ -6,7 +6,7 @@ permalink: /contact/index.html
<section> <section>
<div class="section-content"> <div class="section-content">
<p>Feel free to contact me via <a href="mailto:mail@luca-junge.de">mail@luca-junge.de</a> <p>Feel free to contact me at <a href="mailto:mail@luca-junge.de">mail@luca-junge.de</a>
</p> </p>
</div> </div>

View file

@ -1,120 +1,118 @@
#navigation { #navigation {
position: relative; position: relative;
z-index: 2; z-index: 2;
background-color: rgba(0, 0, 0, 0.4); background-color: rgba(0, 0, 0, 0.4);
padding: 12px; padding: 12px;
-webkit-backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
backdrop-filter: blur(4px); backdrop-filter: blur(4px);
margin-bottom: -70px; margin-bottom: -70px;
outline: 1px solid rgba(0, 0, 0, 0.6); outline: 1px solid rgba(0, 0, 0, 0.6);
} }
#navigation a { #navigation a {
text-decoration: none; text-decoration: none;
color: #ffffff; color: #ffffff;
} }
#navigation ul { #navigation ul {
display: flex; display: flex;
gap: 18px; gap: 18px;
flex-direction: row; flex-direction: row;
justify-content: center; justify-content: center;
align-items: baseline; align-items: baseline;
list-style-type: none; list-style-type: none;
margin: 0px; margin: 0px;
padding: 0px; padding: 0px;
font-weight: bold; font-weight: bold;
} }
#navigation a { #navigation a {
padding: 8px; padding: 8px;
display: inline-block; display: inline-block;
transition: background-color 0.25s ease-in-out; transition: background-color 0.25s ease-in-out;
border-radius: 4px; border-radius: 4px;
} }
#navigation a:hover, #navigation a:hover,
#navigation a:focus-visible { #navigation a:focus-visible {
outline: 1px solid rgba(255, 255, 255, 0.05); outline: 1px solid rgba(255, 255, 255, 0.05);
background-color: rgba(255, 255, 255, 0.2); background-color: rgba(255, 255, 255, 0.2);
} }
#navigation img { #navigation img {
height: 1em; height: 1em;
object-fit: contain; object-fit: contain;
} }
#navigation .icon-button a { #navigation .icon-button a {
padding: 8px; padding: 8px;
} }
#navigation .icon-button { #navigation .icon-button {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
} }
#navigation .icon-button img { #navigation .icon-button img {
vertical-align: middle; vertical-align: middle;
} }
#navigation #menu-button { #navigation #menu-button {
display: none; display: none;
} }
#navigation #install-button { #navigation #install-button {
display: none; display: none;
background: linear-gradient(to right, #ad5389, #3c1053); background: linear-gradient(to right, #ad5389, #3c1053);
border-radius: 4px; border-radius: 4px;
cursor: pointer; cursor: pointer;
} }
/* Breakpoints */ /* Breakpoints */
@media (max-width: 512px) { @media (max-width: 512px) {
#navigation nav ul { #navigation nav ul {
justify-content: space-between; justify-content: space-between;
} }
#navigation nav ul li { #navigation nav ul li {
display: none; display: none;
} }
#navigation li#menu-button, #navigation li#menu-button,
#navigation li#home-nav, #navigation li#home-nav,
#navigation li#contact-nav { #navigation li#contact-nav {
display: inline-block; display: inline-block;
} }
/* Hide all buttons except home and menu */ /* Hide all buttons except home and menu */
/*#navigation nav ul li *:not(a.menu-button), /*#navigation nav ul li *:not(a.menu-button),
#navigation :not(a.home-button) { #navigation :not(a.home-button) {
display: none; display: none;
}*/ }*/
/* This should always be the same header image as the hero element */ /* This should always be the same header image as the hero element */
#navigation.open { #navigation.open {
padding: 0px; padding: 0px;
/*background-color: rgba(59, 66, 82, 1);*/ background-color: #342e37;
background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), background-position: top left;
url("/assets/images/hero_image2_mobile.jpg"); background-size: cover;
background-position: top left; object-fit: cover;
background-size: cover; }
object-fit: cover;
}
#navigation.open nav ul { #navigation.open nav ul {
padding: 12px; padding: 12px;
-webkit-backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
backdrop-filter: blur(4px); backdrop-filter: blur(4px);
} }
#navigation.open ul { #navigation.open ul {
justify-content: space-between; justify-content: space-between;
flex-direction: column; flex-direction: column;
} }
#navigation.open nav ul li { #navigation.open nav ul li {
display: inline-block; display: inline-block;
} }
} }

View file

@ -11,7 +11,7 @@ permalink: /index.html
</div> </div>
<div> <div>
<p> <p>
I'm Luca Junge, a web developer specializing on interactive progressive web apps and 3D content.</p> I'm Luca Junge ― a web developer creating 3D Applications and Tools</p>
</div> </div>
</div> </div>
</section> </section>
@ -22,31 +22,8 @@ permalink: /index.html
<h1>Interactive Applications & Games</h1> <h1>Interactive Applications & Games</h1>
</div> </div>
<div> <div>
<p>Most of my work is created using standard web technologies in combination with open source libraries like three.js.</p> <p>My focus is on interactive applications in the museum context</p>
<p>For more demanding projects I am using the Godot Engine.</p> <p></p>
</div>
</div>
</section>
<section class="section-background" style="display: none; background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/images/portfolio_mobile.jpg');">
<div class="section-content">
<div>
<h1>Open Source Workflow</h1>
</div>
<div>
<p>My projects rely on various open source projects like Meshlab, Blender, Meshroom, Godot Engine and more.</p>
</div>
</div>
</section>
<section class="section-background" style="background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/images/portfolio_mobile.jpg');">
<div class="section-content">
<div>
<h1>My Portfolio</h1>
</div>
<div>
<p>I want to publish and show some of my demo projects here. Feel free to check them out and look at the source code.</p>
<a class="button" href="/portfolio/">Take a look at my projects</a>
</div> </div>
</div> </div>
</section> </section>
@ -54,11 +31,23 @@ permalink: /index.html
<section class="section-background" style="background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/images/blog_mobile.jpg');"> <section class="section-background" style="background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/images/blog_mobile.jpg');">
<div class="section-content"> <div class="section-content">
<div> <div>
<h1>My Blog</h1> <h1>Open-Source Workflow and Tools</h1>
</div> </div>
<div> <div>
<p>Whenever I see a new technique or discover something useful, I'm writing a blog post about it!</p> <p>Every part of my workflow uses open-source tools and software:</p>
<a class="button" href="/blog/">Visit</a> <p>VS Codium, three.js, Godot Engine, Meshlab, Meshroom, Instant Meshes & more</p>
</div> </div>
</div> </div>
</section> </section>
<!--section class="section-background" style="background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/images/blog_mobile.jpg');">
<div class="section-content">
<div>
<h1>My Blog</h1>
</div>
<div>
<p></p>
<a class="button" href="/blog/">Visit</a>
</div>
</div>
</section-->

Binary file not shown.

Before

Width:  |  Height:  |  Size: 484 KiB

After

Width:  |  Height:  |  Size: 169 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 407 KiB

After

Width:  |  Height:  |  Size: 139 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 266 KiB

After

Width:  |  Height:  |  Size: 95 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 347 KiB

After

Width:  |  Height:  |  Size: 104 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 188 KiB

After

Width:  |  Height:  |  Size: 65 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 302 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 241 KiB

After

Width:  |  Height:  |  Size: 84 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 420 KiB

After

Width:  |  Height:  |  Size: 129 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 161 KiB

After

Width:  |  Height:  |  Size: 62 KiB

Before After
Before After