more formatting

This commit is contained in:
Christopher committed 2021-03-02 20:45:41 +01:00
1 parent 046447b0fb
commit f552c1212c
157 files changed
+635 -1579

No files matched your search

+9 -11
View File
@@ -52,11 +52,11 @@ function Phone() {
const { bottom, visibility } = usePhoneVisibility();
return (
<Slide direction='up' in={visibility}>
<div className='PhoneWrapper'>
<Slide direction="up" in={visibility}>
<div className="PhoneWrapper">
<div>
<div
className='Phone'
className="Phone"
style={{
transformOrigin: 'right bottom',
transform: `scale(${settings.zoom}`,
@@ -64,26 +64,24 @@ function Phone() {
}}
>
<div
className='PhoneFrame'
className="PhoneFrame"
style={{
backgroundImage: `url(./media/frames/${settings.frame})`,
}}
/>
<div
id='phone'
className='PhoneScreen'
id="phone"
className="PhoneScreen"
style={{
backgroundImage: `url(./media/backgrounds/${settings.wallpaper})`,
}}
>
<>
<NotificationBar />
<div className='PhoneAppContainer'>
<div className="PhoneAppContainer">
<>
<Route exact path='/' component={HomeApp} />
{callModal && (
<Route exact path='/call' component={CallModal} />
)}
<Route exact path="/" component={HomeApp} />
{callModal && <Route exact path="/call" component={CallModal} />}
{apps.map((App) => (
<App.Route key={App.id} />
))}