Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
init commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jtan381 committed Mar 5, 2020
1 parent bc0f392 commit 32f7646
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"react": "^16.13.0",
"react-bootstrap": "^1.0.0-beta.17",
"react-dom": "^16.13.0",
"react-icons": "^3.9.0",
"react-scripts": "3.4.0",
"styled-components": "^5.0.1"
},
Expand Down
3 changes: 2 additions & 1 deletion src/App.js
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
52 changes: 52 additions & 0 deletions src/components/Favourites_card.js
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;

0 comments on commit 32f7646

Please sign in to comment.