mirror of
https://github.com/Qortal/chrome-extension.git
synced 2025-02-12 02:05:49 +00:00
add default apps
This commit is contained in:
parent
bd9f0bb9f4
commit
4260c148fb
@ -3,7 +3,29 @@ import { atom } from 'recoil';
|
|||||||
|
|
||||||
export const sortablePinnedAppsAtom = atom({
|
export const sortablePinnedAppsAtom = atom({
|
||||||
key: 'sortablePinnedAppsFromAtom',
|
key: 'sortablePinnedAppsFromAtom',
|
||||||
default: [],
|
default: [{
|
||||||
|
name: 'Q-Tube',
|
||||||
|
servic: 'APP'
|
||||||
|
}, {
|
||||||
|
name: 'Q-Mail',
|
||||||
|
service: 'APP'
|
||||||
|
}, {
|
||||||
|
name: 'Q-Share',
|
||||||
|
service: 'APP'
|
||||||
|
}, {
|
||||||
|
name: 'Q-Blog',
|
||||||
|
service: 'APP'
|
||||||
|
}, {
|
||||||
|
name: 'Q-Fund',
|
||||||
|
service: 'APP'
|
||||||
|
}, {
|
||||||
|
name: 'Q-Shop',
|
||||||
|
service: 'APP'
|
||||||
|
},{
|
||||||
|
name: 'Qombo',
|
||||||
|
service: 'APP'
|
||||||
|
}
|
||||||
|
],
|
||||||
});
|
});
|
||||||
|
|
||||||
export const canSaveSettingToQdnAtom = atom({
|
export const canSaveSettingToQdnAtom = atom({
|
||||||
|
@ -8,7 +8,7 @@ import {
|
|||||||
} from "./Apps-styles";
|
} from "./Apps-styles";
|
||||||
import { Avatar, ButtonBase } from "@mui/material";
|
import { Avatar, ButtonBase } from "@mui/material";
|
||||||
import { Add } from "@mui/icons-material";
|
import { Add } from "@mui/icons-material";
|
||||||
import { getBaseApiReact } from "../../App";
|
import { getBaseApiReact, isMobile } from "../../App";
|
||||||
import LogoSelected from "../../assets/svgs/LogoSelected.svg";
|
import LogoSelected from "../../assets/svgs/LogoSelected.svg";
|
||||||
import { executeEvent } from "../../utils/events";
|
import { executeEvent } from "../../utils/events";
|
||||||
import { SortablePinnedApps } from "./SortablePinnedApps";
|
import { SortablePinnedApps } from "./SortablePinnedApps";
|
||||||
@ -24,11 +24,13 @@ export const AppsHomeDesktop = ({ setMode, myApp, myWebsite, availableQapps })
|
|||||||
setMode("library");
|
setMode("library");
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<AppCircleContainer>
|
<AppCircleContainer sx={{
|
||||||
|
gap: !isMobile ? '10px': '5px'
|
||||||
|
}}>
|
||||||
<AppCircle>
|
<AppCircle>
|
||||||
<Add>+</Add>
|
<Add>+</Add>
|
||||||
</AppCircle>
|
</AppCircle>
|
||||||
<AppCircleLabel>Add</AppCircleLabel>
|
<AppCircleLabel>Library</AppCircleLabel>
|
||||||
</AppCircleContainer>
|
</AppCircleContainer>
|
||||||
</ButtonBase>
|
</ButtonBase>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user