mirror of
https://github.com/pawelmalak/flame.git
synced 2025-07-23 05:19:37 +02:00
Added favicon and changed page title. Changed message when there are apps/bookmarks created but they are not pinned to homescreen. Added functionality to set custom page title.
This commit is contained in:
parent
35c589c94c
commit
30ed700521
14 changed files with 136 additions and 60 deletions
|
@ -81,7 +81,10 @@ const Home = (props: ComponentProps): JSX.Element => {
|
|||
<SectionHeadline title='Applications' link='/applications' />
|
||||
{props.appsLoading
|
||||
? <Spinner />
|
||||
: <AppGrid apps={props.apps.filter((app: App) => app.isPinned)} />
|
||||
: <AppGrid
|
||||
apps={props.apps.filter((app: App) => app.isPinned)}
|
||||
totalApps={props.apps.length}
|
||||
/>
|
||||
}
|
||||
|
||||
<div className={classes.HomeSpace}></div>
|
||||
|
@ -89,7 +92,10 @@ const Home = (props: ComponentProps): JSX.Element => {
|
|||
<SectionHeadline title='Bookmarks' link='/bookmarks' />
|
||||
{props.categoriesLoading
|
||||
? <Spinner />
|
||||
: <BookmarkGrid categories={props.categories.filter((category: Category) => category.isPinned)} />
|
||||
: <BookmarkGrid
|
||||
categories={props.categories.filter((category: Category) => category.isPinned)}
|
||||
totalCategories={props.categories.length}
|
||||
/>
|
||||
}
|
||||
|
||||
<Link to='/settings' className={classes.SettingsButton}>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue