Skip to content

Commit 88380c6

Browse files
committed
🐞 fix: some bugs
1 parent 0d273b3 commit 88380c6

File tree

3 files changed

+12
-10
lines changed

3 files changed

+12
-10
lines changed

src/components/Presentation.astro

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@ import CustomParagraph from './shared/CustomParagraph.astro';
2424
</div>
2525
<div class="mx-0 my-3 animate-presentation-description break-words">
2626
<CustomParagraph>
27-
Cuban computer science from Havana University. Currently working
28-
as full-stack engineer building .net and Vuejs applications.
27+
Cuban computer scientist from Havana University. Currently
28+
working as full-stack engineer building .net and Vuejs
29+
applications.
2930
</CustomParagraph>
3031
</div>
3132
</div>

src/components/Work/Project.astro

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,20 @@ const { id, title, description, anchorLabel, githubLink, imageSrc, website } =
2121
class="reveal my-2 flex w-full flex-col self-start rounded border-[0.1rem] border-solid border-[var(--default-secundary-font-color)] bg-[#322644] bg-cover bg-center bg-no-repeat font-lato shadow-lg shadow-black"
2222
>
2323
<div
24-
class="h-72 bg-[#5c497fc5] p-1 backdrop-brightness-[0.35] backdrop-grayscale transition-all duration-300 ease-in-out hover:bg-teal-600/0 hover:backdrop-grayscale-0 max-lg:h-80 max-md:h-64 max-sm:h-52 [&>*:first-child]:hover:scale-105"
24+
class="h-72 bg-[#5c497fc5] p-1 backdrop-brightness-[0.2] backdrop-grayscale transition-all duration-300 ease-in-out hover:bg-teal-600/0 hover:backdrop-grayscale-0 max-lg:h-80 max-md:h-64 max-sm:h-52 [&>*:first-child]:hover:scale-110"
2525
>
2626
<section
27-
class="m-0 flex h-full w-4/5 flex-col items-start justify-end px-8 py-10 transition-[transform] duration-300 max-sm:w-full max-sm:px-5 max-sm:py-7"
27+
class="m-0 flex h-full w-5/6 flex-col items-start justify-end px-8 py-10 transition-[transform] duration-300 max-sm:w-full max-sm:px-5 max-sm:py-7"
2828
>
2929
<header
3030
class="p-1 text-3xl font-extrabold text-teal-200 max-sm:text-[1.65rem]"
3131
>
3232
<h3 class="m-0">{title}</h3>
3333
</header>
3434
<div class="p-1 pb-0 text-xs text-[#99F9F9]">
35-
<CustomParagraph>{description}</CustomParagraph>
35+
<CustomParagraph textColor="text-slate-50">
36+
{description}
37+
</CustomParagraph>
3638
</div>
3739
<div class="flex flex-row self-start">
3840
<a href={githubLink} aria-label={anchorLabel} class="h-7"
Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
---
22
export interface Props {
33
reveal?: boolean;
4+
textColor?: string;
45
}
5-
const { reveal = false } = Astro.props;
6+
const { reveal = false, textColor = 'text-[var(--default-font-color2)]' } =
7+
Astro.props;
68
---
79

8-
<p
9-
class:list={[{ reveal: reveal }]}
10-
class="mb-2.5 text-lg text-[var(--default-font-color2)]"
11-
>
10+
<p class:list={[{ reveal: reveal }, textColor]} class="] mb-2.5 text-lg">
1211
<slot />
1312
</p>

0 commit comments

Comments
 (0)