-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: complete refactor of the calendar component * feat: add task button on calendar * style: selected day color * style: background on calendar * feat: status pill to quick task * style: general stuff * refactor: general refactor of status pill * feat: home dash small start idk bored * feat: task details nav * refactor: general change to getstatus to get actual pill JSX * feat: folder structure things * fix: remove file preview from upload * fix: file title auto fill after selecting an image * fix: remove plus sign * refactor: general cleanup * refactor: app nav * refactor: folder structure cleanup * style: fix some font things to match designs * fix(fix-setting-overdue-tasks): no no no * fix(it-didn't-save-this-smol-change): reorder of args in if statement * fix(tet-fix): fix --------- Co-authored-by: andrewcaplan1 <[email protected]>
- Loading branch information
1 parent
3050ba6
commit 528bb78
Showing
21 changed files
with
398 additions
and
185 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,6 +29,5 @@ | |
"projectId": "c66c08fd-ea3e-4a67-84da-77ef27bb3c23" | ||
} | ||
} | ||
// "owner": "andrew10" | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import React from 'react'; | ||
import { Text, View } from 'react-native'; | ||
|
||
import moment from 'moment'; | ||
|
||
import { User } from '../../types/user'; | ||
|
||
export function Header({ user }: { user: User | undefined }) { | ||
const currentTime = moment(); | ||
return ( | ||
<View> | ||
<Text className="font-carewallet-manrope-semibold text-2xl text-carewallet-black"> | ||
{currentTime.format('A') === 'AM' | ||
? `Good Morning ${user?.first_name ?? ''}!` | ||
: currentTime.hour() >= 12 && currentTime.hour() < 15 | ||
? `Good Afternoon ${user?.first_name ?? ''}!` | ||
: `Good Evening ${user?.first_name ?? ''}!`} | ||
</Text> | ||
</View> | ||
); | ||
} |
Oops, something went wrong.