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

View File

@ -1,30 +1,5 @@
@import './assets/styles/global.scss'; @import './assets/styles/global.scss';
.projects-list { .projects-list {
margin-bottom: calculateRem(32); @include tagsList;
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

@ -1,30 +1,5 @@
@import './assets/styles/global.scss'; @import './assets/styles/global.scss';
.topics-list { .topics-list {
margin-bottom: calculateRem(32); @include tagsList;
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

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

View File

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