Skip to content

Commit 2c4411f

Browse files
committed
feat: Add a banner to the browser devtools
1 parent 9607bea commit 2c4411f

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

static/app/index.tsx

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,32 @@
6868
// [1]: https://sentry.io/careers/
6969

7070
async function app() {
71+
// eslint-disable-next-line no-console
72+
console.log(
73+
`%c
74+
██████╗ ███████╗███╗ ██╗████████╗██████╗ ██╗ ██╗
75+
██╔════╝ ██╔════╝████╗ ██║╚══██╔══╝██╔══██╗╚██╗ ██╔╝
76+
╚█████╗ █████╗ ██╔██╗ ██║ ██║ ██████╔╝ ╚████╔╝
77+
╚═══██╗ ██╔══╝ ██║╚██╗██║ ██║ ██╔══██╗ ╚██╔╝
78+
██████╔╝ ███████╗██║ ╚████║ ██║ ██║ ██║ ██║
79+
╚═════╝ ╚══════╝╚═╝ ╚═══╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝
80+
81+
👋 Hey, you opened the console!
82+
83+
Found a bug?
84+
Yeah, we probably know about it. We literally built a company
85+
around finding and fixing bugs. The irony isn't lost on us.
86+
87+
📚 Docs (we wrote them, please read them): https://docs.sentry.io/
88+
💬 Ideas? Complaints? Hot takes? https://github.com/getsentry/sentry/discussions
89+
90+
Like poking around in dev tools? We like that about you.
91+
We're hiring: https://sentry.io/careers/
92+
(We have snacks. And opinions about error handling.)
93+
`,
94+
`color: #6C5FC7; font-family: 'Roboto Mono', Monaco, Consolas, 'Courier New', monospace;`
95+
);
96+
7197
// We won't need initalizeMainImport until we complete bootstrapping.
7298
// Initaite the fetch, just don't await it until we need it.
7399
const initalizeMainImport = import('sentry/bootstrap/initializeMain');

0 commit comments

Comments
 (0)