Skip to content

Commit

Permalink
change link
Browse files Browse the repository at this point in the history
  • Loading branch information
Schlauer-Hax committed Oct 7, 2024
1 parent 7ee42af commit 0338c3e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pages/music/edit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,15 +178,16 @@ const StreamingServiesDialog = SheetDialog(
).setGap("0.5rem")
).asRefComponent(),
);

//const prefix = "bbn.music/";
const prefix = "bbn.one/share?s=";
const SharingDialog = SheetDialog(
sheetStack,
"Manage Sharing Link",
share.map((shareVal) =>
shareVal
? Vertical(
Label("Your Link:").setTextSize("xl").setCssStyle("color", shareVal.slug ? "" : "gray"),
LinkButton("bbn.music/" + (shareVal.slug ?? "xxx"), "https://bbn.music/" + (shareVal.slug ?? "xxx"), "_blank")
LinkButton(prefix + (shareVal.slug ?? "xxx"), "https://" + prefix + (shareVal.slug ?? "xxx"), "_blank")
.addClass("link")
.setStyle(ButtonStyle.Inline).setColor(shareVal.slug ? Color.Colored : Color.Disabled),
Label("Services Found:").setTextSize("xl").setCssStyle("color", shareVal.slug ? "" : "gray"),
Expand Down

0 comments on commit 0338c3e

Please sign in to comment.