mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
Add config and settings!
This commit is contained in:
1 parent
16004a9a86
commit
3900b9fa83
14 files changed
+90
-9
No files matched your search
@@ -1,6 +1,17 @@
|
||||
import React from 'react';
|
||||
import { AppWrapper } from '../../../ui/components';
|
||||
import React from "react";
|
||||
import { AppWrapper } from "../../../ui/components";
|
||||
import { useSettings } from "../../settings/hooks/useSettings";
|
||||
import { GridMenu } from "./GridMenu";
|
||||
|
||||
export const HomeApp = ({}) => {
|
||||
return <AppWrapper style={{backgroundImage: `${process.env.PUBLIC_URL}url(/media/backgrounds/default.png)` }}>Home!</AppWrapper>
|
||||
export const HomeApp = () => {
|
||||
const [settings] = useSettings();
|
||||
return (
|
||||
<AppWrapper
|
||||
style={{
|
||||
backgroundImage: `${process.env.PUBLIC_URL}url(/media/backgrounds/${settings.wallpaper})`,
|
||||
}}
|
||||
>
|
||||
<GridMenu apps={settings.apps} />
|
||||
</AppWrapper>
|
||||
);
|
||||
};
|
||||
Reference in new issue
Block a user