Skip to content

Commit

Permalink
UI improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
luloxi committed Sep 24, 2024
1 parent 983e8aa commit 890b52c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions packages/nextjs/app/myProfile/MyProfile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export const MyProfile: NextPage = () => {
{/* User Profile Section */}
<div className="relative flex flex-col md:flex-row items-center bg-base-100 p-6 rounded-lg shadow-md w-full">
{/* Profile Picture */}
<div className="avatar mr-4 md:mr-8">
<div className="avatar ">
<ProfilePictureUpload
isEditing={isEditing}
profilePicture={profilePicture}
Expand Down Expand Up @@ -205,7 +205,7 @@ export const MyProfile: NextPage = () => {

{/* USDC Balance and Logo at the Bottom Right */}
{isEditing ? (
<div className="absolute bottom-2 right-4 flex items-center gap-2">
<div className="mt-2 flex items-center gap-2">
<button className="cool-button" onClick={handleEditProfile}>
Save changes
</button>
Expand Down
2 changes: 1 addition & 1 deletion packages/nextjs/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import type { NextPage } from "next";
import { getMetadata } from "~~/utils/scaffold-eth/getMetadata";

export const metadata = getMetadata({
title: "Explore | DARTE",
title: "DARTE",
description: "Built with 🏗 Scaffold-ETH 2",
});

Expand Down
7 changes: 5 additions & 2 deletions packages/nextjs/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,11 @@ export const Header = () => {
<RainbowKitCustomConnectButton />
)}
{isMenuOpen && isConnected && (
<div className="absolute flex flex-col items-center justify-center right-0 top-10 mt-2 w-48 bg-base-100 shadow-lg rounded-lg">
<RainbowKitCustomConnectButton />
<div className="absolute flex flex-col items-center justify-center right-0 top-10 mt-2 w-48 bg-base-300 shadow-lg rounded-lg">
<div className="pt-2">
<RainbowKitCustomConnectButton />
</div>

<div className="pt-2 mb-2 flex flex-row items-center justify-center gap-2">
<Link href="/myProfile" passHref>
<span className="btn btn-primary">My Profile</span>
Expand Down

0 comments on commit 890b52c

Please sign in to comment.