chore: Update ThemePage component to include install and uninstall buttons
This commit is contained in:
@@ -32,7 +32,12 @@ export default function ThemePage({ theme }: { theme: ZenTheme }) {
|
|||||||
className="mt-4 hidden"
|
className="mt-4 hidden"
|
||||||
id="install-theme"
|
id="install-theme"
|
||||||
zen-theme-id={theme.id}
|
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>
|
<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>
|
</div>
|
||||||
<hr className="block my-4 lg:hidden" />
|
<hr className="block my-4 lg:hidden" />
|
||||||
|
|||||||
Reference in New Issue
Block a user