mirror of
https://github.com/bigchaindb/site.git
synced 2024-12-24 02:16:10 +01:00
add first batch of driver language logos, community tweaks
This commit is contained in:
parent
dbe88db64d
commit
5658db6753
6
_src/_assets/images/logo-cli.svg
Normal file
6
_src/_assets/images/logo-cli.svg
Normal file
@ -0,0 +1,6 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="42" height="36" viewBox="0 0 42 36">
|
||||
<g>
|
||||
<path d="M4.2714287,32.4628581 L36.7342868,32.4628581 C37.2058525,32.4628581 37.5885725,32.0801381 37.5885725,31.6085724 L37.5885725,4.2714287 C37.5885725,3.79986297 37.2058525,3.41714296 36.7342868,3.41714296 L4.2714287,3.41714296 C3.79986297,3.41714296 3.41714296,3.79986297 3.41714296,4.2714287 L3.41714296,31.6085724 C3.41714296,32.0801381 3.79986297,32.4628581 4.2714287,32.4628581 Z M22.2114292,15.3771433 L29.0457152,15.3771433 C29.5172809,15.3771433 29.9000009,15.7598633 29.9000009,16.2314291 C29.9000009,16.7029948 29.5172809,17.0857148 29.0457152,17.0857148 L22.2114292,17.0857148 C21.7398635,17.0857148 21.3571435,16.7029948 21.3571435,16.2314291 C21.3571435,15.7598633 21.7398635,15.3771433 22.2114292,15.3771433 Z M12.2111604,11.7088403 C11.8779889,11.3756689 11.8779889,10.8340518 12.2111604,10.5008803 C12.5443318,10.1677089 13.085949,10.1677089 13.4191204,10.5008803 L17.6905491,14.772309 C18.0237205,15.1054804 18.0237205,15.6470976 17.6905491,15.980269 L13.4191204,20.2516977 C13.085949,20.5848692 12.5443318,20.5848692 12.2111604,20.2516977 C11.8779889,19.9185263 11.8779889,19.3769091 12.2111604,19.0437377 L15.8777548,15.3771433 L12.2111604,11.7088403 Z"/>
|
||||
<path d="M40.1514298,0 L0.85428574,0 C0.382720011,0 0,0.382720011 0,0.85428574 L0,35.0257153 C0,35.4972811 0.382720011,35.8800011 0.85428574,35.8800011 L40.1514298,35.8800011 C40.6229955,35.8800011 41.0057155,35.4972811 41.0057155,35.0257153 L41.0057155,0.85428574 C41.0057155,0.382720011 40.6229955,0 40.1514298,0 Z M39.297144,34.1714296 L1.70857148,34.1714296 L1.70857148,1.70857148 L39.297144,1.70857148 L39.297144,34.1714296 Z"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 1.7 KiB |
6
_src/_assets/images/logo-go.svg
Normal file
6
_src/_assets/images/logo-go.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 6.5 KiB |
8
_src/_assets/images/logo-haskell.svg
Normal file
8
_src/_assets/images/logo-haskell.svg
Normal file
@ -0,0 +1,8 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="38" height="27" viewBox="0 0 38 27">
|
||||
<g>
|
||||
<polygon points="0 26.933 8.939 13.467 0 0 6.704 0 15.644 13.467 6.704 26.933"/>
|
||||
<polygon points="8.939 26.933 17.878 13.467 8.939 0 15.644 0 33.522 26.933 26.817 26.933 21.231 18.517 15.644 26.933"/>
|
||||
<polygon points="30.542 19.078 27.563 14.589 37.991 14.589 37.991 19.078"/>
|
||||
<polygon points="26.073 12.344 23.093 7.856 37.991 7.855 37.991 12.344"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 471 B |
3
_src/_assets/images/logo-js.svg
Normal file
3
_src/_assets/images/logo-js.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="41" height="41" viewBox="0 0 41 41">
|
||||
<path d="M0,0 L41,0 L41,41 L0,41 L0,0 Z M10.877551,34.9148412 L10.877551,34.9145109 C11.8001231,36.8696727 13.6175836,38.4897959 16.7486597,38.4897959 C20.2155773,38.4897959 22.5918367,36.6462586 22.5918367,32.5960743 L22.5918367,19.244898 L18.6778469,19.244898 L18.6778469,32.5407574 C18.6778469,34.4958531 17.8670016,34.9984769 16.5809043,34.9984769 C15.2391916,34.9984769 14.6798141,34.0769147 14.0649038,32.9876681 L10.877551,34.9148412 Z M24.2653061,33.704693 C25.3922675,35.9413046 27.7015267,37.6530612 31.2753163,37.6530612 C34.9315011,37.6530612 37.6530612,35.7480444 37.6530612,32.2688708 C37.6530612,29.0385361 35.8111144,27.6028771 32.5396842,26.1946402 L31.5775945,25.7805345 C29.9283094,25.0625826 29.2134865,24.5931431 29.2134865,23.4334185 C29.2134865,22.4947844 29.9283094,21.7769141 31.0554333,21.7769141 C32.1550108,21.7769141 32.86959,22.246272 33.5294016,23.4334185 L36.5259373,21.5007348 C35.2614881,19.2642048 33.502099,18.4081633 31.0554333,18.4081633 C27.618969,18.4081633 25.4197326,20.6171896 25.4197326,23.5163376 C25.4197326,26.6639981 27.2616794,28.1549909 30.0384134,29.3420558 L31.0003406,29.756488 C32.759811,30.5293656 33.8043772,30.9988051 33.8043772,32.324123 C33.8043772,33.4286116 32.7875199,34.2293847 31.1928398,34.2293847 C29.2960442,34.2293847 28.2239316,33.2354167 27.3990047,31.8823504 L24.2653061,33.704693 L24.2653061,33.704693 Z"/>
|
||||
</svg>
|
After Width: | Height: | Size: 1.4 KiB |
6
_src/_assets/images/logo-python.svg
Normal file
6
_src/_assets/images/logo-python.svg
Normal file
@ -0,0 +1,6 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="43" height="44" viewBox="0 0 43 44">
|
||||
<g>
|
||||
<path d="M21.3552108,0.000354015061 C19.5728539,0.00855605263 17.8707429,0.159100256 16.3730606,0.421560336 C11.961076,1.19350061 11.1600306,2.80923777 11.1600302,5.78893235 L11.1600302,9.72420284 L21.5860909,9.72420284 L21.5860909,11.0359597 L11.1600302,11.0359597 L7.24721958,11.0359597 C4.21711608,11.0359597 1.56387069,12.8396728 0.733969481,16.2709525 C-0.223311067,20.2039956 -0.265771663,22.6582784 0.733969481,26.7650072 C1.47509113,29.8218972 3.24498998,31.9999992 6.27509272,32 L9.85981055,32 L9.85981055,27.2824892 C9.85981055,23.8743661 12.8372967,20.8681194 16.3730606,20.8681187 L26.7869697,20.8681187 C29.6858329,20.8681187 32.0000012,18.5042938 32,15.6210913 L32,5.78893235 C32,2.99064397 29.6163527,0.888583353 26.7869697,0.421560336 C24.9959282,0.126292183 23.1375677,-0.00784802251 21.3552108,0.000354015061 Z M15.7168749,3.1654187 C16.7938154,3.1654187 17.6732803,4.05063399 17.6732803,5.13907117 C17.6732795,6.2236504 16.7938154,7.10068918 15.7168749,7.10068918 C14.6360736,7.1006888 13.7604696,6.22365001 13.7604696,5.13907117 C13.7604692,4.05063437 14.6360736,3.1654187 15.7168749,3.1654187 Z"/>
|
||||
<path d="M33.0952083,11 L33.0952083,15.692436 C33.0952083,19.3304183 30.0582857,22.3923967 26.595191,22.3923971 L16.2024393,22.3923971 C13.3556905,22.3923971 11.0000004,24.8668437 11,27.7622189 L11,37.8244755 C11,40.6882517 13.4519959,42.3726929 16.2024393,43.1942973 C19.4960392,44.1778555 22.6544291,44.3556094 26.595191,43.1942973 C29.2146611,42.4240422 31.7976314,40.8738997 31.7976302,37.8244755 L31.7976302,33.7971103 L21.4048786,33.7971103 L21.4048786,32.4546549 L31.7976302,32.4546549 L37.0000711,32.4546549 C40.0240189,32.4546549 41.1508658,30.3124771 42.2025065,27.0971492 C43.2888166,23.7870192 43.2425946,20.6037928 42.2025065,16.3575057 C41.4551869,13.300179 40.0278646,11 37.0000711,11 L33.0952083,11 Z M27.2500435,36.4820212 C28.3286497,36.4820224 29.2024741,37.3795862 29.2024741,38.4895452 C29.2024733,39.6034531 28.3286486,40.5093864 27.2500435,40.5093864 C26.1752898,40.5093864 25.2976129,39.6034531 25.2976129,38.4895452 C25.2976136,37.3795862 26.1752887,36.4820212 27.2500435,36.4820212 Z"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 2.2 KiB |
12
_src/_assets/images/logo-ruby.svg
Normal file
12
_src/_assets/images/logo-ruby.svg
Normal file
@ -0,0 +1,12 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
|
||||
<g>
|
||||
<polygon points="20.821 9.333 16 1.295 11.177 9.333"/>
|
||||
<polygon points="10.872 10.667 16 29.467 21.127 10.667"/>
|
||||
<polygon points="22.509 10.667 16.904 31.219 31.676 10.667"/>
|
||||
<polygon points=".323 10.667 15.095 31.219 9.489 10.667"/>
|
||||
<polygon points="6.424 .792 .324 9.333 9.092 9.333"/>
|
||||
<polygon points="24.631 0 16.777 0 21.825 8.415"/>
|
||||
<polygon points="15.221 0 7.573 0 10.192 8.384"/>
|
||||
<polygon points="31.676 9.333 25.708 .979 22.924 9.333"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 583 B |
@ -69,8 +69,7 @@
|
||||
.driver {
|
||||
padding: $spacer;
|
||||
background: rgba($brand-main-blue-light, .15);
|
||||
border-top-left-radius: $border-radius;
|
||||
border-top-right-radius: $border-radius;
|
||||
border-radius: $border-radius;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
@ -78,14 +77,24 @@
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
background: $brand-primary;
|
||||
box-shadow: 0 1px 4px rgba($brand-main-blue-dark, .4);
|
||||
transform: translateY(-1px);
|
||||
|
||||
.driver__title {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.driver__logo {
|
||||
background: #fff;
|
||||
fill: #fff;
|
||||
}
|
||||
}
|
||||
|
||||
&:active {
|
||||
outline: 0;
|
||||
transform: translateY(0);
|
||||
box-shadow: 0 1px 2px rgba($brand-main-blue-dark, .3);
|
||||
}
|
||||
}
|
||||
|
||||
.driver,
|
||||
@ -97,7 +106,7 @@
|
||||
.driver__logo {
|
||||
width: 2rem;
|
||||
height: 2rem;
|
||||
background: $brand-primary;
|
||||
fill: $brand-primary;
|
||||
}
|
||||
|
||||
.driver__title {
|
||||
@ -205,4 +214,21 @@
|
||||
border-bottom: 1px solid $gray-dark;
|
||||
margin-bottom: $spacer * 3;
|
||||
padding-bottom: $spacer * 3;
|
||||
|
||||
h5 {
|
||||
margin-top: $spacer / 2;
|
||||
margin-bottom: $spacer / 4;
|
||||
}
|
||||
|
||||
.icon {
|
||||
width: 2rem;
|
||||
height: 2rem;
|
||||
fill: $brand-main-blue-dark;
|
||||
opacity: .6;
|
||||
}
|
||||
|
||||
.icon--gitter {
|
||||
stroke: $brand-main-blue-dark;
|
||||
stroke-width: 2;
|
||||
}
|
||||
}
|
||||
|
@ -27,3 +27,9 @@
|
||||
width: .5rem;
|
||||
height: .5rem;
|
||||
}
|
||||
|
||||
.icon--gitter {
|
||||
stroke-width: 1.5;
|
||||
fill: none;
|
||||
stroke: $text-color;
|
||||
}
|
||||
|
@ -2,24 +2,30 @@ official:
|
||||
- title: Python
|
||||
repo: bigchaindb-driver
|
||||
version: v0.2.2
|
||||
icon: logo-python
|
||||
|
||||
- title: JavaScript
|
||||
repo: js-bigchaindb-driver
|
||||
version: v0.1.1
|
||||
icon: logo-js
|
||||
|
||||
- title: CLI
|
||||
repo: bdb-transaction-cli
|
||||
version: v0.2.2
|
||||
icon: logo-cli
|
||||
|
||||
community:
|
||||
- title: Haskell
|
||||
repo: bigchaindb-hs
|
||||
icon: logo-haskell
|
||||
|
||||
- title: Ruby
|
||||
repo: bigchaindb_ruby
|
||||
icon: logo-ruby
|
||||
|
||||
- title: Go
|
||||
repo: bigchaindb-driver-golang
|
||||
icon: logo-go
|
||||
|
||||
- title: Java
|
||||
repo: bigchaindb-java
|
||||
|
@ -127,7 +127,7 @@ redirect_from:
|
||||
<a class="driver" href="https://github.com/bigchaindb/{{ driver.repo }}">
|
||||
<h2 class="driver__title">{{ driver.title }}</h2>
|
||||
<svg class="driver__logo">
|
||||
<use></use>
|
||||
<use xlink:href="/assets/img/sprite.svg#{{ driver.icon }}"></use>
|
||||
</svg>
|
||||
|
||||
<p class="driver__meta">
|
||||
@ -169,7 +169,7 @@ redirect_from:
|
||||
<div class="grid__col">
|
||||
<a class="driver driver--community" href="https://github.com/bigchaindb/{{ driver.repo }}">
|
||||
<svg class="driver__logo">
|
||||
<use></use>
|
||||
<use xlink:href="/assets/img/sprite.svg#{{ driver.icon }}"></use>
|
||||
</svg>
|
||||
<h2 class="driver__title">{{ driver.title }}</h2>
|
||||
|
||||
@ -217,6 +217,9 @@ redirect_from:
|
||||
<div class="row community__actions">
|
||||
<div class="grid grid--full grid-small--fit grid--gutters">
|
||||
<div class="grid__col">
|
||||
<svg class="icon icon--social icon--gitter">
|
||||
<use xlink:href="/assets/img/sprite.svg#gitter"></use>
|
||||
</svg>
|
||||
<h5>Chat on Gitter</h5>
|
||||
<p>Start a chat with us on Gitter.</p>
|
||||
<a href="{{ site.social.gitter.url }}" class="btn btn-primary btn-sm">
|
||||
@ -224,6 +227,9 @@ redirect_from:
|
||||
</a>
|
||||
</div>
|
||||
<div class="grid__col">
|
||||
<svg class="icon icon--social icon--github">
|
||||
<use xlink:href="/assets/img/sprite.svg#github"></use>
|
||||
</svg>
|
||||
<h5>Open an issue</h5>
|
||||
<p>So you found a bug? Report it!</p>
|
||||
<a href="{{ site.social.github.url }}/{{ site.social.github.repo }}" class="btn btn-primary btn-sm">
|
||||
|
Loading…
Reference in New Issue
Block a user