Skip to content

Commit

Permalink
Imported Bootstrap CSS through CDN in index.html
Browse files Browse the repository at this point in the history
Removed Bootstrap CSS from in index.css
Removed server.js
  • Loading branch information
AliciaMoses committed Mar 1, 2023
1 parent 8b5e71c commit 8d40208
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 12,269 deletions.
Binary file added .DS_Store
Binary file not shown.
2 changes: 2 additions & 0 deletions client/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
<head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta
Expand Down
26 changes: 0 additions & 26 deletions client/src/components/navbar/Navbar.js
Original file line number Diff line number Diff line change
@@ -1,32 +1,6 @@
// navbar on homepage : login and sign up button

import React from "react";
import './Navbar.css';

// const Navbar = () => {
// const [searchTerm, setSearchTerm] = useState('');
// const [searchResults, setSearchResults] = useState([]);

// const handleSignOut = () => {
// window.localStorage.removeItem("token");
// window.location.href = "/login";
// };
// return (
// <div align="right">
// <a href="/login-page">
// <button type="submit">
// <i class="login">Login</i>
// </button>
// </a>
// <a href="/signup-page">
// <button type="submit">
// <i class="signup">Signup</i>
// </button>
// </a>
// </div>
// );
// };

const Navbar = () => {
return (
<div className="navbar">
Expand Down
Loading

0 comments on commit 8d40208

Please sign in to comment.