-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from yashwanthvarma18/DataCard-6
The Desgin along with components ready
- Loading branch information
Showing
12 changed files
with
102 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,4 +32,4 @@ function App() { | |
) | ||
} | ||
|
||
export default App | ||
export default App |
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,54 @@ | ||
.data-card-container { | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
padding: 20px; | ||
background-color: #0a1a2f; /* Dark background */ | ||
} | ||
|
||
.card-grid { | ||
display: grid; | ||
grid-template-columns: repeat(3, 1fr); | ||
gap: 20px; /* Adjust the gap as needed */ | ||
} | ||
.card { | ||
border-radius: 10px; | ||
overflow: hidden; | ||
|
||
} | ||
.card img { | ||
width: 100%; | ||
height: auto; | ||
display: block; | ||
} | ||
|
||
|
||
|
||
.community-section { | ||
max-width: 400px; | ||
} | ||
|
||
|
||
.community-section h2 { | ||
font-size: 24px; | ||
margin-bottom: 10px; | ||
} | ||
|
||
.community-section p { | ||
font-size: 16px; | ||
margin-bottom: 20px; | ||
} | ||
|
||
.join-button { | ||
background-color: #007bff; | ||
color: white; | ||
border: none; | ||
padding: 10px 20px; | ||
border-radius: 5px; | ||
cursor: pointer; | ||
transition: background-color 0.3s; | ||
} | ||
|
||
.join-button:hover { | ||
background-color: #0056b3; | ||
} |
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,47 @@ | ||
import "./DataCard6.css"; | ||
import image1 from "./image1.png"; | ||
import image2 from "./image2.png"; | ||
import image3 from "./image3.png"; | ||
import image4 from "./image4.png"; | ||
import image5 from "./image5.png"; | ||
import image6 from "./image6.png"; | ||
import image7 from "./image7.png"; | ||
import image8 from "./image8.png"; | ||
import image9 from "./image9.png"; | ||
|
||
function DataCard6() { | ||
const cards = [ | ||
{ id: 1, image: image1, alt: "Person 1" }, | ||
{ id: 2, image: image2, alt: "Person 2" }, | ||
{ id: 3, image: image3, alt: "Person 3" }, | ||
{ id: 4, image: image4, alt: "Person 4" }, | ||
{ id: 5, image: image5, alt: "Person 5" }, | ||
{ id: 6, image: image6, alt: "Person 6" }, | ||
{ id: 7, image: image7, alt: "Person 7" }, | ||
{ id: 8, image: image8, alt: "Person 8" }, | ||
{ id: 9, image: image9, alt: "Person 9" }, | ||
]; | ||
|
||
return ( | ||
<div className="data-card-container"> | ||
<div className="card-grid"> | ||
{cards.map((card) => ( | ||
<div key={card.id} className="card"> | ||
<img src={card.image} alt={card.alt} /> | ||
</div> | ||
))} | ||
</div> | ||
<div className="community-section"> | ||
<h2>Share your excitement with a thriving community</h2> | ||
<p> | ||
From beginners and casual players to high rollers and expert players, | ||
our community loves to support one another. Get tips and tricks | ||
through our online chat, forums, and more. | ||
</p> | ||
<button className="join-button">Join the community</button> | ||
</div> | ||
</div> | ||
); | ||
} | ||
|
||
export default DataCard6; |
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.