-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🎨 added empty states for movies and shows
- Loading branch information
Showing
8 changed files
with
47 additions
and
4 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import { Link } from 'react-router-dom'; | ||
import { Icon } from './Icon'; | ||
|
||
export const EmptyState = () => ( | ||
<div className="bg-gray-100 max-w-80 m-auto mt-12 rounded-3xl p-5"> | ||
<div className="text-center"> | ||
<Icon name="ufo" /> | ||
<h1 className="my-5 text-2xl font-bold">Nothing to see here yet</h1> | ||
<p className="my-5 font-thin"> | ||
Start following a show or add a movie to your watchlist | ||
</p> | ||
<Link | ||
to="/search" | ||
className="bg-gray-200 py-2 px-6 rounded-full text-gray-700 inline-block" | ||
> | ||
Go for it! | ||
</Link> | ||
</div> | ||
</div> | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters