mirror of
https://github.com/mue/mue.git
synced 2026-07-27 10:41:08 +02:00
@@ -35,7 +35,6 @@ export default function Items({
|
|||||||
))}
|
))}
|
||||||
</>
|
</>
|
||||||
) : null}
|
) : null}
|
||||||
|
|
||||||
<div className="items">
|
<div className="items">
|
||||||
{items.slice(0, 99).map((item) => (
|
{items.slice(0, 99).map((item) => (
|
||||||
<div className="item" onClick={() => toggleFunction(item)} key={item.name}>
|
<div className="item" onClick={() => toggleFunction(item)} key={item.name}>
|
||||||
|
|||||||
@@ -312,6 +312,15 @@ export default class Marketplace extends PureComponent {
|
|||||||
<MdOutlineKeyboardArrowRight /> Collection
|
<MdOutlineKeyboardArrowRight /> Collection
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
<div className='collectionPage'>
|
||||||
|
<div className="content">
|
||||||
|
<span className="mainTitle">Red Dead Redemption</span>
|
||||||
|
<span className="subtitle">A Collection of stuff inspired by the video game series Red Dead.</span>
|
||||||
|
</div>
|
||||||
|
<div className='nice-tag'>
|
||||||
|
Collection
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</>
|
</>
|
||||||
) : (
|
) : (
|
||||||
<>
|
<>
|
||||||
|
|||||||
@@ -333,6 +333,46 @@ p.author {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.collectionPage {
|
||||||
|
height: 200px;
|
||||||
|
display: flex;
|
||||||
|
flex-flow: column;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
gap: 25px;
|
||||||
|
background-size: cover;
|
||||||
|
background-position: center;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
|
||||||
|
@include themed() {
|
||||||
|
border-radius: t($borderRadius);
|
||||||
|
background-image: linear-gradient(to bottom, transparent, t($modal-background)),
|
||||||
|
url('https://external-preview.redd.it/JyhsEoGMhKIMi3kvfBS24L0IllAO_KrIm4UI-dA1Ax4.jpg?auto=webp&s=b5adf9859b2c1855a5b3085f9453a6e878548505');
|
||||||
|
}
|
||||||
|
.nice-tag {
|
||||||
|
border-radius: 150px;
|
||||||
|
padding: 1px 12px;
|
||||||
|
backdrop-filter: blur(16px) saturate(180%);
|
||||||
|
-webkit-backdrop-filter: blur(16px) saturate(180%);
|
||||||
|
background-color: rgba(255, 255, 255, 0.1);
|
||||||
|
border: 1px solid rgba(209, 213, 219, 0.3);
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
.content {
|
||||||
|
display: flex;
|
||||||
|
flex-flow: column;
|
||||||
|
text-align: center;
|
||||||
|
.mainTitle {
|
||||||
|
justify-content: center;
|
||||||
|
color: #fff !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.subtitle {
|
||||||
|
color: #ccc !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.collection {
|
.collection {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
|||||||
@@ -14,6 +14,14 @@
|
|||||||
min-width: 250px;
|
min-width: 250px;
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
|
|
||||||
|
.mainTitle {
|
||||||
|
text-align: center;
|
||||||
|
font-size: 35px;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
padding: 25px;
|
||||||
|
}
|
||||||
|
|
||||||
svg {
|
svg {
|
||||||
margin-left: 20px;
|
margin-left: 20px;
|
||||||
margin-right: 20px;
|
margin-right: 20px;
|
||||||
|
|||||||
@@ -46,10 +46,11 @@ function Tab({ label, currentTab, onClick, navbarTab }) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let icon, divider;
|
let icon, divider, mue;
|
||||||
switch (label) {
|
switch (label) {
|
||||||
case getMessage('modals.main.marketplace.product.overview'):
|
case getMessage('modals.main.marketplace.product.overview'):
|
||||||
icon = <Overview />;
|
icon = <Overview />;
|
||||||
|
mue = true;
|
||||||
break;
|
break;
|
||||||
case getMessage('modals.main.navbar.settings'):
|
case getMessage('modals.main.navbar.settings'):
|
||||||
icon = <Settings />;
|
icon = <Settings />;
|
||||||
@@ -163,6 +164,7 @@ function Tab({ label, currentTab, onClick, navbarTab }) {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
|
{mue === true ? <span className='mainTitle'>Mue</span> : null}
|
||||||
<button className={className} onClick={() => onClick(label)}>
|
<button className={className} onClick={() => onClick(label)}>
|
||||||
{icon} <span>{label}</span>
|
{icon} <span>{label}</span>
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
Reference in New Issue
Block a user