feat: add project logo support and rename to Personal Projects
Changes: - Created /static/images/projects/ folder for project logos - Added ProjectLogo field to Project struct - Updated cv-en.json and cv-es.json with projectLogo fields: - somosunaola.png for Somos Una Ola - herrumbre-vivo.png for Herrumbre Vivo Arte - Updated template to display project logos with fallback to web icon - Added CSS styling for project logo images (80×80px) - Renamed section from "Projects" to "Personal Projects" Logo images will display when PNG files are added to /static/images/projects/
This commit is contained in:
@@ -954,6 +954,16 @@ iconify-icon {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.project-icon img {
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
object-fit: contain;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #ddd;
|
||||
background: #f5f5f5;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.default-project-icon {
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 8.2 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 8.2 KiB After Width: | Height: | Size: 17 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 24 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 36 KiB |
Reference in New Issue
Block a user