Skip to content

Commit

Permalink
home images coming from fire storage
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandyrzph committed Aug 1, 2022
1 parent a31a002 commit 4455ea1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
8 changes: 3 additions & 5 deletions pixelplace/src/pages/Home/Home.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import { Link } from "react-router-dom";
import homeImg from "../../assets/sport_2.svg";
import accent from "../../assets/26432.svg";
import { useUserAuth } from "../../context/UserAuthContext";

const Home = () => {
Expand Down Expand Up @@ -47,17 +45,17 @@ const Home = () => {
</div>
<img
className="hidden 2xl:block absolute right-20 -z-20 w-[600px] xl:w-[600px]"
src={homeImg}
src="https://firebasestorage.googleapis.com/v0/b/pixelplace-b8fac.appspot.com/o/sport_2.svg?alt=media&token=cb1b33f1-cf1e-40f3-8da1-fc5f7ffeb3af"
alt="homeimg"
/>
<img
className="hidden lg:block absolute mt-80 -left-60 -z-20 w-[250px]"
src={accent}
src="https://firebasestorage.googleapis.com/v0/b/pixelplace-b8fac.appspot.com/o/26432.svg?alt=media&token=17971521-81ad-4e86-bd5b-f0051d4c5a13"
alt="homeimg"
/>
<img
className="hidden lg:block absolute mb-80 right-20 -z-20 w-[100px]"
src={accent}
src="https://firebasestorage.googleapis.com/v0/b/pixelplace-b8fac.appspot.com/o/26432.svg?alt=media&token=17971521-81ad-4e86-bd5b-f0051d4c5a13"
alt="homeimg"
/>
</div>
Expand Down
4 changes: 2 additions & 2 deletions pixelplace/src/pages/Posts/Posts.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ const Posts = () => {
</div>
<img
className="hidden lg:block absolute top-5 -left-20 opacity-10 -z-10 w-[200px]"
src={Dots}
src="https://firebasestorage.googleapis.com/v0/b/pixelplace-b8fac.appspot.com/o/26432.svg?alt=media&token=17971521-81ad-4e86-bd5b-f0051d4c5a13"
alt="Dots"
/>
<img
className="hidden lg:block absolute top-100 -right-20 opacity-10 -z-10 w-[200px]"
src={Dots}
src="https://firebasestorage.googleapis.com/v0/b/pixelplace-b8fac.appspot.com/o/26432.svg?alt=media&token=17971521-81ad-4e86-bd5b-f0051d4c5a13"
alt="Dots"
/>
</div>
Expand Down

0 comments on commit 4455ea1

Please sign in to comment.