mirror of
https://github.com/pawelmalak/flame.git
synced 2025-07-23 05:19:37 +02:00
Small changes to CSS. README.md with screenshots
This commit is contained in:
parent
1636b705de
commit
22920f2660
16 changed files with 70 additions and 40 deletions
|
@ -51,17 +51,7 @@ const Home = (props: ComponentProps): JSX.Element => {
|
|||
|
||||
const now = new Date();
|
||||
|
||||
const ordinal = (day: number): string => {
|
||||
if (day > 3 && day < 21) return 'th';
|
||||
switch (day % 10) {
|
||||
case 1: return "st";
|
||||
case 2: return "nd";
|
||||
case 3: return "rd";
|
||||
default: return "th";
|
||||
}
|
||||
}
|
||||
|
||||
return `${days[now.getDay()]}, ${now.getDate()}${ordinal(now.getDate())} ${months[now.getMonth()]} ${now.getFullYear()}`;
|
||||
return `${days[now.getDay()]}, ${now.getDate()} ${months[now.getMonth()]} ${now.getFullYear()}`;
|
||||
}
|
||||
|
||||
const greeter = (): string => {
|
||||
|
@ -94,6 +84,8 @@ const Home = (props: ComponentProps): JSX.Element => {
|
|||
: <AppGrid apps={props.apps.filter((app: App) => app.isPinned)} />
|
||||
}
|
||||
|
||||
<div className={classes.HomeSpace}></div>
|
||||
|
||||
<SectionHeadline title='Bookmarks' link='/bookmarks' />
|
||||
{props.categoriesLoading
|
||||
? <Spinner />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue