Skip to content

Commit

Permalink
improved 'disc not found' default page
Browse files Browse the repository at this point in the history
  • Loading branch information
cdleveille committed Jun 1, 2024
1 parent 9165bb4 commit e682fbe
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 4 deletions.
8 changes: 7 additions & 1 deletion src/app/@modal/default.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
export default function Default() {
return null;
return (
<div className="disc-detail-container">
<div className="disc-detail-not-found">
<p>Disc not found!</p>
</div>
</div>
);
}
3 changes: 0 additions & 3 deletions src/app/default.tsx

This file was deleted.

14 changes: 14 additions & 0 deletions src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,20 @@ h1 {
height: 100%;
}

.disc-detail-not-found {
font-size: 6vmin;
font-weight: 500;
display: flex;
justify-content: center;
align-items: center;
width: 100vmin;
height: 100vmin;
border-radius: 50%;
color: #444444;
background-color: #cccccc;
border: 1.5vmin solid #444444;
}

.filters {
display: flex;
flex-direction: row;
Expand Down

0 comments on commit e682fbe

Please sign in to comment.