Skip to content

Commit ca7957c

Browse files
feat(page): enhance landing page CTAs and refine principle terminology (#242)
1 parent 83f0a29 commit ca7957c

File tree

5 files changed

+18
-13
lines changed

5 files changed

+18
-13
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ flowchart TB
112112

113113
Foundational principles guide every aspect of the platform's development and operation:
114114

115-
* **Observability-First:** Full-stack visibility is foundational, with advanced telemetry signals implemented as a project standard.
115+
* **Observability-First:** System-wide visibility is foundational, with advanced telemetry signals implemented as a project standard.
116116
* **Infrastructure Abstraction:** Decoupling plumbing from logic via shared "Pure Wrappers" to focus services on domain value.
117117
* **GitOps & State Convergence:** Configuration as code with automated reconciliation, making version control the ultimate source of truth.
118118
* **Hybrid Orchestration:** Leveraging Kubernetes for data persistence and native Systemd for host-level automation.

page/content/landing.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
11
page_title: "Self-Hosted Observability Hub"
22
site_url: "https://victoriacheng15.github.io/observability-hub"
33
meta_description: "A self-hosted observability hub demonstrating SRE and Platform Engineering principles through Go, Kubernetes (K3s), and OpenTelemetry."
4-
keywords: "Observability, SRE, Platform Engineering, Kubernetes (K3s), Go, OpenTelemetry, GitOps, OpenTofu, OpenBao, Victoria Cheng"
4+
keywords: "Observability, SRE, Platform Engineering, Kubernetes (K3s), Go, OpenTelemetry, GitOps, OpenTofu (Terraform), OpenBao, Victoria Cheng"
55
author:
66
name: "Victoria Cheng"
77
github: "https://github.com/victoriacheng15"
88
linkedin: "https://www.linkedin.com/in/victoriacheng15/"
99
hero:
1010
title: "Monitor What Matters"
1111
subtitle: "Unified Telemetry & GitOps-Driven State Reconciliation: A Resilient Platform built on SRE and Platform Engineering Principles."
12-
cta_text: "See the Evolution"
13-
cta_link: "evolution.html"
12+
cta_text: "Explore on GitHub"
13+
cta_link: "https://github.com/victoriacheng15/observability-hub"
14+
secondary_cta_text: "See the Evolution"
15+
secondary_cta_link: "evolution.html"
1416
principles:
1517
- title: "Observability-First"
16-
description: "Full-stack visibility is foundational, with advanced telemetry signals implemented as a project standard."
18+
description: "System-wide visibility is foundational, with advanced telemetry signals implemented as a project standard."
1719
icon: "chart-line"
1820
- title: "Infrastructure Abstraction"
1921
description: "Decoupling plumbing from logic via shared 'Pure Wrappers' to focus services on domain value."

page/generator/generator_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ hero:
1717
subtitle: "Test Subtitle"
1818
cta_text: "Click Me"
1919
cta_link: "/test.html"
20-
cta2_text: "Click Me 2"
21-
cta2_link: "/test2.html"
20+
secondary_cta_text: "Click Me 2"
21+
secondary_cta_link: "/test2.html"
2222
principles:
2323
- title: "Feat 1"
2424
description: "Desc 1"

page/schema/schema.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ type Feature struct {
99

1010
// Hero represents the hero section of the landing page.
1111
type Hero struct {
12-
Title string `yaml:"title"`
13-
Subtitle string `yaml:"subtitle"`
14-
CtaText string `yaml:"cta_text"`
15-
CtaLink string `yaml:"cta_link"`
16-
Cta2Text string `yaml:"cta2_text"`
17-
Cta2Link string `yaml:"cta2_link"`
12+
Title string `yaml:"title"`
13+
Subtitle string `yaml:"subtitle"`
14+
CtaText string `yaml:"cta_text"`
15+
CtaLink string `yaml:"cta_link"`
16+
SecondaryCtaText string `yaml:"secondary_cta_text"`
17+
SecondaryCtaLink string `yaml:"secondary_cta_link"`
1818
}
1919

2020
// Author represents the creator of the site.

page/templates/index.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ <h1 class="hero-title">{{ .Landing.Hero.Title }}</h1>
66
<p>{{ .Landing.Hero.Subtitle }}</p>
77
<div class="hero-actions">
88
<a href="{{ .Landing.Hero.CtaLink }}" class="btn">{{ .Landing.Hero.CtaText }}</a>
9+
{{if .Landing.Hero.SecondaryCtaText}}
10+
<a href="{{ .Landing.Hero.SecondaryCtaLink }}" class="btn btn-secondary">{{ .Landing.Hero.SecondaryCtaText }}</a>
11+
{{end}}
912
</div>
1013
</div>
1114
{{end}}

0 commit comments

Comments
 (0)