Skip to content

Commit

Permalink
Format Code
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishzk committed Dec 30, 2023
1 parent 30d117e commit eaade01
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 28 deletions.
1 change: 0 additions & 1 deletion src/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@ html,
* {
font-family: 'Work Sans', sans-serif;
}

4 changes: 3 additions & 1 deletion src/lib/Footer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
<label for="mail" class="modal modal-bottom cursor-pointer sm:modal-middle">
<label class="modal-box" for="">
<div class="overflow-x-auto w-full">
<a href="mailto:[email protected]?subject=Email from portfolio" class="text-black">Send Email</a>
<a href="mailto:[email protected]?subject=Email from portfolio" class="text-black"
>Send Email</a
>
</div>
</label>
</label>
Expand Down
8 changes: 4 additions & 4 deletions src/lib/Home/Experience.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,10 @@
background-size: 75%;
}
.step-icon-tusme:after {
background-image: url('/images/experience/tusme.webp');
background-size: 75%;
}
.step-icon-tusme:after {
background-image: url('/images/experience/tusme.webp');
background-size: 75%;
}
.step-icon-tus:after {
background-image: url('/images/experience/tus.webp');
Expand Down
47 changes: 25 additions & 22 deletions src/lib/Home/Hero.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,18 @@
typeWriter();
});
</script>

<div class="hero min-h-screen">
<div
class="hero-content flex-col max-w-[100vw] w-full justify-start lg:flex-row lg:max-w-screen-xl"
>
<div class="img-container">
<img
src="/images/headshot.webp"
class="max-w-md rounded-lg lg:mr-10"
alt="Drawing of Abhishek Kumar's headshot"
/>
</div>
<div class="img-container">
<img
src="/images/headshot.webp"
class="max-w-md rounded-lg lg:mr-10"
alt="Drawing of Abhishek Kumar's headshot"
/>
</div>
<div>
<h1
class="text-5xl font-bold bg-gradient-to-r bg-clip-text leading-normal text-transparent from-[#048eaa] via-blue-500 to-[#048eaa] animate-text text-center"
Expand All @@ -46,19 +47,21 @@
</div>

<style lang="scss">
.hero:hover .img-container img {
animation: moveAlternate 1s ease-in-out infinite alternate;
}
.hero:hover .img-container img {
animation: moveAlternate 1s ease-in-out infinite alternate;
}
@keyframes moveAlternate {
0%, 100% {
transform: translate(-10px, -10px);
}
25%, 75% {
transform: translate(10px, 10px);
}
50% {
transform: translate(-10px, 10px);
}
}
</style>
@keyframes moveAlternate {
0%,
100% {
transform: translate(-10px, -10px);
}
25%,
75% {
transform: translate(10px, 10px);
}
50% {
transform: translate(-10px, 10px);
}
}
</style>

0 comments on commit eaade01

Please sign in to comment.