Skip to content

Commit

Permalink
Update sponsors
Browse files Browse the repository at this point in the history
  • Loading branch information
jgthms committed Feb 20, 2020
1 parent 0c43b9e commit 962f454
Show file tree
Hide file tree
Showing 13 changed files with 125 additions and 54 deletions.
23 changes: 20 additions & 3 deletions docs/_data/sponsors.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,13 @@
"width":"125",
"height":"35"
},
"searchpromocodes": {
"name": "SearchPromoCodes",
"url": "https://searchpromocodes.com/",
"title": "SearchPromoCodes",
"width":"150",
"height":"62"
},
"clothingric": {
"name": "ClothingRIC",
"url": "https://www.clothingric.com/",
Expand Down Expand Up @@ -172,6 +179,14 @@
"title": "Real Time Communications World",
"width":"120",
"height":"57"
},
"polygon": {
"name": "Polygon.io",
"url": "https://polygon.io/",
"title": "Stock APIs",
"width":"150",
"height":"50",
"follow": true
}
},
"home": [
Expand All @@ -186,17 +201,19 @@
"sparheld",
"bid4papers",
"writersperhour",
"promocodewatch",
"searchpromocodes",
"clothingric",
"edubirdie",
"edusson",
"emucoupon",
"namobot",
"firesticktricks",
"airtract",
"realtimecommunications"
"realtimecommunications",
"polygon"
],
"footer": [
"writersperhour"
"writersperhour",
"polygon"
]
}
1 change: 1 addition & 0 deletions docs/_includes/elements/sponsor-item.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

<div class="{{ include.classname }}">
<a
class="bd-sponsor-item"
href="{{ sponsor.url }}"
target="_blank"
{% unless sponsor.follow %}
Expand Down
16 changes: 9 additions & 7 deletions docs/_includes/footer/support.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,17 @@ <h4 class="bd-footer-title">
{% if site.data.sponsors.footer.size > 0 %}
<div class="bd-footer-donation column">
<p class="bd-footer-donation-title">
Visit our <strong>Sponsor</strong>
Visit our <strong>Sponsors</strong>
</p>

{% for sponsor_id in site.data.sponsors.footer %}
{% include elements/sponsor-item.html
sponsor_id=sponsor_id
classname="bd-footer-sponsor"
%}
{% endfor %}
<div class="bd-footer-donation-items">
{% for sponsor_id in site.data.sponsors.footer %}
{% include elements/sponsor-item.html
sponsor_id=sponsor_id
classname="bd-footer-sponsor"
%}
{% endfor %}
</div>
</div>
{% endif %}

Expand Down
7 changes: 7 additions & 0 deletions docs/_sass/footer.sass
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,13 @@
.bd-footer-donation
flex: none

.bd-footer-donation-items
display: flex
flex-wrap: wrap
justify-content: center
.bd-footer-sponsor
width: 12rem

.bd-footer-sponsor a
@extend %center
height: 70px
Expand Down
17 changes: 1 addition & 16 deletions docs/_sass/index.sass
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@
max-width: $intro-width

.bd-focus-item
@extend %link-before-background
border-radius: $radius-large
padding-top: 1.25rem
position: relative
Expand All @@ -165,22 +166,6 @@
position: relative
strong
color: currentColor
&::before
+overlay
background-color: $scheme-main-bis
border-radius: $radius-large
content: ""
display: block
opacity: 0
pointer-events: none
transform: scale(1.1)
transform-origin: center
transition-duration: $speed * 2
transition-property: opacity, transform
&:hover
&::before
opacity: 1
transform: scale(1)
.subtitle
color: $text
&:nth-child(1):hover
Expand Down
15 changes: 14 additions & 1 deletion docs/_sass/sponsors.sass
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ $bd-partner-width: 12rem
max-width: (8 * $bd-partner-width)

.bd-partner-sponsor
align-items: center
align-items: stretch
display: flex
flex-direction: column
justify-content: center
margin: 0.25rem 1rem
// min-height: $carbon-height + $carbon-poweredby-height
Expand All @@ -36,6 +37,18 @@ $bd-partner-width: 12rem
font-size: 0.875em
line-height: 1.25
min-height: 0
.bd-sponsor-item
display: inline
.bd-sponsor-item:before
display: none

.bd-sponsor-item
@extend %link-before-background
@extend %center
flex-grow: 1
position: relative
img
position: relative

.bd-partnrs
background-color: $scheme-main-bis
Expand Down
18 changes: 18 additions & 0 deletions docs/bulma-docs.sass
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,24 @@ $sidebar-width: 10.5rem
box-shadow: 0 1.5rem 1.5rem -1.25rem rgba($black, 0.05)
display: block

%link-before-background
&::before
+overlay
background-color: $scheme-main-bis
border-radius: $radius-large
content: ""
display: block
opacity: 0
pointer-events: none
transform: scale(1.1)
transform-origin: center
transition-duration: $speed * 2
transition-property: opacity, transform
&:hover
&::before
opacity: 1
transform: scale(1)

=selection($current-selector: false)
@if $current-selector
&::-moz-selection
Expand Down
80 changes: 54 additions & 26 deletions docs/css/bulma-docs.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/css/bulma-docs.min.css

Large diffs are not rendered by default.

Binary file added docs/images/amis/polygon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/amis/polygon@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/amis/searchpromocodes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/amis/searchpromocodes@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 962f454

Please sign in to comment.