Skip to content

Commit

Permalink
Merge pull request #16 from MyriadFlow/brand-fixes
Browse files Browse the repository at this point in the history
chore: add edit brand button
  • Loading branch information
Joshua-Ogbonna authored Nov 9, 2024
2 parents 42c4e3d + 7394660 commit fd5bde5
Showing 1 changed file with 19 additions and 24 deletions.
43 changes: 19 additions & 24 deletions src/app/brand/[id]/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,30 +165,25 @@ const Brand = ({ params }) => {
className="text-2xl flex gap-2"
style={{ justifyContent: "space-between" }}
>
{/* {isOwner && ( */}
{/* <Link
href={`/brand/${params.id}/edit`}
className="border"
style={{
background: "transparent",
border: "6px solid transparent",
borderRadius: "8px",
backgroundImage: `
linear-gradient(white, white),
linear-gradient(to right, #AF40FF, #5B42F3, #00DDEB)
`,
backgroundOrigin: "border-box",
backgroundClip: "content-box, border-box",
WebkitBackgroundClip: "content-box, border-box",
display: "block",
width: "180px",
height: "50px",
textAlign: "center",
}}
>
<div style={{ marginTop: "4px" }}>EDIT BRAND</div>
</Link> */}
{/* )} */}
{isOwner && (
<Link
href={`https://studio.myriadflow.com/edit-brand/${params.id}`}
className="border"
style={{
background: "#E6E6E6",
border: "none",
borderRadius: "30px",
display: "block",
width: "180px",
height: "50px",
textAlign: "center",
color: "#000",
fontWeight: 400
}}
>
<div style={{ marginTop: "4px" }}>Edit profile</div>
</Link>
)}
<Link
href=""
className="border"
Expand Down

0 comments on commit fd5bde5

Please sign in to comment.