Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 56 additions & 0 deletions src/pages/LandingPage/LandingPage.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
.landing {
background-color: #5e54ac;
height: 100vh;
}

.landing__heading {
padding-top: 60px;
padding-bottom: 30px;
margin-top: 0px;
color: aliceblue;
font-size: 50px;
}

.image {
display: inline-block;
margin: 30px;
padding-top: 30px;
fill: #fff;
}

.player_1 {
margin: 30px;
border-style: none;
background-color: #5e54ac;
border-bottom: 3px solid #fff;
outline: none;
font-size: 30px;
text-align: right;
color: #fff;
}

.player_2 {
margin: 30px;
border-style: none;
background-color: #5e54ac;
border-bottom: 3px solid #fff;
outline: none;
font-size: 30px;
color: #fff;
}

.landing__btn {
border-radius: 30px;
margin-top: 60px;
padding: 5px;
color: #5e54ac;
font-size: 30px;
background-color: #fdfdfd;
border-style: none;
width: 300px;
height: 50px;
}

.loading__btn:hover {
background-color: #888888;
}
18 changes: 18 additions & 0 deletions src/pages/LandingPage/LandingPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,24 @@ const LandingPage = () => {
<div className="landing__heading">IEEE-VIT&apos;s Tic Tac Toe!</div>
{/* use two input boxes to enter player names */}
{/* add styling */}
<img
className="image"
src="/my-app/src/assets/circle.svg"
alt=""
height="100px"
width="100px"
/>
<img
className="image"
src="/my-app/src/assets/cross.svg"
alt=""
height="100px"
width="100px"
/>
<div>
<input className="player_1" type="text" />
<input className="player_2" type="text" />
</div>
<button
type="button"
className="landing__btn"
Expand Down