Redesign portfolio with bilingual content and new services

This commit is contained in:
gabspereira committed 2026-11-15 20:38:38 -03:00
1 parent d62ea01d62
commit c8ad47c2b9
4 files changed
+1647 -450

No files matched your search

+20 -6
View File
@@ -11,7 +11,15 @@ This separation means visitors hit the curated portfolio first, then choose whic
## 1. Portfolio Landing Page
The file `index.html` is a self-contained, single-file portfolio landing page.
The site is a static, single-page portfolio with no build step. `index.html` contains the page, styles, translations, and interactions; `assets/gabriel-pereira.jpg` is the locally hosted profile photo. Google Fonts supplies the typography, with system-font fallbacks.
### Languages
- **English (EN-US)** is the default at `https://gabrielpereira.me/`.
- **Portuguese (PT-BR)** is available through the language switch or directly at `https://gabrielpereira.me/?lang=pt-BR`.
- An explicit language choice is saved in the visitor's browser and restored on their next visit. A language in the URL takes priority over the saved choice.
- The English content is also the no-JavaScript fallback. PT-BR switching and the language selector require JavaScript.
- Service interest links use a localized email subject in the selected language.
### Deployment: Static Host (Recommended)
@@ -23,7 +31,7 @@ The file `index.html` is a self-contained, single-file portfolio landing page.
- Add DNS A record pointing to GitHub Pages IPs
**Cloudflare Pages**
- Drag `index.html` into Cloudflare Pages dashboard
- Deploy the `portfolio/` folder, including `index.html` and `assets/`
- Custom domain: `gabrielpereira.me`
**Netlify / Vercel**
@@ -32,9 +40,14 @@ The file `index.html` is a self-contained, single-file portfolio landing page.
### Deployment: Self-Hosted (Nginx/Caddy)
Place `index.html` at:
Copy `index.html` and the complete `assets/` directory to:
```
/var/www/gabrielpereira.me/index.html
/var/www/gabrielpereira.me/
```
The resulting profile photo path should be:
```
/var/www/gabrielpereira.me/assets/gabriel-pereira.jpg
```
Nginx config:
@@ -114,7 +127,7 @@ sudo systemctl restart forgejo
```
### What the CSS changes
- Darker, more cohesive color palette matching the portfolio page
- A darker, simplified color palette for repository pages
- Repository cards with rounded corners and hover effects
- Better typography and spacing
- A subtle "Open Evidence" badge concept on the homepage
@@ -135,6 +148,7 @@ sudo systemctl restart forgejo
| File | Purpose |
|------|---------|
| `index.html` | Portfolio landing page (single file, no build step) |
| `index.html` | Portfolio landing page (no build step) |
| `assets/gabriel-pereira.jpg` | Locally hosted profile photo used by the page and social metadata |
| `git-custom-header.html` | CSS + HTML for Gitea/Forgejo customizations |
| `DEPLOY.md` | This file — deployment instructions |