Skip to content

Commit

Permalink
Merge pull request #29 from VSchool/removeTemplate
Browse files Browse the repository at this point in the history
Remove template
  • Loading branch information
tirzah-dev authored Mar 27, 2024
2 parents feb61fa + 8342c7c commit 0ac221c
Show file tree
Hide file tree
Showing 45 changed files with 29 additions and 1,817 deletions.
11 changes: 0 additions & 11 deletions apps/frontend/src/app/components/ErrorSpan/ErrorSpan.tsx

This file was deleted.

16 changes: 15 additions & 1 deletion apps/frontend/src/app/components/ProtectedRoute.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,21 @@ const ProtectedRoute: React.FC<Props> = ({ children }) => {

if (loading) return <p>...loading</p>

return <>{children}</>
return (
<div className="relative flex min-h-full justify-center md:px-0">
<div className="relative z-10 flex flex-1 flex-col bg-white px-4 py-3 shadow-xl sm:justify-center md:flex-none md:px-0 md:w-full">
<div className="mx-auto w-full max-w-md sm:px-4 md:w-96 md:max-w-sm md:px-0">
{children}
</div>
</div>
<div className="hidden sm:contents lg:relative lg:block lg:flex-1">
<img
className="absolute inset-0 h-full w-full object-cover"
alt="blue background"
/>
</div>
</div>
)
};

export default ProtectedRoute;
Expand Down
22 changes: 0 additions & 22 deletions apps/frontend/src/app/components/authlayout/AuthLayout.tsx

This file was deleted.

Binary file not shown.
32 changes: 0 additions & 32 deletions apps/frontend/src/app/components/avatar/Avatar.tsx

This file was deleted.

90 changes: 0 additions & 90 deletions apps/frontend/src/app/components/blog-menu/BlogMenu.tsx

This file was deleted.

93 changes: 0 additions & 93 deletions apps/frontend/src/app/components/blog-pages/Card.tsx

This file was deleted.

42 changes: 0 additions & 42 deletions apps/frontend/src/app/components/blog-pages/Container.tsx

This file was deleted.

17 changes: 0 additions & 17 deletions apps/frontend/src/app/components/blog-pages/SimpleLayout.tsx

This file was deleted.

This file was deleted.

Loading

0 comments on commit 0ac221c

Please sign in to comment.