mirror of
https://github.com/Qortal/chrome-extension.git
synced 2025-02-11 17:55: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({
|
||||
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({
|
||||
|
@ -8,7 +8,7 @@ import {
|
||||
} from "./Apps-styles";
|
||||
import { Avatar, ButtonBase } from "@mui/material";
|
||||
import { Add } from "@mui/icons-material";
|
||||
import { getBaseApiReact } from "../../App";
|
||||
import { getBaseApiReact, isMobile } from "../../App";
|
||||
import LogoSelected from "../../assets/svgs/LogoSelected.svg";
|
||||
import { executeEvent } from "../../utils/events";
|
||||
import { SortablePinnedApps } from "./SortablePinnedApps";
|
||||
@ -24,11 +24,13 @@ export const AppsHomeDesktop = ({ setMode, myApp, myWebsite, availableQapps })
|
||||
setMode("library");
|
||||
}}
|
||||
>
|
||||
<AppCircleContainer>
|
||||
<AppCircleContainer sx={{
|
||||
gap: !isMobile ? '10px': '5px'
|
||||
}}>
|
||||
<AppCircle>
|
||||
<Add>+</Add>
|
||||
</AppCircle>
|
||||
<AppCircleLabel>Add</AppCircleLabel>
|
||||
<AppCircleLabel>Library</AppCircleLabel>
|
||||
</AppCircleContainer>
|
||||
</ButtonBase>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user