Skip to content

Commit

Permalink
was able to add finishing touches
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamedSy1 committed Jan 18, 2024
1 parent 3b8daf9 commit a551c5e
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
1 change: 1 addition & 0 deletions dist/assets/index-1F52huS-.css

Large diffs are not rendered by default.

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion dist/assets/index-czmACNtB.css

This file was deleted.

4 changes: 2 additions & 2 deletions dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Gentrification</title>
<script type="module" crossorigin src="/gentrification-project/assets/index-fM3KFmLP.js"></script>
<link rel="stylesheet" crossorigin href="/gentrification-project/assets/index-czmACNtB.css">
<script type="module" crossorigin src="/gentrification-project/assets/index-P6m5uj3x.js"></script>
<link rel="stylesheet" crossorigin href="/gentrification-project/assets/index-1F52huS-.css">
</head>
<body>
<div id="root"></div>
Expand Down
10 changes: 5 additions & 5 deletions src/front-end/component/container1.jsx
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
import React from "react";
import picture from "../assets/picture.png"

const SectionHeader = ({ title, children }) => {
const SectionHeader = ({ title, children, picture }) => {
return (
<section className="w-full bg-black relative h-[55rem]">
<div className="flex w-full">
<div className="flex justify-between w-full">
<header className="text-white text-[90px] font-serif p-[10rem] pb-[20px]">
<h1>{title}</h1>
</header>
<div className="text-white text-wrap text-balance p-4 pt-[20rem] w-65">
{children}
</div>
</div>
<div className="pt-[5rem] pl-[90rem] flex">
<img className="size-[20rem] rounded-full" src={picture}/>
<div className="absolute top-1/2 left-0 transform -translate-y-1/2 pl-[5rem]">
<img className="w-[15rem] h-[15rem] rounded-full" src={picture} />
</div>
</section>
)
}
}

const Container1 = () => {
return (
Expand Down
2 changes: 1 addition & 1 deletion src/front-end/pages/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function HomePage() {
<div>
<Navbar/>
<Container1/>
{/* <img className="w-[10rem] absolute" src={color} alt="color description"/> */}
<img className="pt-[25rem] absolute" src={color} alt="color description"/>
<section>
<MapContainer className='flex flex-row justify-center' center={[40.73061, -73.935242]} zoom={11} scrollWheelZoom={false}>
<TileLayer
Expand Down

0 comments on commit a551c5e

Please sign in to comment.