Skip to content

Commit

Permalink
more changes in aesthetic
Browse files Browse the repository at this point in the history
  • Loading branch information
Bahugunajii committed Nov 14, 2023
1 parent ae4692b commit 4d94324
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/library/show/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ const ContentLibrary = () => {
return (
<>
{isLoading ? (
<div className="md:max-w-xl md:mx-auto">
<div className="max-w-xl mx-auto">
<TopBar />
<Loading />
</div>
Expand Down
4 changes: 2 additions & 2 deletions app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,12 +123,12 @@ export default function Home() {
<>
{/* {loggedIn ? ( */}
{isLoading ? (
<div className="md:max-w-xl md:mx-auto">
<div className="max-w-xl mx-auto">
<TopBar />
<Loading />
</div>
) : (
<main className="md:max-w-xl md:mx-auto bg-white">
<main className="max-w-xl mx-auto md:mx-auto bg-white">
<TopBar />
<div className="min-h-screen bg-heading">
<h1 className="text-primary ml-4 font-semibold text-xl pt-6">Live Classes</h1>
Expand Down
1 change: 1 addition & 0 deletions components/TopBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const TopBar = () => {
const routeNames: { [key: string]: string } = {
'/reports': 'Report',
'/library': 'Library',
'/library/show': 'Library',
};

const pathname = usePathname();
Expand Down

0 comments on commit 4d94324

Please sign in to comment.