Skip to content

Commit

Permalink
add rarible link
Browse files Browse the repository at this point in the history
  • Loading branch information
realvjy committed May 17, 2021
1 parent bb44c16 commit 483f6f5
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/components/featured.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@ const Featured = () => {
return (
<section className="illus chris">
<div className="container">
<div className="promotion">
<a href="https://rarible.com/realvjy">
<img src="nft-illlustrations.jpg" className="web-promo"/>
<img src="nft-illlustrations-mobile.jpg" className="mobile-promo"/>
</a>
</div>
<div className="title">
<h1>20 New Illustrations</h1>
</div>
Expand Down
28 changes: 28 additions & 0 deletions src/components/layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -975,3 +975,31 @@ footer{
}
}
}

.promotion{
padding: 24px 20px;
a{
transition: all ease 0.2s;
.web-promo{
@media (max-width: $mobile-landscape){
display: none;
}
}
.mobile-promo{
display: none;
@media (max-width: $mobile-landscape){
display: block;
}
}
img{
width: 100%;
border-radius: 12px;
}
&:hover{
img{
transform: scale3d(1.01,1.01,1.01);
}
}
}

}
Binary file added static/nft-illlustrations-mobile.jpg
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 static/nft-illlustrations.jpg
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 483f6f5

Please sign in to comment.