forked from dscnsec/Stake-frontend-clone
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6bc1639
commit 19957b0
Showing
16 changed files
with
128 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
.feat-cards { | ||
display: flex; | ||
flex-direction: column; | ||
gap: 20px; | ||
background-color: #081c2c; /* Ensure the background color is set */ | ||
padding: 20px; /* Increase dimensions by adding padding */ | ||
} | ||
|
||
.card { | ||
position: relative; | ||
background-size: cover; | ||
padding-left: 10px; | ||
padding-right: 10px; | ||
border-radius: 10px; | ||
color: white; | ||
box-sizing: border-box; | ||
|
||
} | ||
|
||
.card-content { | ||
max-width: 60%; | ||
} | ||
|
||
.features { | ||
display: flex; | ||
gap: 10px; | ||
margin: 10px 0; | ||
} | ||
|
||
.feature { | ||
display: flex; | ||
align-items: center; | ||
gap: 5px; | ||
background-color: rgba(0, 0, 0, 0.5); | ||
padding: 5px 10px; | ||
border-radius: 5px; | ||
} | ||
|
||
.explore-button { | ||
background-color: #007bff; | ||
border: none; | ||
padding: 10px 20px; | ||
color: white; | ||
border-radius: 5px; | ||
cursor: pointer; | ||
} | ||
|
||
.person-image { | ||
position: absolute; | ||
bottom: 0; | ||
right: 0; | ||
height: 104%; | ||
border-radius: 10px; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
import './FeatCards.css'; | ||
import back1 from './back1.png'; | ||
import back2 from './back2.png'; | ||
import c1_1 from './c1-1.png'; | ||
import c1_2 from './c1-2.png'; | ||
import c1_3 from './c1-3.png'; | ||
import c1_4 from './c1-4.png'; | ||
import c2_1 from './c2-1.png'; | ||
import c2_2 from './c2-2.png'; | ||
import c2_3 from './c2-3.png'; | ||
import c2_4 from './c2-4.png'; | ||
import p1 from './p-1.png'; | ||
import p2 from './p-2.png'; | ||
|
||
const FeatCards = () => { | ||
return ( | ||
<div className="feat-cards" style={{ backgroundColor: '#081c2c' }}> | ||
<div className="card" style={{ backgroundImage: `url(${back1})` }}> | ||
<div className="card-content"> | ||
<h2>Thousands of thrilling games.<br />Thousands of ways to win big.</h2> | ||
<div className="features"> | ||
<div className="feature"> | ||
<img src={c1_1} alt="New Releases" /> | ||
New Releases | ||
</div> | ||
<div className="feature"> | ||
<img src={c1_2} alt="Slots" /> | ||
Slots | ||
</div> | ||
<div className="feature"> | ||
<img src={c1_3} alt="Live Casino" /> | ||
Live Casino | ||
</div> | ||
<div className="feature"> | ||
<img src={c1_4} alt="Table Games" /> | ||
Table Games | ||
</div> | ||
</div> | ||
<button className="explore-button">Explore Casino</button> | ||
</div> | ||
<img src={p1} alt="Person" className="person-image" /> | ||
</div> | ||
<div className="card" style={{ backgroundImage: `url(${back2})` }}> | ||
<div className="card-content"> | ||
<h2>Watch and bet on the biggest events across sports and beyond</h2> | ||
<div className="features"> | ||
<div className="feature"> | ||
<img src={c2_1} alt="Sports" /> | ||
Sports | ||
</div> | ||
<div className="feature"> | ||
<img src={c2_2} alt="Esports" /> | ||
Esports | ||
</div> | ||
<div className="feature"> | ||
<img src={c2_3} alt="Horse Racing" /> | ||
Horse Racing | ||
</div> | ||
<div className="feature"> | ||
<img src={c2_4} alt="Live Streams" /> | ||
Live Streams | ||
</div> | ||
</div> | ||
<button className="explore-button">Explore Sports</button> | ||
</div> | ||
<img src={p2} alt="Person" className="person-image" /> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default FeatCards; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.