Revamped landing page and mobile nav #7

Merged
christian merged 6 commits from new-landing into main 2024-05-20 22:23:19 +00:00
2 changed files with 9 additions and 1 deletions
Showing only changes of commit f914ab7935 - Show all commits

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 rack from '$lib/images/rack.webp';
import portfolio from '$lib/images/portfolio.png'; import portfolio from '$lib/images/portfolio.png';
import localWeather from '$lib/images/localWeather.png'; import localWeather from '$lib/images/localWeather.png';
import hero from '$lib/images/hero.webp';
const images = [ const images = [
{ {
@ -15,7 +16,14 @@
</script> </script>
<div class="text-center text-xl"> <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"> <h2 class="py-2">
welcome to my space. For now it is used to document my learnings and share my projects. It might welcome to my space. For now it is used to document my learnings and share my projects. It might
expand over time. expand over time.