-
Notifications
You must be signed in to change notification settings - Fork 3
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 #57 from SophiaAramburu/sophia
homepage
- Loading branch information
Showing
3 changed files
with
13 additions
and
57 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
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 |
---|---|---|
@@ -1,59 +1,14 @@ | ||
import React, { useState, useEffect } from 'react'; | ||
import { Link } from 'react-router-dom'; | ||
import drunkBee from '../assets/images/drunkbee.png' | ||
|
||
|
||
// Uncomment import statements below after building queries and mutations | ||
// import { useQuery } from '@apollo/client'; | ||
// import { QUERY_MATCHUPS } from '../utils/queries'; | ||
const Home = () => { | ||
// const [matchupList, setMatchupList] = useState([]); | ||
// useEffect(() => { | ||
// const getMatchupList = async () => { | ||
// try { | ||
// const res = await getAllMatchups(); | ||
// if (!res.ok) { | ||
// throw new Error('No list of matchups'); | ||
// } | ||
// const matchupList = await res.json(); | ||
// setMatchupList(matchupList); | ||
// } catch (err) { | ||
// console.error(err); | ||
// } | ||
// }; | ||
// getMatchupList(); | ||
// }, []); | ||
|
||
const Home= () => { | ||
return ( | ||
<div className="card bg-white card-rounded w-50"> | ||
|
||
<div class="input-1 text-2xl font md:font-serif"> | ||
<label> | ||
Email: <input class="bg-black text-white" type="text" email="email" placeholder="Enter Email" /> | ||
</label> | ||
</div> | ||
|
||
<br></br> | ||
|
||
<div class="input-1 text-2xl font md:font-serif"> | ||
<label> | ||
Password: <input class="bg-black text-white" type="text" password="password" placeholder="Enter Password" /> | ||
</label> | ||
</div> | ||
|
||
<br></br> | ||
|
||
<br></br> | ||
|
||
<br></br> | ||
|
||
<div class="input-1 text-2xl font md:font-serif"> | ||
<label> | ||
<button type="button"><Link to="/pages/create-account">Click here to Create Account!</Link></button> | ||
</label> | ||
<div class="create-account bg-yellow-200 pb-64"><br></br> | ||
<img class ="mx-auto outline" src={drunkBee} alt="Drunk bee" width="700" height="750"/><br></br> | ||
<p class= 'font-bold text-6xl text-center md:font-serif'>You got buzzzed</p> | ||
</div> | ||
|
||
</div> | ||
); | ||
}; | ||
|
||
export default Home; | ||
) | ||
} | ||
export default Home |