Skip to content

Commit 4308762

Browse files
authored
docs: update rollbar sponsorship
1 parent 03c364a commit 4308762

File tree

1 file changed

+2
-21
lines changed

1 file changed

+2
-21
lines changed

docs/app/components/AdManager.vue

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1+
12
<template>
23
<md-content class="ad-manager" id="ad-manager" md-theme="default">
34
<div id="code-sponsor" class="code-sponsor">
45
<span class="code-sponsor-header">Vue Material is proudly sponsored by:</span>
56

67
<a :href="linkHref" class="code-sponsor-content" target="_blank" rel="noopener">
78
<strong class="code-sponsor-name">Rollbar</strong>
8-
<span class="code-sponsor-description">Real-time error monitoring, alerting, and analytics for developers 🚀</span>
9+
<span class="code-sponsor-description">Real-time JavaScript error monitoring, alerting, and analytics for developers 🚀</span>
910
</a>
1011

1112
<img class="code-sponsor-pixel" :src="pixelHref" />
@@ -16,7 +17,6 @@
1617
<script>
1718
const isProd = process.env.NODE_ENV === 'production'
1819
const token = 'bb9dade0-0207-4ab0-8c86-d00502d952f5'
19-
2020
export default {
2121
name: 'AdManager',
2222
computed: {
@@ -36,37 +36,29 @@
3636

3737
<style lang="scss" scoped>
3838
@import "~vue-material/theme/engine";
39-
4039
$ad-responsive-big: 1690px;
4140
$ad-responsive-small: 768px;
42-
4341
@mixin ad-theme ($hue, $color) {
4442
.code-sponsor {
4543
background: md-get-palette-color(grey, $hue);
46-
4744
.code-sponsor-header {
4845
color: rgba($color, .54);
4946
}
5047
}
51-
5248
.code-sponsor-content {
5349
color: rgba($color, .7);
54-
5550
&:hover {
5651
color: $color;
5752
}
5853
}
5954
}
60-
6155
.ad-manager {
6256
width: calc(100% + 32px);
6357
margin: 0 -16px -16px;
64-
6558
@media (max-width: $ad-responsive-small) {
6659
display: flex;
6760
}
6861
}
69-
7062
.code-sponsor {
7163
max-width: 175px;
7264
margin: 7px 16px 24px 16px;
@@ -78,20 +70,17 @@
7870
z-index: 10;
7971
font-size: 12px;
8072
line-height: 1.5em;
81-
8273
@media (min-width: $ad-responsive-big) {
8374
margin: 0;
8475
position: fixed;
8576
right: 16px;
8677
bottom: 16px;
8778
}
88-
8979
@media (max-width: $ad-responsive-small) {
9080
max-width: none;
9181
margin-bottom: 16px;
9282
float: none;
9383
}
94-
9584
.splash-container & {
9685
@media (max-width: $ad-responsive-big) {
9786
max-width: 530px;
@@ -102,33 +91,27 @@
10291
}
10392
}
10493
}
105-
10694
.code-sponsor-header {
10795
font-size: 11px;
10896
line-height: 1.3em;
10997
}
110-
11198
.code-sponsor-content {
11299
margin-top: 1em;
113-
114100
&:hover {
115101
text-decoration: none;
116102
}
117103
}
118-
119104
.code-sponsor-name,
120105
.code-sponsor-description {
121106
&:hover {
122107
text-decoration: underline;
123108
}
124109
}
125-
126110
.code-sponsor-name {
127111
margin-bottom: .5em;
128112
display: block;
129113
font-weight: 600;
130114
}
131-
132115
.code-sponsor-pixel {
133116
width: 1px;
134117
height: 1px;
@@ -139,11 +122,9 @@
139122
clip: rect(0 0 0 0);
140123
border: 0;
141124
}
142-
143125
.main-container {
144126
@include ad-theme(200, #000);
145127
}
146-
147128
.splash-container {
148129
@media (min-width: $ad-responsive-big) {
149130
@include ad-theme(800, #fff);

0 commit comments

Comments
 (0)