Skip to content

Commit

Permalink
update song
Browse files Browse the repository at this point in the history
  • Loading branch information
idoubi committed Apr 12, 2024
1 parent d396823 commit 7bb6fe8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/[locale]/(default)/_components/tab/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default function ({ type }: { type: string }) {
const pathname = usePathname();

return (
<div role="tablist" className="tabs tabs-boxed mt-2">
<div role="tablist" className="tabs tabs-sm md:tabs-md tabs-boxed mt-2">
<a
href={`/${type}`}
className={`tab ${
Expand Down
3 changes: 3 additions & 0 deletions app/[locale]/(default)/song/[uuid]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ export async function generateMetadata({
if (song) {
title = t("song_title").replace("%s", song.title);
description = t("song_description").replace("%s", song.title);
if (song.provider === "udio") {
description = description.replace("Suno", "Udio");
}
}

return {
Expand Down

0 comments on commit 7bb6fe8

Please sign in to comment.