Skip to content

Commit

Permalink
Added more images, changed layout in dashboard, and changed cover image.
Browse files Browse the repository at this point in the history
  • Loading branch information
dnrm committed Jul 7, 2021
1 parent 7d72f82 commit e63ccc5
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions components/Post.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ const Post = ({ href, src, children }: Props) => {
return (
<Link href={slug}>
<a>
<div className="post bg-gray-100 rounded-lg p-4 shadow-lg">
<div className="image">
<div className="post bg-gray-100 rounded-lg shadow-lg flex flex-row justify-start items-center h-16">
<div className="image h-full">
<img
src={src}
alt=""
className="h-full w-full object-cover rounded-md shadow-lg"
className="h-full object-cover rounded-md mr-2 p-2"
/>
</div>
<h1 className="text-lg font-semibold pt-2 font-dm leading-5">
Expand Down
Binary file added images/bg-amsterdam-trees.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/bg-amsterdam.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/bg-new-york.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/bg-nyc.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion pages/dashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export default function Login(props: any) {
</a>
</Link>
</div>
<div className="posts grid grid-cols-1 sm:grid-cols-2 md:grid-cols-4 gap-8">
<div className="posts grid grid-cols-1 gap-4">
<Post
src="https://i.scdn.co/image/ab67616d0000b2737a4c8c59851c88f6794c3cbf"
href="/posts/"
Expand Down
2 changes: 1 addition & 1 deletion pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Head from "next/head";
import Image from "next/image";
import src from "../images/island.jpg";
import src from "../images/bg-amsterdam-trees.jpg";
import Users from "../components/Users";
import Link from "next/link";
import Footer from "../components/Footer";
Expand Down

1 comment on commit e63ccc5

@vercel
Copy link

@vercel vercel bot commented on e63ccc5 Jul 7, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.