forked from Immortalin/onefraction
-
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.
setup dashbaord ui components. setup google maps address lookup
- Loading branch information
1 parent
655569d
commit 37ed114
Showing
14 changed files
with
317 additions
and
68 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
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
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 |
---|---|---|
@@ -1 +1,2 @@ | ||
/// <reference types="react-scripts" /> | ||
declare module 'react-load-script' |
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,34 @@ | ||
import * as React from 'react' | ||
import { View } from 'react-native' | ||
import { Flex, Box as FlexBox } from '@rebass/grid' | ||
import ContentBox, { Variants as ContentBoxVariants } from './ContentBox' | ||
|
||
const Dashboard = () => ( | ||
<View> | ||
<Flex width={1} flexDirection="row" justifyContent="space-between" alignItems="center" mb={50}> | ||
<FlexBox width={1} pr="15px"> | ||
<ContentBox title="4.8" subtitle="Your Renter Rating" variant={ContentBoxVariants.rating} /> | ||
</FlexBox> | ||
<FlexBox width={1} px="15px"> | ||
<ContentBox title="$8420" subtitle="Total Savings" /> | ||
</FlexBox> | ||
<FlexBox width={1} pl="15px"> | ||
<ContentBox title="$4210" subtitle="Savings from Landlord" /> | ||
</FlexBox> | ||
</Flex> | ||
<Flex width={1} flexDirection="row" justifyContent="space-between" alignItems="center"> | ||
<FlexBox width={2 / 3} pr="10px"> | ||
<ContentBox title="4.8" subtitle="Your Renter Rating" /> | ||
</FlexBox> | ||
<FlexBox width={1 / 3} pl="15px"> | ||
<ContentBox | ||
title="$262" | ||
subtitle="Earned Interest" | ||
variant={ContentBoxVariants.cyanTitle} | ||
/> | ||
</FlexBox> | ||
</Flex> | ||
</View> | ||
) | ||
|
||
export default Dashboard |
Oops, something went wrong.