This repository has been archived by the owner on May 12, 2021. It is now read-only.
-
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.
- Loading branch information
Showing
4 changed files
with
55 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
import React from "react"; | ||
import Favourites_card from "./components/Favourites_card"; | ||
|
||
function App() { | ||
return <div className="App">App</div>; | ||
return <div className="App">{<Favourites_card />}</div>; | ||
} | ||
|
||
export default App; |
File renamed without changes
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,52 @@ | ||
import React, { Component } from "react"; | ||
import styled from "styled-components"; | ||
import { | ||
Container, | ||
Row, | ||
Col, | ||
ButtonToolbar, | ||
Button, | ||
Image | ||
} from "react-bootstrap"; | ||
import { FaHome } from "react-icons/fa"; | ||
|
||
const Styles = styled.div` | ||
.logo { | ||
align: left; | ||
height: 64px; | ||
width: 64px; | ||
} | ||
, | ||
.container { | ||
padding: 4em; | ||
background: papayawhip; | ||
height: auto; | ||
width: 200px; | ||
} | ||
.title { | ||
} | ||
`; | ||
const props = { | ||
icon: "FaHome", | ||
header: "CPF HOUSING Usage", | ||
description: "Description hello mother fucker" | ||
}; | ||
const Favourites_card = () => { | ||
return ( | ||
<Container> | ||
<Styles> | ||
<Row> | ||
<FaHome className="logo" /> | ||
</Row> | ||
<Row> | ||
<h1>{props.header}</h1> | ||
</Row> | ||
<Row> | ||
<p>{props.description}</p> | ||
</Row> | ||
</Styles> | ||
</Container> | ||
); | ||
}; | ||
|
||
export default Favourites_card; |