Skip to content

Commit aa69a47

Browse files
authored
Merge pull request #11 from marcode24/dev
⚡ Optimize images
2 parents f36e042 + d1cc8fa commit aa69a47

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+90
-125
lines changed

public/images/angular.png

-1.56 KB
Binary file not shown.

public/images/angular.webp

1014 Bytes
Binary file not shown.

public/images/astro.png

-1.62 KB
Binary file not shown.

public/images/astro.webp

1.07 KB
Binary file not shown.

public/images/azure.png

-2.37 KB
Binary file not shown.

public/images/azure.webp

1.66 KB
Binary file not shown.

public/images/bootstrap.png

-1008 Bytes
Binary file not shown.

public/images/bootstrap.webp

500 Bytes
Binary file not shown.

public/images/css.png

-1.64 KB
Binary file not shown.

public/images/css.webp

932 Bytes
Binary file not shown.

public/images/docker.png

-4.43 KB
Binary file not shown.

public/images/docker.webp

1.45 KB
Binary file not shown.

public/images/figma.png

-1.13 KB
Binary file not shown.

public/images/figma.webp

706 Bytes
Binary file not shown.

public/images/git.png

-1.02 KB
Binary file not shown.

public/images/git.webp

786 Bytes
Binary file not shown.

public/images/html.png

-1.59 KB
Binary file not shown.

public/images/html.webp

940 Bytes
Binary file not shown.

public/images/jasmine.png

-4.99 KB
Binary file not shown.

public/images/jasmine.webp

2.79 KB
Binary file not shown.

public/images/jest.png

-3.25 KB
Binary file not shown.

public/images/jest.webp

1.92 KB
Binary file not shown.

public/images/js.png

-947 Bytes
Binary file not shown.

public/images/js.webp

554 Bytes
Binary file not shown.

public/images/mongo.png

-1 KB
Binary file not shown.

public/images/mongo.webp

464 Bytes
Binary file not shown.

public/images/mysql.png

-1.51 KB
Binary file not shown.

public/images/mysql.webp

806 Bytes
Binary file not shown.

public/images/nestjs.png

-1.5 KB
Binary file not shown.

public/images/nestjs.webp

862 Bytes
Binary file not shown.

public/images/nodejs.png

-1.77 KB
Binary file not shown.

public/images/nodejs.webp

1 KB
Binary file not shown.
20.1 KB
Binary file not shown.
13.8 KB
Binary file not shown.
11 KB
Binary file not shown.
26.1 KB
Binary file not shown.
14.2 KB
Binary file not shown.
18.8 KB
Binary file not shown.
22.6 KB
Binary file not shown.
42.2 KB
Binary file not shown.

public/images/postgresql.png

-5.44 KB
Binary file not shown.

public/images/postgresql.webp

2.29 KB
Binary file not shown.

public/images/postman.png

-1.5 KB
Binary file not shown.

public/images/postman.webp

924 Bytes
Binary file not shown.

public/images/sass.png

-1.99 KB
Binary file not shown.

public/images/sass.webp

1.33 KB
Binary file not shown.

public/images/sqlserver.png

-3.12 KB
Binary file not shown.

public/images/sqlserver.webp

1.76 KB
Binary file not shown.

public/images/svelte.png

-3.44 KB
Binary file not shown.

public/images/svelte.webp

1.87 KB
Binary file not shown.

public/images/tailwind.png

-2.39 KB
Binary file not shown.

public/images/tailwind.webp

1.13 KB
Binary file not shown.

public/images/ts.png

-839 Bytes
Binary file not shown.

public/images/ts.webp

558 Bytes
Binary file not shown.

public/images/vue.png

-1.3 KB
Binary file not shown.

public/images/vue.webp

882 Bytes
Binary file not shown.

public/me.jpg

-234 KB
Binary file not shown.

public/me.webp

61.8 KB
Binary file not shown.

public/programming.jpg

-48.4 KB
Binary file not shown.

public/programming.webp

19.3 KB
Binary file not shown.

src/components/About.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const YEARS_OLD = new Date().getFullYear() - 2001;
2222
</div>
2323
<div class="image">
2424
<figure>
25-
<img src="programming.jpg" alt="programming-image">
25+
<img src="programming.webp" alt="programming-image">
2626
</figure>
2727
</div>
2828
</div>

src/components/Contact.astro

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ import {
2727
</div>
2828
<div class="buttons">
2929
<a href={`mailto:${EMAIL_URL}`} class="btn icon">
30-
<SendIcon width={28} height={28} />
30+
<SendIcon width={26} height={26} />
3131
</a>
3232
<button class="btn icon copy">
33-
<CopyIcon width={28} height={28} />
33+
<CopyIcon width={26} height={26} />
3434
</button>
3535
</div>
3636
</div>
@@ -142,16 +142,23 @@ import {
142142
}
143143

144144
.email-wrapper .email {
145-
padding: 0.8rem 1.2rem;
145+
padding: 9px 16px;
146+
height: 44px;
146147
background-color: var(--bg-color-button);
147148
border-radius: 0.5rem;
148149
color: var(--font-color);
149150
border: 1px solid var(--border-color);
150-
font-size: 22px;
151+
font-size: 18px;
151152
font-weight: 500;
152153
width: 100%;
153154
overflow: hidden;
155+
}
156+
157+
.email-wrapper .email span {
158+
display: block;
159+
overflow: hidden;
154160
text-overflow: ellipsis;
161+
white-space: nowrap;
155162
}
156163

157164
.email-wrapper .buttons {
@@ -197,7 +204,7 @@ import {
197204
}
198205

199206
.email-wrapper .email {
200-
font-size: 18px;
207+
font-size: 16px;
201208
}
202209
}
203210
</style>

src/components/Hero.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import { GITHUB_URL, LINKEDIN_URL } from '@constants/urls.ts';
2626
</div>
2727
</div>
2828
<figure>
29-
<img src="me.jpg" alt="profile-image" class="profile">
29+
<img src="me.webp" alt="profile-image" class="profile">
3030
</figure>
3131
</section>
3232

src/components/Portfolio.astro

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ import projects from '@data/projects.json';
3333
</div>
3434
<div class="links">
3535
<a class="btn icon" target="_blank" href={project.urlGithub}>
36-
Código <GithubIcon width={28} height={28}/>
36+
Código <GithubIcon width={26} height={26}/>
3737
</a>
3838
<a class="btn icon" target="_blank" href={project.urlProduction}>
39-
Demo <ExternalIcon width={28} height={28} />
39+
Demo <ExternalIcon width={26} height={26} />
4040
</a>
4141
</div>
4242
</div>
@@ -46,7 +46,9 @@ import projects from '@data/projects.json';
4646
</div>
4747

4848
<div class="more">
49-
<a href="https://github.com/marcode24?tab=overview" target="_blank" class="btn">Show more...</a>
49+
<a href="https://github.com/marcode24?tab=repositories" target="_blank" class="btn">
50+
Show more...
51+
</a>
5052
</div>
5153
</section>
5254

@@ -141,6 +143,7 @@ import projects from '@data/projects.json';
141143
flex-direction: row;
142144
align-items: center;
143145
justify-content: flex-start;
146+
gap: 1rem;
144147
}
145148

146149
.description .links .btn {
@@ -151,9 +154,7 @@ import projects from '@data/projects.json';
151154
border-radius: 0.5rem;
152155
background-color: var(--bg-color-button-2);
153156
color: var(--bg-color);
154-
font-size: 1.2rem;
155157
font-weight: 600;
156-
margin-right: 1rem;
157158
transition: all 0.3s ease;
158159
gap: 0.5rem;
159160
}

src/data/projects.json

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -2,102 +2,102 @@
22
{
33
"name": "Cloud Box",
44
"description": "This is a simple cloud storage service that allows users to upload and download files. Here you can also create folders and subfolders to organize your files",
5-
"image": "https://res.cloudinary.com/dfeujtobk/image/upload/v1705527264/Portfolio/726shots_so_bjwehm.png",
5+
"image": "images/portfolio/cloud-box.webp",
66
"technologies": [
7-
{ "name": "Angular", "image": "angular.png" },
8-
{ "name": "NodeJs", "image": "nodejs.png" },
9-
{ "name": "MongoDB", "image": "mongo.png" },
10-
{ "name": "Docker", "image": "docker.png" }
7+
{ "name": "Angular", "image": "angular.webp" },
8+
{ "name": "NodeJs", "image": "nodejs.webp" },
9+
{ "name": "MongoDB", "image": "mongo.webp" },
10+
{ "name": "Docker", "image": "docker.webp" }
1111
],
1212
"urlGithub": "https://github.com/marcode24/cloudbox-frontend",
1313
"urlProduction": "https://cloudbox-m.netlify.app/"
1414
},
1515
{
1616
"name": "InfoReader App",
1717
"description": "This is a web application that allows you to read technology news, using RSS feeds from different sources and saving them in a database. It also allows you to create a user account and save your favorite news.",
18-
"image": "https://res.cloudinary.com/dfeujtobk/image/upload/v1705811570/Portfolio/504shots_so_imzfwr.png",
18+
"image": "images/portfolio/inforeader.webp",
1919
"technologies": [
20-
{ "name": "Angular", "image": "angular.png" },
21-
{ "name": "NodeJs", "image": "nodejs.png" },
22-
{ "name": "MongoDB", "image": "mongo.png" },
23-
{ "name": "Docker", "image": "docker.png" }
20+
{ "name": "Angular", "image": "angular.webp" },
21+
{ "name": "NodeJs", "image": "nodejs.webp" },
22+
{ "name": "MongoDB", "image": "mongo.webp" },
23+
{ "name": "Docker", "image": "docker.webp" }
2424
],
2525
"urlGithub": "https://github.com/marcode24/InfoReader-App",
2626
"urlProduction": "https://inforeader.netlify.app/"
2727
},
2828
{
2929
"name": "Smart Dental",
3030
"description": "This application allows you to manage a dental clinic, it allows you to guide a history of the patient, manage the appointments, inventory, employees and patients.",
31-
"image": "https://res.cloudinary.com/dfeujtobk/image/upload/v1705811699/Portfolio/216shots_so_ixmmow.png",
31+
"image": "images/portfolio/smart-dental.webp",
3232
"technologies": [
33-
{ "name": "Angular", "image": "angular.png" },
34-
{ "name": "NestJs", "image": "nestjs.png" },
35-
{ "name": "MySQL", "image": "mysql.png" },
36-
{ "name": "Docker", "image": "docker.png" }
33+
{ "name": "Angular", "image": "angular.webp" },
34+
{ "name": "NestJs", "image": "nestjs.webp" },
35+
{ "name": "MySQL", "image": "mysql.webp" },
36+
{ "name": "Docker", "image": "docker.webp" }
3737
],
3838
"urlGithub": "https://github.com/marcode24/smart-dental-frontend",
39-
"urlProduction": "https://smart-dental-a704f.web.app/"
39+
"urlProduction": "https://smart-dental.netlify.app/"
4040
},
4141
{
4242
"name": "Bon Appetito App",
4343
"description": "Here you can buy or build your own pizza, choose the ingredients and the size of the pizza, and then you can order it.",
44-
"image": "https://res.cloudinary.com/dfeujtobk/image/upload/v1705812238/Portfolio/768shots_so_eay7aj.png",
44+
"image": "images/portfolio/bon-appetito.webp",
4545
"technologies": [
46-
{ "name": "Angular", "image": "angular.png" },
47-
{ "name": "TypeScript", "image": "ts.png" },
48-
{ "name": "SASS", "image": "sass.png" },
49-
{ "name": "HTML", "image": "html.png" }
46+
{ "name": "Angular", "image": "angular.webp" },
47+
{ "name": "TypeScript", "image": "ts.webp" },
48+
{ "name": "SASS", "image": "sass.webp" },
49+
{ "name": "HTML", "image": "html.webp" }
5050
],
5151
"urlGithub": "https://github.com/marcode24/bon-appetito",
5252
"urlProduction": "https://bon-appetito.netlify.app/"
5353
},
5454
{
5555
"name": "Guess Word Game",
5656
"description": "This a game where you have to guess the answer to a question. Depending on the difficulty level, you will have a certain number of attempts to guess the answer. The game ends when you run out of attempts or you guess the answer correctly",
57-
"image": "https://res.cloudinary.com/dfeujtobk/image/upload/v1705958849/Portfolio/qbvnsvant4lberbsvcob.png",
57+
"image": "images/portfolio/guess-word.webp",
5858
"technologies": [
59-
{ "name": "Angular", "image": "angular.png" },
60-
{ "name": "NodeJs", "image": "nodejs.png" },
61-
{ "name": "SASS", "image": "sass.png" },
62-
{ "name": "MongoDB", "image": "mongo.png" }
59+
{ "name": "Angular", "image": "angular.webp" },
60+
{ "name": "NodeJs", "image": "nodejs.webp" },
61+
{ "name": "SASS", "image": "sass.webp" },
62+
{ "name": "MongoDB", "image": "mongo.webp" }
6363
],
6464
"urlGithub": "https://github.com/marcode24/GuessWord-Game",
6565
"urlProduction": "https://wordguess-game.netlify.app/"
6666
},
6767
{
6868
"name": "Twitter Clone",
6969
"description": "This is a clone of the Twitter application, it allows you to create a user account, post tweets, follow other users, like tweets, etc.",
70-
"image": "https://res.cloudinary.com/dfeujtobk/image/upload/v1705812645/Portfolio/236shots_so_dynxet.png",
70+
"image": "images/portfolio/twitter-clone.webp",
7171
"technologies": [
72-
{ "name": "Angular", "image": "angular.png" },
73-
{ "name": "NodeJs", "image": "nodejs.png" },
74-
{ "name": "SASS", "image": "sass.png" },
75-
{ "name": "MongoDB", "image": "mongo.png" }
72+
{ "name": "Angular", "image": "angular.webp" },
73+
{ "name": "NodeJs", "image": "nodejs.webp" },
74+
{ "name": "SASS", "image": "sass.webp" },
75+
{ "name": "MongoDB", "image": "mongo.webp" }
7676
],
7777
"urlGithub": "https://github.com/marcode24/twitter-clone",
7878
"urlProduction": "https://twitter-clone-challenge.netlify.app/"
7979
},
8080
{
8181
"name": "Memory Game",
8282
"description": "This is a memory game, you have to find the pairs of cards, you have 3 levels of difficulty, easy, medium and hard.",
83-
"image": "https://res.cloudinary.com/dfeujtobk/image/upload/v1705812759/Portfolio/103shots_so_j62bcm.png",
83+
"image": "images/portfolio/memory-game.webp",
8484
"technologies": [
85-
{ "name": "HTML", "image": "html.png" },
86-
{ "name": "CSS", "image": "css.png" },
87-
{ "name": "JavaScript", "image": "js.png" }
85+
{ "name": "HTML", "image": "html.webp" },
86+
{ "name": "CSS", "image": "css.webp" },
87+
{ "name": "JavaScript", "image": "js.webp" }
8888
],
8989
"urlGithub": "https://github.com/marcode24/memory-game",
9090
"urlProduction": "https://marcode24.github.io/memory-game/"
9191
},
9292
{
9393
"name": "Unit Converter",
9494
"description": "This is a unit converter, you can convert from one unit to another, it has different categories, such as length, weight, volume, etc.",
95-
"image": "https://res.cloudinary.com/dfeujtobk/image/upload/v1705813173/Portfolio/821shots_so_qhpsfq.png",
95+
"image": "images/portfolio/unit-converter.webp",
9696
"technologies": [
97-
{ "name": "Angular", "image": "angular.png" },
98-
{ "name": "TypeScript", "image": "ts.png" },
99-
{ "name": "SASS", "image": "sass.png" },
100-
{ "name": "HTML", "image": "html.png" }
97+
{ "name": "Angular", "image": "angular.webp" },
98+
{ "name": "TypeScript", "image": "ts.webp" },
99+
{ "name": "SASS", "image": "sass.webp" },
100+
{ "name": "HTML", "image": "html.webp" }
101101
],
102102
"urlGithub": "https://github.com/marcode24/Unit-Converter",
103103
"urlProduction": "https://unit-converter-site.netlify.app/"

0 commit comments

Comments
 (0)