Skip to content

Commit 608d61d

Browse files
Merge pull request #18 from madhuramendis/main
Update tooltips
2 parents 31d6043 + 3953307 commit 608d61d

File tree

3 files changed

+73
-19
lines changed

3 files changed

+73
-19
lines changed

_layouts/homepage.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,13 @@
3030

3131
{% include scripts.html %}
3232

33+
<script>
34+
$(document).ready(function () {
35+
$('[data-bs-toggle="tooltip"]').each(function () {
36+
new bootstrap.Tooltip(this);
37+
});
38+
});
39+
</script>
40+
3341
</body>
3442
</html>

css/openchoreo.css

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,11 @@ background-color: #fff;
308308
.cLogos img {
309309
width: 100%;
310310
}
311+
.cLogos:hover {
312+
box-shadow: 15px 24px 84px -37px rgba(54,161,255,0.75);
313+
-webkit-box-shadow: 15px 24px 84px -37px rgba(54,161,255,0.75);
314+
-moz-box-shadow: 15px 24px 84px -37px rgba(54,161,255,0.75);
315+
}
311316
.cTextContainer {
312317
padding: 60px;
313318
}
@@ -349,6 +354,43 @@ background-color: #fff;
349354
line-height: 24px;
350355
}
351356

357+
/* Tooltips */
358+
359+
360+
361+
362+
363+
364+
365+
.tooltip-inner {
366+
max-width: 300px;
367+
background-color: #000;
368+
color: #fff;
369+
padding: 12px 16px;
370+
font-size: 14px;
371+
border-radius: 8px;
372+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
373+
text-align: left;
374+
}
375+
376+
377+
.tooltip.bs-tooltip-top .tooltip-arrow::before {
378+
border-top-color: red !important;
379+
}
380+
381+
/* Optional: Customize other directions if needed */
382+
.tooltip.bs-tooltip-bottom .tooltip-arrow::before {
383+
border-bottom-color: red !important;
384+
}
385+
386+
.tooltip.bs-tooltip-start .tooltip-arrow::before {
387+
border-left-color: red !important;
388+
}
389+
390+
.tooltip.bs-tooltip-end .tooltip-arrow::before {
391+
border-right-color: red !;
392+
}
393+
352394
/* DARK */
353395
body.cDarkMode {
354396
background-color: black;

index.html

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -87,50 +87,53 @@ <h2>Built on the Cloud Native Stack</h2>
8787
</div>
8888
</div>
8989
<div class="container">
90+
91+
92+
9093
<div class="d-flex flex-wrap gap-3 d-flex justify-content-center list-unstyled ">
91-
<div class="text-center cLogos">
94+
<div class="text-center cLogos tooltip-wrapper" data-bs-toggle="tooltip" title="Visualizes runtime network flows and helps debug service-to-service communication.">
9295
<img src="/img/logos/logos-01.webp" />
9396
</div>
94-
<div class="text-center cLogos">
97+
<div class="text-center cLogos tooltip-wrapper" data-bs-toggle="tooltip" title="Powers OpenChoreo’s built-in CI/CD. Automates build, test, and deploy pipelines across environments and tracks.">
9598
<img src="/img/logos/logos-02.webp" />
9699
</div>
97-
<div class="text-center cLogos">
100+
<div class="text-center cLogos tooltip-wrapper" data-bs-toggle="tooltip" title="Enables zero-config builds in OpenChoreo’s built-in CI">
98101
<img src="/img/logos/logos-03.webp" />
99102
</div>
100-
<div class="text-center cLogos">
103+
<div class="text-center cLogos tooltip-wrapper" data-bs-toggle="tooltip" title="Enables low-level observability and security. OpenChoreo uses eBPF (via Cilium and Hubble) to monitor and trace network behavior.">
101104
<img src="/img/logos/logos-04.webp" />
102105
</div>
103-
<div class="text-center cLogos">
106+
<div class="text-center cLogos tooltip-wrapper" data-bs-toggle="tooltip" title="Provides zero-trust network policies and service connectivity between components.">
104107
<img src="/img/logos/logos-05.webp" />
105108
</div>
106-
<div class="text-center cLogos">
109+
<div class="text-center cLogos tooltip-wrapper" data-bs-toggle="tooltip" title="Adds long-term storage and federation to Prometheus, enabling historical observability across clusters.">
107110
<img src="/img/logos/logos-06.webp" />
108111
</div>
109-
<div class="text-center cLogos">
112+
<div class="text-center cLogos tooltip-wrapper" data-bs-toggle="tooltip" title="Collects and ships logs from workloads to OpenSearch with low resource overhead.">
110113
<img src="/img/logos/logos-07.webp" />
111114
</div>
112-
<div class="text-center cLogos">
115+
<div class="text-center cLogos tooltip-wrapper" data-bs-toggle="tooltip" title="Scrapes metrics from workloads and platform components for monitoring and autoscaling.">
113116
<img src="/img/logos/logos-08.webp" />
114117
</div>
115-
<div class="text-center cLogos">
118+
<div class="text-center cLogos tooltip-wrapper" data-bs-toggle="tooltip" title="Orchestrates all components across environments. OpenChoreo workloads run natively as Kubernetes resources.">
116119
<img src="/img/logos/logos-09.webp" />
117120
</div>
118-
<div class="text-center cLogos">
121+
<div class="text-center cLogos tooltip-wrapper" data-bs-toggle="tooltip" title="Manages the OpenChoreo installation.">
119122
<img src="/img/logos/logos-10.webp" />
120123
</div>
121-
<div class="text-center cLogos">
122-
<img src="/img/logos/logos-11.webp" />
124+
<div class="text-center cLogos tooltip-wrapper" data-bs-toggle="tooltip" title="Stores structured logs and supports querying and alerting for all platform events.">
125+
<img src="/img/logos/logos-11.webp" />
123126
</div>
124-
<div class="text-center cLogos">
127+
<div class="text-center cLogos tooltip-wrapper" data-bs-toggle="tooltip" title="Exposes APIs and components securely. Forms the backbone of OpenChoreo ingress and egress.">
125128
<img src="/img/logos/logos-12.webp" />
126129
</div>
127-
<div class="text-center cLogos">
128-
<img src="/img/logos/logos-13.webp" />
129-
</div>
130-
<div class="text-center cLogos">
130+
<div class="text-center cLogos tooltip-wrapper" data-bs-toggle="tooltip" title="Inspired the architecture and best practices behind OpenChoreo. Many concepts are battle-tested in WSO2 Choreo (IDP as a Service).">
131131
<img src="/img/logos/wso2-14.webp" />
132132
</div>
133-
</div>
133+
<div class="text-center cLogos tooltip-wrapper" data-bs-toggle="tooltip" title="OpenChoreo provides a Backstage plugin that integrates with its core APIs. ">
134+
<img src="/img/logos/logos-13.webp" />
135+
</div>
136+
</div>
134137
</div>
135138
</section>
136139
<section class=" cLightBackground">
@@ -515,4 +518,5 @@ <h2>Ready to build the platform you always wanted?</h2>
515518

516519
</div>
517520
</div>
518-
</section>
521+
</section>
522+

0 commit comments

Comments
 (0)