Skip to content

Commit

Permalink
#15 Add boilerplate to posts
Browse files Browse the repository at this point in the history
  • Loading branch information
SandraBergstrom committed Jun 26, 2023
1 parent 7f53cff commit 0bda782
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
25 changes: 25 additions & 0 deletions src/pages/posts/PostsPage.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import React from "react";

import Form from "react-bootstrap/Form";
import Col from "react-bootstrap/Col";
import Row from "react-bootstrap/Row";
import Container from "react-bootstrap/Container";

import appStyles from "../../App.module.css";
import styles from "../../styles/PostsPage.module.css";

function PostsPage() {
return (
<Row className="h-100">
<Col className="py-2 p-0 p-lg-2" lg={8}>
<p>Popular profiles mobile</p>
<p>List of posts here</p>
</Col>
<Col md={4} className="d-none d-lg-block p-0 p-lg-2">
<p>Popular profiles for desktop</p>
</Col>
</Row>
);
}

export default PostsPage;
18 changes: 18 additions & 0 deletions src/styles/PostsPage.module.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
.SearchBar input {
border-radius: 20px;
color: #242a3d;
padding-left: 40px;
margin-bottom: 16px;
}

.SearchIcon {
position: absolute;
font-size: 1.2rem;
padding: 9px;
padding-left: 15px;
}

.SearchIcon:hover {
cursor: default;
color: #cfced3;
}

0 comments on commit 0bda782

Please sign in to comment.