added hero
All checks were successful
Vercel Preview Deployment / Deploy-Preview (push) Successful in 1m30s

This commit is contained in:
ChrQR 2024-05-21 00:19:00 +02:00
parent 4c93cff666
commit f914ab7935
2 changed files with 9 additions and 1 deletions

BIN
src/lib/images/hero.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

View File

@ -5,6 +5,7 @@
import rack from '$lib/images/rack.webp';
import portfolio from '$lib/images/portfolio.png';
import localWeather from '$lib/images/localWeather.png';
import hero from '$lib/images/hero.webp';
const images = [
{
@ -15,7 +16,14 @@
</script>
<div class="text-center text-xl">
<Heading tag="h1" class="my-4">father by day <Mark>developer</Mark> by night</Heading>
<div class="flex my-4 gap-4">
<Heading tag="h1" class="md:text-right">father by day <Mark>developer</Mark> by night</Heading>
<img
src={hero}
alt=""
class="hidden md:block rounded-xl max-h-36 w-auto shadow-inner border border-slate-700"
/>
</div>
<h2 class="py-2">
welcome to my space. For now it is used to document my learnings and share my projects. It might
expand over time.