Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
onlyBuiltDependencies:
- '@prisma/client'
- '@prisma/engines'
- bcrypt
- esbuild
- prisma
2 changes: 1 addition & 1 deletion src/app/(main)/(pages)/home/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default async function MyCoursesPage() {

return (
<main className="flex flex-col gap-4 pb-16 pt-8">
<div className="flex flex-col justify-between gap-4 lg:flex-row">
<div className="flex flex-col justify-between gap-4 lg:flex-row sm:text-center sm:justify-center">
<h1 className="text-wrap text-3xl font-extrabold capitalize tracking-tighter md:text-4xl">
<Greeting /> {session.user.name}
</h1>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Courses.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const Courses = ({ courses }: { courses: Course[] }) => {
};
const router = useRouter();
return (
<section className="grid grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-3">
<section className="grid grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-3 sm:place-items-center">
{courses?.map((course) => (
<CourseCard
key={course.id}
Expand Down