This repository has been archived by the owner on Jul 14, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* New: Add Ethical Ads * Fix ad on homepage and demo * Fix about pages
- Loading branch information
Showing
14 changed files
with
100 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<!-- Ethical Ads --> | ||
<div class="bordered" data-ea-publisher="eslint-org" data-ea-type="image"> | ||
<div class="eslint-ad eslint-image-ad"> | ||
<div class="eslint-ad-content"> | ||
<a href="https://opencollective.com/eslint" rel="nofollow" target="_blank"><img src="/assets/img/logo.svg"></a> | ||
<div class="eslint-ad-text"><a href="http://opencollective.com/eslint" rel="nofollow" target="_blank"><strong>Sponsor ESLint.</strong> ESLint depends on donations for ongoing maintenance and development.</a></div> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<!-- Ethical Ads --> | ||
<div class="bordered" data-ea-publisher="eslint-org" data-ea-type="text"> | ||
<div class="eslint-ad"> | ||
<div class="eslint-ad-content"> | ||
<a href="https://opencollective.com/eslint" rel="nofollow" target="_blank"><strong>Sponsor ESLint.</strong> ESLint depends on donations for ongoing maintenance and development.</a> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
--- | ||
title: Team | ||
layout: doc | ||
ad: text | ||
--- | ||
|
||
<h1>Team</h1> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
--- | ||
title: "Who's Using ESLint?" | ||
layout: doc | ||
ad: text | ||
--- | ||
|
||
<h1>Who's Using ESLint?</h1> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
.eslint-ad { | ||
|
||
color: #333; | ||
font-size: 14px; | ||
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji; | ||
font-weight: normal; | ||
font-style: normal; | ||
letter-spacing: 0px; | ||
vertical-align: baseline; | ||
line-height: 1.3em; | ||
|
||
border: 1px solid rgba(0,0,0,0.04); | ||
border-radius: 3px; | ||
box-shadow: none; | ||
|
||
overflow: auto; | ||
|
||
margin: 1em 1em 0.5em 1em; | ||
padding: 1em; | ||
background: rgba(0,0,0,0.03); | ||
color: #505050; | ||
|
||
.eslint-ad-content { | ||
text-align: center; | ||
} | ||
|
||
img { | ||
display: inline-block; | ||
vertical-align: middle; | ||
width: 120px; | ||
height: 90px; | ||
} | ||
|
||
.eslint-ad-text { | ||
font-size: 1em; | ||
margin-top: 1em; | ||
text-align: center; | ||
|
||
a { | ||
color: #505050; | ||
text-decoration: none; | ||
} | ||
} | ||
|
||
|
||
|
||
} | ||
|
||
.eslint-image-ad { | ||
max-width: 180px; | ||
} | ||
|
||
.eslint-ad-float { | ||
float: right; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,4 @@ | |
@import "lib/rules_index.less"; | ||
@import "lib/404.less"; | ||
@import "lib/banner.less"; | ||
@import "lib/ad.less"; |