fix: better SEO

This commit is contained in:
webfussel 2024-06-20 09:54:34 +02:00
parent 98dbd00c1f
commit 1015d6f3b4
6 changed files with 36 additions and 15 deletions

View file

@ -8,8 +8,8 @@
<script setup> <script setup>
useSeoMeta({ useSeoMeta({
title: 'webfussel | mehr Fussel im Web', title: 'webfussel | mehr Fussel im Web by Fiona Urban',
description: 'Du brauchst was fürs Web? Komponenten, APIs oder Fullstack? Kein Ding.', description: 'Du brauchst was fürs Web? Komponenten, APIs oder Fullstack? Kein Ding. Fiona Urban erledigt das.',
author: 'webfussel', author: 'webfussel',
robots: 'index, follow', robots: 'index, follow',
themeColor: '#2a2723', themeColor: '#2a2723',

View file

@ -77,7 +77,7 @@ h1, h2, h3, h4, h5, h6 {
font-family: 'Roboto Condensed', sans-serif; font-family: 'Roboto Condensed', sans-serif;
} }
h2 { h1 {
font-size: 4rem; font-size: 4rem;
} }

View file

@ -30,7 +30,9 @@
} }
} }
& h1 { & strong {
font-family: 'Roboto Condensed', sans-serif;
font-size: 1.5rem;
flex: 2; flex: 2;
cursor: default; cursor: default;
display: flex; display: flex;

View file

@ -4,14 +4,14 @@
display: grid; display: grid;
grid-template-columns: 1fr 1fr; grid-template-columns: 1fr 1fr;
.intro-img { & .intro-img {
width: 750px; width: 750px;
display: flex; display: flex;
position: absolute; position: absolute;
bottom: 0; bottom: 0;
right: 0; right: 0;
img { & img {
transition: 250ms; transition: 250ms;
position: relative; position: relative;
width: 100%; width: 100%;
@ -23,7 +23,26 @@
justify-content: center; justify-content: center;
z-index: 1; z-index: 1;
.fulltext { & h1 {
position: relative;
& small {
position: absolute;
font-size: 1.5rem;
rotate: -30deg;
translate: -30px -20px;
&:before {
content: '(';
}
&:after {
content: ')';
}
}
}
& .fulltext {
color: var(--color-white); color: var(--color-white);
} }
} }
@ -31,7 +50,7 @@
@media (width <= 430px) { @media (width <= 430px) {
.Intro { .Intro {
.intro-img{ & .intro-img{
width: 430px; width: 430px;
} }
} }
@ -46,7 +65,7 @@
} }
& .intro-text, & .intro-text,
& h2{ & h1 {
align-items: center; align-items: center;
text-align: center; text-align: center;
} }

View file

@ -2,7 +2,7 @@
<div ref="stickyWatch" /> <div ref="stickyWatch" />
<header ref="header" class="Header"> <header ref="header" class="Header">
<div ref="headerWrapper" class="wrapper z-0"> <div ref="headerWrapper" class="wrapper z-0">
<h1> <strong>
<svg aria-label="Logo" class="logo" height="40" viewBox="0 0 2500 2500" width="40"> <svg aria-label="Logo" class="logo" height="40" viewBox="0 0 2500 2500" width="40">
<g id="Logo"> <g id="Logo">
<g transform="matrix(2.00744,0,-5.91646e-31,2.00744,-1223.85,-1050.52)"> <g transform="matrix(2.00744,0,-5.91646e-31,2.00744,-1223.85,-1050.52)">
@ -21,7 +21,7 @@
</g> </g>
</svg> </svg>
webfussel webfussel
</h1> </strong>
<input id="navToggle" v-model="isBurgerOpen" type="checkbox"> <input id="navToggle" v-model="isBurgerOpen" type="checkbox">
<label :aria-label="burgerLabel" for="navToggle"> <label :aria-label="burgerLabel" for="navToggle">
<span/><span/><span/><span/> <span/><span/><span/><span/>

View file

@ -1,10 +1,10 @@
<template> <template>
<section id="intro" class="Intro content full default-gap"> <section id="intro" class="Intro content full default-gap">
<div class="intro-text flex-col default-gap"> <div class="intro-text flex-col default-gap">
<h2 class="flex-col"> <h1 class="flex-col">
<span class="greeting">Moin.</span> <span class="greeting">Moin.</span>
<span class="my-name-wrapper">Ich bin <span class="highlight">Fiona</span>.</span> <span class="my-name-wrapper">Ich bin <span class="highlight">Fiona</span><small>Urban</small>.</span>
</h2> </h1>
<h3> <h3>
Component <span class="highlight">&</span> API Entwicklerin Component <span class="highlight">&</span> API Entwicklerin
</h3> </h3>
@ -24,7 +24,7 @@
<div class="intro-img"> <div class="intro-img">
<picture> <picture>
<source width="750" height="866" media="(min-width: 431px)" srcset="/img/profile_big.webp" /> <source width="750" height="866" media="(min-width: 431px)" srcset="/img/profile_big.webp" />
<img width="430" height="866" src="/img/profile_small.webp" alt="Bild von mir" /> <img width="430" height="866" src="/img/profile_small.webp" alt="Bild von Fiona Urban" />
</picture> </picture>
</div> </div>
</section> </section>