Skip to content

Commit 9af7b91

Browse files
committed
remove demo banners
1 parent 54ef3ed commit 9af7b91

File tree

1 file changed

+0
-32
lines changed

1 file changed

+0
-32
lines changed

src/components/banner/index.tsx

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -46,38 +46,6 @@ type BannerType = {
4646
// ];
4747

4848
const BANNERS: BannerType[] = [
49-
{
50-
// Match the homepage
51-
appearsOn: ['^/$'],
52-
text: 'This is a banner for the homepage',
53-
linkURL: 'https://sentry.io/',
54-
linkText: 'RSVP',
55-
},
56-
// javascript -> Astro example
57-
{
58-
appearsOn: ['^/platforms/javascript/guides/astro/'],
59-
text: 'This banner appears on the Astro guide',
60-
linkURL: 'https://sentry.io/thought-leadership',
61-
linkText: 'Get webinarly',
62-
},
63-
// example with an expiration date
64-
{
65-
appearsOn: ['^/platforms/javascript/guides/aws-lambda/'],
66-
text: "This banner should appear on the AWS Lambda guide, but won't because it's expired",
67-
linkURL: 'https://sentry.io/thought-leadership',
68-
linkText: 'Get webinarly',
69-
expiresOn: '2024-01-01T00:00:00Z',
70-
},
71-
// generic javascript example
72-
{
73-
// we can constrain it to the javascript platform page only
74-
// by adding a more specific regex ie '^/platforms/javascript/$'
75-
appearsOn: ['^/platforms/javascript/'],
76-
text: 'This banner appears on the JavaScript platform page and all subpages',
77-
linkURL: 'https://sentry.io/thought-leadership',
78-
linkText: 'Get webinarly',
79-
},
80-
8149
/// ⚠️ KEEP THIS LAST BANNER ACTIVE FOR DOCUMENTATION
8250
// check it out on `/contributing/pages/banners/`
8351
{

0 commit comments

Comments
 (0)