@@ -8,7 +8,7 @@ import TwinklingStars from "@components/TwinklingStars.astro"
8
8
import MeteorShower from " @components/MeteorShower.astro"
9
9
// import About from "@components/About.tsx"
10
10
11
- const homeTitle = " and I am a Software "
11
+ const homeTitle = " and I am a"
12
12
13
13
const posts = (await getCollection (" blog" ))
14
14
.filter (post => ! post .data .draft )
@@ -69,6 +69,25 @@ const posts = (await getCollection("blog"))
69
69
</div >
70
70
71
71
<script is:inline src =" /js/bg.js" ></script >
72
+
73
+ <style >
74
+ @keyframes strike {
75
+ from { width: 0; }
76
+ to { width: 100%; }
77
+ }
78
+
79
+ @keyframes fadeInUp {
80
+ from {
81
+ opacity: 0;
82
+ transform: translateY(5px);
83
+ }
84
+ to {
85
+ opacity: 0.75;
86
+ transform: translateY(0);
87
+ }
88
+ }
89
+
90
+ </style >
72
91
73
92
<!-- HERO -->
74
93
<section class =" relative h-screen w-full" >
@@ -82,15 +101,24 @@ const posts = (await getCollection("blog"))
82
101
<div class =" animate absolute h-full w-full flex items-center justify-center" >
83
102
<div class =' relative w-full h-full flex items-center justify-center' >
84
103
<div class =' p-5 text-center' >
104
+
105
+
85
106
<p class =' animated text-lg md:text-xl lg:text-2xl font-semibold opacity-75' >
86
107
Hello, my name is
87
108
</p >
109
+
88
110
<p class =' animated text-2xl md:text-3xl lg:text-4xl font-bold uppercase text-black dark:text-white' >
89
111
Guilherme Teixeira
90
112
</p >
91
- <p class =' animated text-sm md:text-base lg:text-lg opacity-75' >
92
- { homeTitle } <span class =" line-through" >Developer</span >{ ' ' } <span >Artisan</span >
93
- </p >
113
+
114
+ <span class =' animated text-sm md:text-base lg:text-lg opacity-75' >{ homeTitle } </span >
115
+ <div class =" animated inline-block relative h-full items-center justify-center text-sm md:text-base lg:text-lg opacity-75" >
116
+ Software Developer
117
+ <span class =" absolute left-0 top-1/2 h-[2px] bg-red-500 animate-[strike_0.6s_ease-out_1.5s_forwards]" ></span >
118
+ </div >
119
+
120
+ <span class =" animate-[fadeInUp_0.6s_ease-out_3.0s_forwards] text-sm md:text-base lg:text-lg opacity-0" >Software Artisan</span >
121
+
94
122
<div id =" ctaButtons" class =' animated flex flex-wrap gap-4 justify-center mt-5' >
95
123
<a href =' /blog' class =' py-2 px-4 rounded truncate text-xs md:text-sm lg:text-base bg-black dark:bg-white text-white dark:text-black hover:opacity-75 blend' >
96
124
Read my digital garden
0 commit comments