mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-02-16 10:42:08 +00:00
style: fix beer card image and update user page
This commit is contained in:
@@ -18,8 +18,9 @@ const BeerCard: FC<{ post: z.infer<typeof BeerPostQueryResult> }> = ({ post }) =
|
||||
<Image
|
||||
src={post.beerImages[0].path}
|
||||
alt={post.name}
|
||||
width="1029"
|
||||
height="110"
|
||||
width="3000"
|
||||
height="3000"
|
||||
className="h-full object-cover"
|
||||
/>
|
||||
)}
|
||||
</figure>
|
||||
|
||||
@@ -36,8 +36,8 @@ const UserInfoPage: FC<UserInfoPageProps> = ({ user }) => {
|
||||
<meta name="description" content="User information" />
|
||||
</Head>
|
||||
<>
|
||||
<main className="mb-12 mt-10 flex w-full items-center justify-center">
|
||||
<div className="w-11/12 space-y-3 xl:w-9/12 2xl:w-8/12">
|
||||
<main className="h-full mb-12 mt-10 flex w-full items-center justify-center">
|
||||
<div className="h-full w-11/12 space-y-3 xl:w-9/12 2xl:w-8/12">
|
||||
<UserHeader
|
||||
user={user}
|
||||
followerCount={followerCount}
|
||||
@@ -45,9 +45,9 @@ const UserInfoPage: FC<UserInfoPageProps> = ({ user }) => {
|
||||
/>
|
||||
|
||||
{isDesktop ? (
|
||||
<div className="flex space-x-3">
|
||||
<div className="w-5/12">
|
||||
<div className="card">
|
||||
<div className="h-64 flex space-x-3">
|
||||
<div className="h-full w-5/12">
|
||||
<div className="h-full card">
|
||||
<div className="card-body">
|
||||
<h2 className="text-2xl font-bold">About Me</h2>
|
||||
<p>{user.bio}</p>
|
||||
@@ -56,8 +56,8 @@ const UserInfoPage: FC<UserInfoPageProps> = ({ user }) => {
|
||||
</div>
|
||||
|
||||
<div className="w-7/12">
|
||||
<div className="card">
|
||||
<div className="card-body"></div>
|
||||
<div className="h-full card">
|
||||
<div className="h-full card-body"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user