REFACTOR: Update ResultsPage for when no results are found
This commit is contained in:
@@ -6,6 +6,7 @@ interface DynamicPageContentProps extends React.HTMLProps<HTMLDivElement> {
|
||||
children: React.ReactNode;
|
||||
navbarVariant?: "home" | "no-navbar" | "default";
|
||||
className?: string;
|
||||
contentClassName?: string;
|
||||
style?: React.CSSProperties;
|
||||
}
|
||||
|
||||
@@ -13,6 +14,7 @@ const DynamicPageContent: React.FC<DynamicPageContentProps> = ({
|
||||
children,
|
||||
navbarVariant = "default",
|
||||
className = "",
|
||||
contentClassName = "",
|
||||
style,
|
||||
}) => {
|
||||
const { showSideBar } = useSidebar();
|
||||
@@ -24,7 +26,7 @@ const DynamicPageContent: React.FC<DynamicPageContentProps> = ({
|
||||
id="content"
|
||||
className={`min-w-[850px] ${
|
||||
showSideBar ? "w-[85vw] translate-x-[15vw]" : "w-[100vw]"
|
||||
} items-start transition-all duration-[500ms] ease-in-out`}
|
||||
} items-start transition-all duration-[500ms] ease-in-out ${contentClassName}`}
|
||||
>
|
||||
{children}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user