Skip to content

Commit

Permalink
design changes
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandyrzph committed Aug 7, 2022
1 parent a4de7d6 commit 9d1d285
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
5 changes: 4 additions & 1 deletion pixelplace/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,10 @@ function App() {
);
} else {
return (
<div className="flex justify-center items-center h-screen bg-neu-white">
<div className="flex flex-col -mt-10 justify-center items-center h-screen bg-neu-white">
<h1 className=" font-logo text-[70px]">
Pixel<span className="text-stroke text-neu-white">Place</span>
</h1>
<BeatLoader size={"5rem"} color={"#1e1e1e"} />
</div>
);
Expand Down
2 changes: 1 addition & 1 deletion pixelplace/src/components/Navbar/Navbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const Navbar = () => {
{user ? (
<>
<Link to="posts">
<li className="hover:-translate-y-[1px] bg-white text-xl hover:shadow-[2px_2px_0px_black] duration-100 cursor-pointer rounded-md border-black border-2">
<li className="hover:-translate-y-[1px] bg-white text-xl hover:shadow-[2px_2px_0px_black] duration-100 cursor-pointer rounded-sm border-black border-2">
<MdOutlineExplore size={"1.8rem"} />
</li>
</Link>
Expand Down
5 changes: 2 additions & 3 deletions pixelplace/src/components/Posts/PostItem/PostItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,9 @@ const PostItem = ({
<Like postId={postId} likes={likes} />
</div>
)}

<div className="inline-flex items-center">
<div className="flex">
<Link to={`/posts/${postId}`}>
<button className="relative flex-grow-1 w-full lg:w-full hover:shadow-neu-shadow hover:-translate-y-1 duration-200 border-2 outline-none border-neu-black px-6 py-3 rounded-sm bg-neu-yellow font-bold">
<button className="flex-grow-1 w-full lg:w-full hover:shadow-neu-shadow hover:-translate-y-1 duration-200 border-2 outline-none border-neu-black px-6 py-3 rounded-sm bg-neu-yellow font-bold">
Read More
</button>
</Link>
Expand Down
1 change: 0 additions & 1 deletion pixelplace/src/components/Posts/Posts.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ const Posts = () => {

return (
<div
style={{ }}
className="relative overflow-x-clip max-w-md px-1 md:px-0 sm:max-w-lg md:max-w-xl lg:max-w-3xl xl:max-w-5xl 2xl:max-w-7xl mx-auto w-full h-screen py-16"
>
{loading && (
Expand Down

0 comments on commit 9d1d285

Please sign in to comment.