feat: add "Maintained by SAP" badge to CDC Starter Kit project
Added visual badge to show CDC Starter Kit is now maintained by SAP: 1. Go struct changes: - Added MaintainedBy field to Project struct (cv.go:108) 2. Data updates: - Added "maintainedBy": "SAP" to CDC Starter Kit in cv-en.json - Added "maintainedBy": "SAP" to CDC Starter Kit in cv-es.json 3. Template changes: - Added maintained-badge display in project header (cv-content.html:226-228) - Shows "MAINTAINED BY SAP" (EN) or "MANTENIDO POR SAP" (ES) 4. CSS styling: - Added .maintained-badge style with blue background (#3498db) - Matches current-badge and expired-badge styling Badge appears next to project title to highlight SAP's ongoing maintenance.
This commit is contained in:
@@ -756,6 +756,7 @@
|
||||
"location": "Online",
|
||||
"startDate": "2018",
|
||||
"current": false,
|
||||
"maintainedBy": "SAP",
|
||||
"technologies": ["SAP CDC", "JavaScript", "React", "API Integration", "Authentication"],
|
||||
"shortDescription": "Comprehensive demonstration and starter kit for SAP Customer Data Cloud. Complete implementation showcase created 100% independently as public GitHub resource. Now maintained by SAP.",
|
||||
"responsibilities": [
|
||||
|
||||
@@ -788,6 +788,7 @@
|
||||
"location": "Online",
|
||||
"startDate": "2018",
|
||||
"current": false,
|
||||
"maintainedBy": "SAP",
|
||||
"technologies": ["SAP CDC", "JavaScript", "React", "Integración de APIs", "Autenticación"],
|
||||
"shortDescription": "Demostración completa y kit de inicio para SAP Customer Data Cloud. Proyecto de implementación completa creado 100% de forma independiente como recurso público en GitHub. Ahora mantenido por SAP.",
|
||||
"responsibilities": [
|
||||
|
||||
@@ -105,6 +105,7 @@ type Project struct {
|
||||
Location string `json:"location"`
|
||||
StartDate string `json:"startDate"`
|
||||
Current bool `json:"current"`
|
||||
MaintainedBy string `json:"maintainedBy,omitempty"` // Optional maintainer name (e.g., "SAP")
|
||||
Technologies []string `json:"technologies"`
|
||||
ShortDescription string `json:"shortDescription"`
|
||||
Responsibilities []string `json:"responsibilities"`
|
||||
|
||||
@@ -734,6 +734,19 @@ iconify-icon {
|
||||
letter-spacing: 0.5px;
|
||||
}
|
||||
|
||||
.maintained-badge {
|
||||
display: inline-block;
|
||||
background: #3498db;
|
||||
color: white;
|
||||
font-weight: 700;
|
||||
font-size: 0.7em;
|
||||
padding: 0.2em 0.5em;
|
||||
border-radius: 3px;
|
||||
margin-left: 0.5em;
|
||||
vertical-align: middle;
|
||||
letter-spacing: 0.5px;
|
||||
}
|
||||
|
||||
.experience-period,
|
||||
.experience-separator,
|
||||
.experience-location,
|
||||
|
||||
@@ -223,6 +223,9 @@
|
||||
{{if .Current}}
|
||||
<span class="current-badge">{{if eq $.Lang "es"}}ACTUAL{{else}}CURRENT{{end}}</span>
|
||||
{{end}}
|
||||
{{if .MaintainedBy}}
|
||||
<span class="maintained-badge">{{if eq $.Lang "es"}}MANTENIDO POR{{else}}MAINTAINED BY{{end}} {{.MaintainedBy}}</span>
|
||||
{{end}}
|
||||
</h4>
|
||||
<span class="project-period">{{.StartDate}} {{if .Current}}/ {{if eq $.Lang "es"}}presente{{else}}now{{end}}{{end}}</span>
|
||||
<span class="project-separator"> - </span>
|
||||
|
||||
Reference in New Issue
Block a user