feat: redirecting to web store

This commit is contained in:
Chubby Granny Chaser 2025-02-16 01:28:40 +00:00
parent 730184de77
commit ae159a4d44
No known key found for this signature in database

View file

@ -5,6 +5,8 @@ import { AddThemeModal, DeleteAllThemesModal } from "../index";
import "./theme-actions.scss";
import { useState } from "react";
export const WEB_STORE_URL = "https://hydrathemes.shop";
interface ThemeActionsProps {
onListUpdated: () => void;
themesCount: number;
@ -36,7 +38,13 @@ export const ThemeActions = ({
<div className="settings-appearance__actions">
<div className="settings-appearance__actions-left">
<Button theme="primary" className="settings-appearance__button">
<Button
theme="primary"
className="settings-appearance__button"
onClick={() => {
window.open(WEB_STORE_URL, "_blank");
}}
>
<GlobeIcon />
{t("web_store")}
</Button>