Skip to content

Commit f9ae686

Browse files
committed
✨ feat: add group tailwind classes to work
1 parent 077146f commit f9ae686

File tree

9 files changed

+18
-18
lines changed

9 files changed

+18
-18
lines changed

src/components/AboutMe.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import Subtitle from '@shared/Subtitle.astro';
33
import CustomParagraph from '@shared/CustomParagraph.astro';
44
import SectionContainer from './shared/SectionContainer.astro';
5-
5+
// TODO: add a more original description
66
export interface Props {
77
ABOUT_ME_TITLE: string;
88
ABOUT_ME_DESCRIPTION: string;

src/components/App.astro

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ const { currentLocale } = Astro;
1515
const i18n = getI18N({ currentLocale });
1616
---
1717

18-
<!-- TODO: Add skills -->
1918
<Layout {...i18n}>
2019
<Header {...i18n} {...Astro.props} />
2120
<main>

src/components/Experience.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const { HEADER_EXPERIENCE, EXPERIENCE } = Astro.props;
2828
EXPERIENCE.map((job) => (
2929
<li class=" mb-20 ms-8">
3030
<div class="flex flex-row items-center">
31-
<div class="absolute start-[-0.9rem] mb-1 overflow-hidden rounded-full border border-teal-200 bg-slate-300 shadow-lg shadow-teal-200">
31+
<div class="absolute start-[-0.9rem] mb-1 overflow-hidden rounded-full border border-teal-200 bg-slate-50 shadow-lg shadow-teal-800/90">
3232
<img class="size-7" src={`/images/${job.logoFile}`} alt={job.logoAlt} />
3333
</div>
3434
<h3 class="reveal-experience-info my-0.5 text-xl font-semibold text-teal-200">

src/components/Work/Project.astro

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ const {
5858
>
5959
<div
6060
class:list={[imageSrc]}
61-
class="lazy-background h-full overflow-hidden bg-placeholder bg-cover bg-center bg-no-repeat font-lato shadow-lg shadow-black max-sm:self-center"
61+
class="lazy-background h-full overflow-hidden bg-placeholder bg-center bg-no-repeat font-lato shadow-lg shadow-black max-sm:self-center group bg-105% hover:bg-100% transition-[background-size] duration-300 ease-in-out"
6262
>
6363
<div
64-
class="h-full bg-[#453662c5] p-1 backdrop-brightness-[0.4] backdrop-grayscale transition-all duration-300 ease-in-out hover:bg-teal-600/0 hover:backdrop-grayscale-0 [&>*:first-child]:hover:scale-105 max-sm:[&>*:first-child]:hover:scale-105"
64+
class="h-full bg-[#453662c5] p-1 backdrop-brightness-[0.4] backdrop-grayscale transition-all duration-300 ease-in-out hover:bg-teal-600/0 hover:backdrop-grayscale-0"
6565
>
6666
<article
67-
class="m-0 flex h-full w-11/12 flex-col items-start justify-between p-4 transition-[transform] duration-300 max-sm:w-full max-sm:justify-evenly max-sm:p-4 max-sm:px-3 max-sm:py-3"
67+
class="m-0 flex min-h-64 w-11/12 flex-col items-start justify-between p-5 transition-[transform] duration-300 max-sm:w-full max-sm:justify-evenly max-sm:p-5 max-sm:px-4 max-sm:py-4 group-hover:scale-105 max-sm:group-hover:scale-105"
6868
>
6969
<header
7070
class="m-1 text-xl font-extrabold text-teal-200 max-sm:text-[1.65rem]"
@@ -103,7 +103,7 @@ const {
103103
</ul>
104104
<div class="flex flex-row self-start">
105105
<IconLinkContainer
106-
class="h-6 w-6"
106+
class="h-7 w-7"
107107
href={githubLink}
108108
title={anchorLabel}
109109
>
@@ -113,7 +113,7 @@ const {
113113
{
114114
website !== undefined && (
115115
<IconLinkContainer
116-
class="h-6 w-6"
116+
class="h-7 w-7"
117117
href={website}
118118
title={anchorLabel}
119119
>

src/components/Work/Work.astro

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import IconTypescript from '@components/icons/IconTypescript.astro';
1111
1212
export interface Props {
1313
PROJECTS_TITLE: string;
14-
PROJECTS_TITLE_AFTER_BR: string;
1514
PROYECTS: {
1615
CUVIMAKER: ProjectI18n;
1716
RUSTY_COPIER: ProjectI18n;
@@ -70,7 +69,7 @@ const TAGS = {
7069
icon: IconTypescript,
7170
},
7271
};
73-
const { PROJECTS_TITLE, PROJECTS_TITLE_AFTER_BR, PROYECTS } = Astro.props;
72+
const { PROJECTS_TITLE, PROYECTS } = Astro.props;
7473
7574
const projects = [
7675
{
@@ -107,11 +106,10 @@ const projects = [
107106
<div class="flex flex-col p-2">
108107
<header class="reveal my-5">
109108
<Subtitle left>
110-
{PROJECTS_TITLE}<br />
111-
{PROJECTS_TITLE_AFTER_BR}
109+
{PROJECTS_TITLE}
112110
</Subtitle>
113111
</header>
114-
<div class="grid grid-cols-2 gap-2 max-lg:grid-cols-1">
112+
<div class="grid grid-cols-2 gap-3 max-2xl:grid-cols-1">
115113
{
116114
projects.map((project, index) => (
117115
<Project

src/components/shared/Subtitle.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const { center = false, left = false, right = false } = Astro.props;
99
---
1010

1111
<h2
12-
class="my-2 text-5xl font-bold tracking-wide text-[var(--default-font-color)] max-sm:text-3xl"
12+
class="my-2.5 text-5xl font-bold tracking-wide text-[var(--default-font-color)] max-sm:text-3xl"
1313
class:list={[
1414
{ 'text-left': left, 'text-center': center, 'text-right': right },
1515
Astro.props.class,

src/i18n/en.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
"INTRO_TITLE_AFTER_BR2": "",
99
"INTRO_SUBTITLE": "Welcome to my personal portfolio!",
1010
"INTRO_DESCRIPTION": "Cuban computer scientist from <b>Havana University</b>. Currently working as full-stack engineer building <b>.net</b> and <b>Vuejs</b> applications.",
11-
"PROJECTS_TITLE": "Some projects",
12-
"PROJECTS_TITLE_AFTER_BR": "I've made",
11+
"PROJECTS_TITLE": "Projects",
1312
"ABOUT_ME_TITLE": "About",
1413
"ABOUT_ME_DESCRIPTION": "Hello, My name is <strong>Carlos Jorge</strong>. I'm a full-stack engineer that enjoy coding on and off the work. I started working as a backend developer in 2020 using <b>.net</b> technologies and <b>sql server</b>.",
1514
"ABOUT_ME_DESCRIPTION_SECOND_PARAGRAPH": "Currently, I'm also working on frontend technologies like <b>angular</b>, <b>vue</b>, <b>html</b>, <b>css</b>.",

src/i18n/es.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
"INTRO_TITLE_AFTER_BR2": "",
99
"INTRO_SUBTITLE": "Y este es mi portafolio!",
1010
"INTRO_DESCRIPTION": "Soy un científico de la computación graduado en la <b>Universidad de la Habana</b>. Actualmente trabajo como desarrollador <i>full-stack</i> creando aplicaciones de <b>.net</b> y <b>Vuejs</b>. En mis tiempos libres juego un poco con <b>Astro</b> y <b>Rust</b> ;)",
11-
"PROJECTS_TITLE": "Algunos proyectos",
12-
"PROJECTS_TITLE_AFTER_BR": "Que he echo",
11+
"PROJECTS_TITLE": "Proyectos",
1312
"ABOUT_ME_TITLE": "Acerca de mí",
1413
"ABOUT_ME_DESCRIPTION": "Hola, Mi nombre es <strong>Carlos Jorge</strong>. Soy un desarrollador <i>full-stack</i> que disfura programar dentro y fuera del trabajo. Empecé a trabajar como desarrollador <i>backend</i> usando tecnologías <b>.net</b> y <b>sql server</b>.",
1514
"ABOUT_ME_DESCRIPTION_SECOND_PARAGRAPH": "Actualmente. También trabajo con tecnologías <i>frontend</i> como <b>angular</b>, <b>vue</b>, <b>html</b>, <b>css</b>.",

tailwind.config.cjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@ module.exports = {
5151
fontFamily: {
5252
lato: ['Lato', 'sans-serif'],
5353
},
54+
backgroundSize: {
55+
'cover': 'cover',
56+
'105%': '105%',
57+
'100%': '100%',
58+
},
5459
keyframes: {
5560
'show-presentation': {
5661
'0%': {

0 commit comments

Comments
 (0)