chore: Update ThemePage component to include install and uninstall buttons

This commit is contained in:
Mauro Balades
2024-08-17 12:41:45 +02:00
parent 77df30502c
commit cb8d89cee4

View File

@@ -32,7 +32,12 @@ export default function ThemePage({ theme }: { theme: ZenTheme }) {
className="mt-4 hidden"
id="install-theme"
zen-theme-id={theme.id}
>Install Theme</Button>
>Install Theme 🎉</Button>
<Button
className="mt-4"
id="install-theme-uninstall"
zen-theme-id={theme.id}
>Uninstall Theme</Button>
<p id="install-theme-error" className="text-muted-foreground text-sm mt-2">You need to have Zen Browser installed to install this theme. <a href="/download" className="text-blue-500">Download now!</a></p>
</div>
<hr className="block my-4 lg:hidden" />