mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: redirecting to web store
This commit is contained in:
parent
730184de77
commit
ae159a4d44
1 changed files with 9 additions and 1 deletions
|
@ -5,6 +5,8 @@ import { AddThemeModal, DeleteAllThemesModal } from "../index";
|
||||||
import "./theme-actions.scss";
|
import "./theme-actions.scss";
|
||||||
import { useState } from "react";
|
import { useState } from "react";
|
||||||
|
|
||||||
|
export const WEB_STORE_URL = "https://hydrathemes.shop";
|
||||||
|
|
||||||
interface ThemeActionsProps {
|
interface ThemeActionsProps {
|
||||||
onListUpdated: () => void;
|
onListUpdated: () => void;
|
||||||
themesCount: number;
|
themesCount: number;
|
||||||
|
@ -36,7 +38,13 @@ export const ThemeActions = ({
|
||||||
|
|
||||||
<div className="settings-appearance__actions">
|
<div className="settings-appearance__actions">
|
||||||
<div className="settings-appearance__actions-left">
|
<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 />
|
<GlobeIcon />
|
||||||
{t("web_store")}
|
{t("web_store")}
|
||||||
</Button>
|
</Button>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue