Skip to content

Commit 962f454

Browse files
committed
Update sponsors
1 parent 0c43b9e commit 962f454

File tree

13 files changed

+125
-54
lines changed

13 files changed

+125
-54
lines changed

docs/_data/sponsors.json

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,13 @@
111111
"width":"125",
112112
"height":"35"
113113
},
114+
"searchpromocodes": {
115+
"name": "SearchPromoCodes",
116+
"url": "https://searchpromocodes.com/",
117+
"title": "SearchPromoCodes",
118+
"width":"150",
119+
"height":"62"
120+
},
114121
"clothingric": {
115122
"name": "ClothingRIC",
116123
"url": "https://www.clothingric.com/",
@@ -172,6 +179,14 @@
172179
"title": "Real Time Communications World",
173180
"width":"120",
174181
"height":"57"
182+
},
183+
"polygon": {
184+
"name": "Polygon.io",
185+
"url": "https://polygon.io/",
186+
"title": "Stock APIs",
187+
"width":"150",
188+
"height":"50",
189+
"follow": true
175190
}
176191
},
177192
"home": [
@@ -186,17 +201,19 @@
186201
"sparheld",
187202
"bid4papers",
188203
"writersperhour",
189-
"promocodewatch",
204+
"searchpromocodes",
190205
"clothingric",
191206
"edubirdie",
192207
"edusson",
193208
"emucoupon",
194209
"namobot",
195210
"firesticktricks",
196211
"airtract",
197-
"realtimecommunications"
212+
"realtimecommunications",
213+
"polygon"
198214
],
199215
"footer": [
200-
"writersperhour"
216+
"writersperhour",
217+
"polygon"
201218
]
202219
}

docs/_includes/elements/sponsor-item.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
<div class="{{ include.classname }}">
99
<a
10+
class="bd-sponsor-item"
1011
href="{{ sponsor.url }}"
1112
target="_blank"
1213
{% unless sponsor.follow %}

docs/_includes/footer/support.html

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,17 @@ <h4 class="bd-footer-title">
2121
{% if site.data.sponsors.footer.size > 0 %}
2222
<div class="bd-footer-donation column">
2323
<p class="bd-footer-donation-title">
24-
Visit our <strong>Sponsor</strong>
24+
Visit our <strong>Sponsors</strong>
2525
</p>
2626

27-
{% for sponsor_id in site.data.sponsors.footer %}
28-
{% include elements/sponsor-item.html
29-
sponsor_id=sponsor_id
30-
classname="bd-footer-sponsor"
31-
%}
32-
{% endfor %}
27+
<div class="bd-footer-donation-items">
28+
{% for sponsor_id in site.data.sponsors.footer %}
29+
{% include elements/sponsor-item.html
30+
sponsor_id=sponsor_id
31+
classname="bd-footer-sponsor"
32+
%}
33+
{% endfor %}
34+
</div>
3335
</div>
3436
{% endif %}
3537

docs/_sass/footer.sass

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,13 @@
5454
.bd-footer-donation
5555
flex: none
5656

57+
.bd-footer-donation-items
58+
display: flex
59+
flex-wrap: wrap
60+
justify-content: center
61+
.bd-footer-sponsor
62+
width: 12rem
63+
5764
.bd-footer-sponsor a
5865
@extend %center
5966
height: 70px

docs/_sass/index.sass

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@
149149
max-width: $intro-width
150150

151151
.bd-focus-item
152+
@extend %link-before-background
152153
border-radius: $radius-large
153154
padding-top: 1.25rem
154155
position: relative
@@ -165,22 +166,6 @@
165166
position: relative
166167
strong
167168
color: currentColor
168-
&::before
169-
+overlay
170-
background-color: $scheme-main-bis
171-
border-radius: $radius-large
172-
content: ""
173-
display: block
174-
opacity: 0
175-
pointer-events: none
176-
transform: scale(1.1)
177-
transform-origin: center
178-
transition-duration: $speed * 2
179-
transition-property: opacity, transform
180-
&:hover
181-
&::before
182-
opacity: 1
183-
transform: scale(1)
184169
.subtitle
185170
color: $text
186171
&:nth-child(1):hover

docs/_sass/sponsors.sass

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@ $bd-partner-width: 12rem
2424
max-width: (8 * $bd-partner-width)
2525

2626
.bd-partner-sponsor
27-
align-items: center
27+
align-items: stretch
2828
display: flex
29+
flex-direction: column
2930
justify-content: center
3031
margin: 0.25rem 1rem
3132
// min-height: $carbon-height + $carbon-poweredby-height
@@ -36,6 +37,18 @@ $bd-partner-width: 12rem
3637
font-size: 0.875em
3738
line-height: 1.25
3839
min-height: 0
40+
.bd-sponsor-item
41+
display: inline
42+
.bd-sponsor-item:before
43+
display: none
44+
45+
.bd-sponsor-item
46+
@extend %link-before-background
47+
@extend %center
48+
flex-grow: 1
49+
position: relative
50+
img
51+
position: relative
3952

4053
.bd-partnrs
4154
background-color: $scheme-main-bis

docs/bulma-docs.sass

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,24 @@ $sidebar-width: 10.5rem
3838
box-shadow: 0 1.5rem 1.5rem -1.25rem rgba($black, 0.05)
3939
display: block
4040

41+
%link-before-background
42+
&::before
43+
+overlay
44+
background-color: $scheme-main-bis
45+
border-radius: $radius-large
46+
content: ""
47+
display: block
48+
opacity: 0
49+
pointer-events: none
50+
transform: scale(1.1)
51+
transform-origin: center
52+
transition-duration: $speed * 2
53+
transition-property: opacity, transform
54+
&:hover
55+
&::before
56+
opacity: 1
57+
transform: scale(1)
58+
4159
=selection($current-selector: false)
4260
@if $current-selector
4361
&::-moz-selection

docs/css/bulma-docs.css

Lines changed: 54 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/css/bulma-docs.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/images/amis/polygon.png

6.45 KB
Loading

0 commit comments

Comments
 (0)