From 442fe9ea9d56d73e2a5ebee4f46491b17628c6ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Batuhan=20Berk=20Ba=C5=9Fo=C4=9Flu?= Date: Wed, 31 Mar 2021 18:04:57 -0400 Subject: [PATCH] Fixed some alignment issues. --- src/agent-page/AgentPage.js | 3 +-- src/agent-page/Agents.js | 25 +++++++++--------- src/agent-page/agent-page.css | 5 ++++ src/listings-page/ListingsPage.js | 1 + src/listings-page/mapStyles.js | 1 + .../navbar-component/Navbar.js | 26 +++++++++---------- 6 files changed, 34 insertions(+), 27 deletions(-) diff --git a/src/agent-page/AgentPage.js b/src/agent-page/AgentPage.js index 954cdee..e3fe3c9 100644 --- a/src/agent-page/AgentPage.js +++ b/src/agent-page/AgentPage.js @@ -1,7 +1,6 @@ import React, { Component } from "react"; import Agents from './Agents' import './agent-page.css'; -import Carousel from 'react-bootstrap/Carousel' import Agent1 from "../images/Agent1.jpg"; import Agent2 from "../images/Agent2.jpg"; import Agent3 from "../images/Agent3.jpg"; @@ -16,7 +15,7 @@ class AgentPage extends Component { { title: 'sales assistant', name: 'Jin', src: Agent2, word: 'I have a passion for assisting clients with various real estate needs.', id: 2 }, { title: 'sales assistant', name: 'Anita', src: Agent3, word: 'Anita looks forward to servicing you to her fullest potential, building long-lasting relationships and making your real estate experience a smooth and memorable one.', id: 3 }, { title: 'sales assistant', name: 'Alex', src: Agent4, word: 'Since getting licensed in 2010 Alex has consistently been a top producing agent in the GTA', id: 4 }, - { title: 'sales assistant', name: 'Xuan', src: Agent5, word: 'Xuan grew up in the GTA, and he explored many different neighborhoods in and surrounding Toronto. ', id: 5 }, + { title: 'sales assistant', name: 'Xuan', src: Agent5, word: 'Xuan grew up in the GTA, and he explored many different neighborhoods in and surrounding Toronto.', id: 5 }, { title: 'sales assistant', name: 'Walter', src: Agent6, word: 'Walter Henry has always been one to follow his passion. At 13 years old, he started his career as a competitive gymnast.Walter will be certain that you feel informed and at ease throughout the entire process.', id: 6 }, diff --git a/src/agent-page/Agents.js b/src/agent-page/Agents.js index ca1e070..d1f583f 100644 --- a/src/agent-page/Agents.js +++ b/src/agent-page/Agents.js @@ -1,5 +1,4 @@ import React from "react"; -import AgentPage from "./AgentPage"; /* import {Link} from 'react-router-dom' */ import Card from "react-bootstrap/Card"; import Button from "react-bootstrap/Button"; @@ -9,17 +8,19 @@ const Agents = ({ agents }) => { return (
{} - - - - {agent.title} - {agent.name} - - {agent.word} - - - - + + + + {agent.title} + {agent.name} + + {agent.word} + +
+ +
+
+
); }); diff --git a/src/agent-page/agent-page.css b/src/agent-page/agent-page.css index 7789a78..bc79e29 100644 --- a/src/agent-page/agent-page.css +++ b/src/agent-page/agent-page.css @@ -20,4 +20,9 @@ .agent{ padding-left: 16%; + } + + .buttonfriend{ + padding-top: 15px; + padding-left: 120px; } \ No newline at end of file diff --git a/src/listings-page/ListingsPage.js b/src/listings-page/ListingsPage.js index defcf47..4d17a58 100644 --- a/src/listings-page/ListingsPage.js +++ b/src/listings-page/ListingsPage.js @@ -1,3 +1,4 @@ +// eslint-disable-next-line import React, { useState, useEffect, Component } from "react"; import { GoogleMap, diff --git a/src/listings-page/mapStyles.js b/src/listings-page/mapStyles.js index 84d724c..98b6c24 100644 --- a/src/listings-page/mapStyles.js +++ b/src/listings-page/mapStyles.js @@ -1,3 +1,4 @@ +// eslint-disable-next-line export default [ { "featureType": "all", diff --git a/src/shared-components/navbar-component/Navbar.js b/src/shared-components/navbar-component/Navbar.js index 5499ca4..e8f271d 100644 --- a/src/shared-components/navbar-component/Navbar.js +++ b/src/shared-components/navbar-component/Navbar.js @@ -6,13 +6,13 @@ const Navbar = () => { return ( /* Nav Bar */
-