Skip to content

Commit

Permalink
Add devicon package, update gitignore, transform images png to webp, …
Browse files Browse the repository at this point in the history
…update favicon images, update deployment script
  • Loading branch information
Raúl Fernández committed Apr 4, 2024
1 parent fdeb9d2 commit 0a5c016
Show file tree
Hide file tree
Showing 34 changed files with 168 additions and 22,707 deletions.
Binary file modified .DS_Store
Binary file not shown.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
.venv
.web
.webassets-cache
.DS_Store
/site
ENV/
MANIFEST
Expand Down
Binary file modified assets/.DS_Store
Binary file not shown.
4 changes: 2 additions & 2 deletions assets/data/data_en.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"avatar": "/images/logo.png",
"avatar": "/images/logo.webp",
"name": "Raúl Fernández Tirado",
"job_position": "Full Stack Developer",
"location": "Santiago de Compostela, Spain",
Expand Down Expand Up @@ -260,7 +260,7 @@
],
"extras": [
{
"image": "/images/logo.png",
"image": "/images/logo.webp",
"title": "Title",
"description": "Lorems ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
"url": "https://www.google.com"
Expand Down
4 changes: 2 additions & 2 deletions assets/data/data_es.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"avatar": "/images/logo.png",
"avatar": "/images/logo.webp",
"name": "Raúl Fernández Tirado",
"job_position": "Desarrollador Full Stack",
"location": "Santiago de Compostela, España",
Expand Down Expand Up @@ -260,7 +260,7 @@
],
"extras": [
{
"image": "/images/logo.png",
"image": "/images/logo.webp",
"title": "Title",
"description": "Lorems ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
"url": "https://www.google.com"
Expand Down
Binary file modified assets/favicon.ico
Binary file not shown.
Binary file modified assets/images/.DS_Store
Binary file not shown.
Binary file removed assets/images/R-Logo-Dark-Shadow.png
Binary file not shown.
Binary file removed assets/images/R-Logo-Light-Shadow.png
Binary file not shown.
Binary file removed assets/images/R-Logo-Transparent.png
Binary file not shown.
Binary file removed assets/images/R-Logo.png
Binary file not shown.
Binary file removed assets/images/favicon/.DS_Store
Binary file not shown.
Binary file modified assets/images/favicon/android-chrome-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/images/favicon/android-chrome-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/images/favicon/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion assets/images/favicon/browserconfig.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<msapplication>
<tile>
<square150x150logo src="/mstile-150x150.png"/>
<TileColor>#da532c</TileColor>
<TileColor>#000000</TileColor>
</tile>
</msapplication>
</browserconfig>
Binary file modified assets/images/favicon/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/images/favicon/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/images/favicon/favicon.ico
Binary file not shown.
Binary file modified assets/images/favicon/mstile-150x150.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22,492 changes: 4 additions & 22,488 deletions assets/images/favicon/safari-pinned-tab.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions assets/images/favicon/site.webmanifest
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"type": "image/png"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"theme_color": "#000000",
"background_color": "#000000",
"display": "standalone"
}
Binary file removed assets/images/logo-navbar.png
Binary file not shown.
Binary file added assets/images/logo.webp
Binary file not shown.
10 changes: 10 additions & 0 deletions assets/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,16 @@ function initializeDarkMode() {
}
}

document.head.innerHTML += `
<link rel="apple-touch-icon" sizes="180x180" href="/images/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/images/favicon//favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/images/favicon//favicon-16x16.png">
<link rel="manifest" href="/images/favicon//site.webmanifest">
<link rel="mask-icon" href="/images/favicon//safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#000000">
<meta name="theme-color" content="#000000">
`;

initializeDarkMode();
changeLanguage(langEsBtn, '/');
changeLanguage(langEnBtn, '/en');
Loading

0 comments on commit 0a5c016

Please sign in to comment.