Merge pull request #31 from Nona-Creative/fix/update-topics-and-projects-list

Updating topics and projects lists
This commit is contained in:
sharynt 2018-07-20 12:23:54 +02:00 committed by GitHub
commit 8f6f7975a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 81 additions and 73 deletions

View File

@ -11,3 +11,32 @@
z-index: -1;
}
}
@mixin tagsList() {
margin-bottom: calculateRem(32);
ul {
display: flex;
flex-wrap: wrap;
}
li {
font-size: calculateRem(14);
padding: 0 calculateRem(8) calculateRem(8) 0;
cursor: pointer;
a {
display: inline-block;
text-decoration: none;
background-color: $red;
padding: calculateRem(8) calculateRem(12);
border-radius: 4px;
color: #fff;
transition: background-color 0.5s ease;
&:hover {
background-color: $dark-red;
}
}
}
}

View File

@ -21,6 +21,10 @@
h1 {
margin-bottom: calculateRem(24);
@media (min-width: $desktop) {
margin-bottom: 0;
}
}
p {
@ -28,7 +32,7 @@
@media (min-width: $desktop) {
width: calculateRem(336);
margin-left: calculateRem(224);
margin-left: calculateRem(204);
}
}
}
@ -41,7 +45,7 @@
}
@media (min-width: $desktop) {
padding: calculateRem(280) 0 calculateRem(140);
padding: calculateRem(180) 0 calculateRem(140);
.logo,
.page-header-nav {

View File

@ -1,30 +1,5 @@
@import './assets/styles/global.scss';
.projects-list {
margin-bottom: calculateRem(32);
ul {
display: flex;
flex-wrap: wrap;
}
li {
font-size: calculateRem(14);
padding: 0 calculateRem(8) calculateRem(8) 0;
cursor: pointer;
a {
display: inline-block;
text-decoration: none;
background-color: $red;
padding: calculateRem(8) calculateRem(12);
border-radius: 4px;
color: #fff;
transition: background-color 0.5s ease;
&:hover {
background-color: $dark-red;
}
}
}
@include tagsList;
}

View File

@ -1,30 +1,5 @@
@import './assets/styles/global.scss';
.topics-list {
margin-bottom: calculateRem(32);
ul {
display: flex;
flex-wrap: wrap;
}
li {
font-size: calculateRem(14);
padding: 0 calculateRem(8) calculateRem(8) 0;
cursor: pointer;
a {
display: inline-block;
text-decoration: none;
background-color: $red;
padding: calculateRem(8) calculateRem(12);
border-radius: 4px;
color: #fff;
transition: background-color 0.5s ease;
&:hover {
background-color: $dark-red;
}
}
}
@include tagsList;
}

View File

@ -1,14 +1,24 @@
const data = [
'Ethereum Foundation',
'Ethereum Community Fund',
'Solidity',
'Go-ethereum',
'Ethereum',
'Geth',
'Truffle',
'Infura',
'MetaMask',
'Parity',
'Remix',
'Mythril',
'Casper',
'Plasma',
'Status',
'Embark',
'Swarm',
'Vyper',
'eWASM',
'Casper/PoS'
'Sharding',
'State channels',
'Gitcoin',
'Augur',
'Vyper',
'Bamboo',
];
export default data;

View File

@ -1,17 +1,32 @@
const data = [
'Tools',
'Solidity',
'Truffle',
'Deploying',
'Concerns',
'Scalability',
'Evolution',
'Workflow',
'Linting',
'Casper',
'Testnet',
'Plasma',
'Testing'
'solidity',
'gas',
'protocol',
'transaction',
'event',
'network',
'documentation',
'usability',
'blockchain',
'client',
'bounty',
'deployment',
'audit',
'contract',
'verification',
'token',
'governance',
'payment',
'consensus',
'NFT',
'compiler',
'protocol',
'signature',
'hash',
'testing',
'wallet',
'community',
'decentralized',
];
export default data;