Skip to content

Commit

Permalink
Deprecate web app login
Browse files Browse the repository at this point in the history
  • Loading branch information
serefyarar committed Dec 17, 2024
1 parent ae8b834 commit 82690ce
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 25 deletions.
25 changes: 1 addition & 24 deletions web-app/src/components/new/AppHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { useAuth } from "@/context/AuthContext";
import Image from "next/image";
import { useRouter, useSearchParams } from "next/navigation";
import { useState, useEffect } from "react";
import Button from "./Button";

const AppHeader = () => {
const router = useRouter();
Expand Down Expand Up @@ -79,31 +78,9 @@ const AppHeader = () => {
</a>
</li>
</ul>
<Button onClick={connect}>Connect</Button>
</div>

<div className="md:hidden flex flex-row gap-4 items-center">
<Button onClick={connect}>Connect</Button>
<button
className="text-white"
onClick={() => setIsMenuOpen(!isMenuOpen)}
>
<svg
className="w-6 h-6"
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
>
<path
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="2"
d="M4 6h16M4 12h16m-7 6h7"
></path>
</svg>
</button>
</div>

</div>

{isMenuOpen && (
Expand Down
1 change: 0 additions & 1 deletion web-app/src/components/sections/landing/Hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ const HeroSection = () => {
discovery experiences across the web.
</p>
<div className="flex gap-4">
<Button onClick={connect}>Connect</Button>
<Button
variant="outline"
onClick={() => {
Expand Down

0 comments on commit 82690ce

Please sign in to comment.