Skip to content

Commit

Permalink
homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
SophiaAramburu committed Jan 25, 2023
1 parent f1644e7 commit 88ccd7f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 57 deletions.
4 changes: 2 additions & 2 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"react-router-dom": "^6.2.1",
"react-scripts": "^5.0.1",
"web-vitals": "^2.1.4"
},
"scripts": {
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
Expand Down
5 changes: 3 additions & 2 deletions client/src/components/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ export default function Header() {
<>

<nav class="flex items-center justify-between flex-wrap bg-black p-6">

<div class="flex items-center flex-shrink-0 text-white mr-6">
<br></br>
<div class="flex items-center flex-shrink-0 text-white p-4">
<svg class="fill-current h-8 w-8 mr-2" width="54" height="54" viewBox="0 0 54 54" xmlns="http://www.w3.org/2000/svg"><path d="M13.5 22.1c1.8-7.2 6.3-10.8 13.5-10.8 10.8 0 12.15 8.1 17.55 9.45 3.6.9 6.75-.45 9.45-4.05-1.8 7.2-6.3 10.8-13.5 10.8-10.8 0-12.15-8.1-17.55-9.45-3.6-.9-6.75.45-9.45 4.05zM0 38.3c1.8-7.2 6.3-10.8 13.5-10.8 10.8 0 12.15 8.1 17.55 9.45 3.6.9 6.75-.45 9.45-4.05-1.8 7.2-6.3 10.8-13.5 10.8-10.8 0-12.15-8.1-17.55-9.45-3.6-.9-6.75.45-9.45 4.05z"/></svg>
<span class="font-semibold text-xl tracking-tight"><Link to="/">BarScapes</Link></span>
</div>
<br></br>

<div class="block lg:hidden">
<button class="flex items-center px-3 py-2 border rounded text-teal-200 border-teal-400 hover:text-white hover:border-white">
Expand Down
61 changes: 8 additions & 53 deletions client/src/pages/homepage.js
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

0 comments on commit 88ccd7f

Please sign in to comment.