Skip to content

Commit

Permalink
Revert "Deprecate web app login"
Browse files Browse the repository at this point in the history
This reverts commit 82690ce.
  • Loading branch information
serefyarar committed Jan 11, 2025
1 parent 8de0bc7 commit 69032e6
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
25 changes: 24 additions & 1 deletion web-app/src/components/new/AppHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ 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 @@ -78,9 +79,31 @@ 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: 1 addition & 0 deletions web-app/src/components/sections/landing/Hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ 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 69032e6

Please sign in to comment.