Skip to content

Commit

Permalink
Merge branch 'main' into feature/create-new-component-Table.HeadRow
Browse files Browse the repository at this point in the history
  • Loading branch information
raky291 committed Aug 28, 2024
2 parents 811270e + a044264 commit 0ffc988
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
2 changes: 0 additions & 2 deletions apps/web/app/docs/[[...slug]]/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import { allDocs, type Doc } from "contentlayer/generated";
import { Footer } from "flowbite-react";
import type { Metadata } from "next";
import Image from "next/image";
import Link from "next/link";
import { notFound } from "next/navigation";
import Markdown from "react-markdown";
Expand Down
17 changes: 17 additions & 0 deletions apps/web/app/not-found.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import { HomeNavbar } from "~/components/homepage";
import { MainFooter } from "~/components/main-footer";

export default function NotFoundPage() {
return (
<div className="relative flex min-h-screen flex-col">
<HomeNavbar />
<div className="mx-auto flex max-w-screen-sm flex-1 flex-col justify-center px-4 py-8 text-center sm:py-16 lg:px-6 xl:px-0">
<h1 className="mb-4 text-4xl font-extrabold text-primary-600">404 - Page Not Found</h1>

Check warning on line 9 in apps/web/app/not-found.tsx

View workflow job for this annotation

GitHub Actions / 🕵 Lint

Classname 'text-primary-600' is not a Tailwind CSS class!
<p className="text-gray-500 md:text-xl dark:text-gray-400">
Whoops! That page doesn’t exist. But do not fret, check out our other resources to get started.
</p>
</div>
<MainFooter />
</div>
);
}
2 changes: 1 addition & 1 deletion packages/ui/src/components/Dropdown/Dropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export interface DropdownProps extends Pick<FloatingProps, "placement" | "trigge
dismissOnClick?: boolean;
floatingArrow?: boolean;
inline?: boolean;
label: ReactNode;
label?: ReactNode;
theme?: DeepPartial<FlowbiteDropdownTheme>;
enableTypeAhead?: boolean;
renderTrigger?: (theme: FlowbiteDropdownTheme) => ReactElement;
Expand Down

0 comments on commit 0ffc988

Please sign in to comment.