mirror of
https://github.com/Lissy93/dashy.git
synced 2024-12-23 08:52:28 +03:00
🍻 Working on the Features componwent
This commit is contained in:
parent
609b06306c
commit
6036503e15
@ -190,8 +190,11 @@ function Feature({ title, description, icon, index }) {
|
||||
<div className="feature-half text">
|
||||
<div className="feature-title">{icon}<h3>{title}</h3></div>
|
||||
<p>{description}</p>
|
||||
<div className="read-the-docs">
|
||||
<small>Learn more in the Docs</small>
|
||||
<Button to="/docs" color={color}>{icon} Docs</Button>
|
||||
</div>
|
||||
</div>
|
||||
<div className="feature-half assets">
|
||||
<div className="screenshot"></div>
|
||||
</div>
|
||||
|
@ -26,6 +26,7 @@
|
||||
width: 40%;
|
||||
padding: 1rem;
|
||||
&.assets {
|
||||
visibility: hidden; //temp
|
||||
background: var(--feature-color);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@ -46,6 +47,7 @@
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
margin: 1rem 0;
|
||||
color: var(--feature-color);
|
||||
svg {
|
||||
margin-right: 0.5rem;
|
||||
width: 2rem;
|
||||
@ -54,9 +56,15 @@
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
a.button-link-wrapper {
|
||||
div.read-the-docs {
|
||||
float: right;
|
||||
a.button-link-wrapper {
|
||||
margin: 0 1rem 1rem;
|
||||
}
|
||||
small {
|
||||
opacity: 0.75;
|
||||
margin: 0 0.5rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user