File tree Expand file tree Collapse file tree 5 files changed +9
-7
lines changed
Expand file tree Collapse file tree 5 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 99 < link rel ="preconnect " href ="https://fonts.gstatic.com " crossorigin >
1010 < link href ="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Roboto:wght@400;600;700&display=swap " rel ="stylesheet ">
1111 < link rel ="stylesheet " href ="style.css ">
12+ < script type ="module " src ="https://unpkg.com/@dotlottie/player-component@latest/dist/dotlottie-player.mjs " defer > </ script >
1213
1314</ head >
1415< body >
@@ -22,15 +23,15 @@ <h1>Alessandro Trysh</h1>
2223 </ header >
2324 < main class ="card-container " id ="main-content ">
2425 < a href ="./portfolio/ " class ="card ">
25- < span class ="emoji -icon " aria-hidden ="true "> 💼 </ span >
26+ < dotlottie-player class ="lottie -icon " src =" ./portfolio.lottie " background =" transparent " speed =" 1 " loop autoplay aria-hidden ="true "> </ dotlottie-player >
2627 < h2 data-i18n ="home.cardPortfolio "> Portfolio</ h2 >
2728 </ a >
2829 < a href ="./blog/ " class ="card ">
29- < span class ="emoji -icon " aria-hidden ="true "> ✍️ </ span >
30+ < dotlottie-player class ="lottie -icon " src =" ./blog.lottie " background =" transparent " speed =" 1 " loop autoplay aria-hidden ="true "> </ dotlottie-player >
3031 < h2 data-i18n ="home.cardBlog "> Blog</ h2 >
3132 </ a >
3233 < a href ="./lab/ " class ="card ">
33- < span class ="emoji -icon " aria-hidden ="true "> 🧪 </ span >
34+ < dotlottie-player class ="lottie -icon " src =" ./lab.lottie " background =" transparent " speed =" 1 " loop autoplay aria-hidden ="true "> </ dotlottie-player >
3435 < h2 data-i18n ="home.cardLab "> Lab</ h2 >
3536 </ a >
3637 </ main >
Original file line number Diff line number Diff line change @@ -82,14 +82,15 @@ body {
8282 color : var (--primary-color );
8383}
8484
85- .emoji-icon {
86- font-size : 4rem ;
85+ .lottie-icon {
86+ width : 120px ;
87+ height : 120px ;
8788 margin-bottom : 1rem ;
8889 transition : transform 0.3s ease-in-out;
8990}
9091
91- .card : hover .emoji -icon {
92- transform : scale (1.2 );
92+ .card : hover .lottie -icon {
93+ transform : scale (1.05 );
9394}
9495
9596.skip-link {
You can’t perform that action at this time.
0 commit comments