Skip to content

Commit cfef5f7

Browse files
committed
Add Datadog in "Special Thanks" section
1 parent 438e24f commit cfef5f7

5 files changed

Lines changed: 183 additions & 0 deletions

File tree

home/.vitepress/theme/index.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,22 @@ import { vuetify } from '../components/vuetify.vue'
99
import { VCard, VCardText, VCardTitle, VTimeline, VTimelineItem, VIcon, VBtn } from 'vuetify/components'
1010
import "@catppuccin/vitepress/theme/mocha/peach.css"
1111

12+
// Import Sentry
13+
import * as Sentry from "@sentry/vue"
1214

1315
export default {
1416
extends: DefaultTheme,
1517
Layout: transition,
1618
enhanceApp({ app, router, siteData }) {
19+
if (typeof window !== 'undefined') { // Only run in browser environment
20+
Sentry.init({
21+
app,
22+
dsn: "https://d0d8217a5201c48d709cd5874c50760a@o4508297437839360.ingest.de.sentry.io/4509628762095696",
23+
sendDefaultPii: false,
24+
integrations: [Sentry.browserTracingIntegration],
25+
tracesSampleRate: 0.5
26+
});
27+
}
1728
app.component('MarkdownLoader', MarkdownLoader)
1829

1930
app.use(vuetify)

home/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ features:
7575
import footerHi from './scripts/footer.vue';
7676
import copyright from './scripts/copyright.vue';
7777
import DigitalOceanLogo from './scripts/DigitalOceanLogo.vue';
78+
import DatadogLogo from './scripts/DatadogLogo.vue';
7879

7980
if (typeof document !== 'undefined') {
8081
document.title = "Collapse Launcher - Advanced Game Launcher";
@@ -134,6 +135,9 @@ Collapse came from the **Honkai Impact** translation in Chinese and Japanese. Th
134135

135136
<div align="center"><DigitalOceanLogo /></div>
136137

138+
6. Datadog for providing us their data observability platform!
139+
<div align="center"><DatadogLogo /></div>
140+
137141
## Code Signing Policy
138142

139143
::: info
Lines changed: 64 additions & 0 deletions
Loading
Lines changed: 52 additions & 0 deletions
Loading

home/scripts/DatadogLogo.vue

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
<template>
2+
<a href="https://jb.gg/OpenSourceSupport" class="logo-container" target="_blank">
3+
<div class="logo-wrapper dark-only">
4+
<img src="/img/logo/dd_logo_h_white.svg" title="Datadog logo" alt="Datadog logo" loading="lazy" class="logo" />
5+
</div>
6+
<div class="logo-wrapper light-only">
7+
<img src="/img/logo/dd_logo_h_rgb.svg" title="Datadog logo" alt="Datadog logo" loading="lazy" class="logo" />
8+
</div>
9+
</a>
10+
<p class="attribution">
11+
Copyright © 2025 Datadog, Inc.
12+
</p>
13+
</template>
14+
15+
<style scoped>
16+
.logo-container {
17+
display: inline-flex; /* Makes <a> tag a inline-flex container */
18+
flex-direction: row; /* Horizontal layout */
19+
justify-content: center; /* Center images horizontally */
20+
align-items: center; /* Align images vertically */
21+
gap: 10px; /* Space between images */
22+
}
23+
24+
.attribution {
25+
font-size: small;
26+
}
27+
28+
.logo-wrapper {
29+
display: flex; /* Makes <a> tag a flex container */
30+
flex-direction: row; /* Horizontal layout */
31+
flex-wrap: wrap; /* Wrap contents */
32+
justify-content: center; /* Center images horizontally */
33+
align-items: center; /* Align images vertically */
34+
gap: 10px; /* Space between images */
35+
}
36+
37+
.logo {
38+
height: 70px;
39+
width: auto; /* Maintain aspect ratio */
40+
margin: 0; /* Remove unwanted margins */
41+
flex: 0 0 auto; /* Prevent any stretching */
42+
}
43+
44+
45+
html.dark .light-only {
46+
display: none !important;
47+
}
48+
49+
html:not(.dark) .dark-only {
50+
display: none !important;
51+
}
52+
</style>

0 commit comments

Comments
 (0)