mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-10 07:25:35 +00:00
feat: add theme manager
awesome!
This commit is contained in:
@@ -6,7 +6,11 @@ import BackToDashboard from '~/components/common/navigation/bask_to_dashboard';
|
||||
import FormLayout from '~/components/layouts/form_layout';
|
||||
import { Visibility } from '../../../app/enums/visibility';
|
||||
|
||||
export default function CreateCollectionPage() {
|
||||
export default function CreateCollectionPage({
|
||||
disableHomeLink,
|
||||
}: {
|
||||
disableHomeLink: boolean;
|
||||
}) {
|
||||
const { data, setData, post, processing } = useForm({
|
||||
name: '',
|
||||
description: '',
|
||||
@@ -34,6 +38,7 @@ export default function CreateCollectionPage() {
|
||||
title="Create a collection"
|
||||
handleSubmit={handleSubmit}
|
||||
canSubmit={!isFormDisabled}
|
||||
disableHomeLink={disableHomeLink}
|
||||
>
|
||||
<BackToDashboard>
|
||||
<TextBox
|
||||
|
||||
@@ -25,7 +25,7 @@ interface HomePageProps {
|
||||
|
||||
const SideBar = styled.div(({ theme }) => ({
|
||||
paddingRight: '0.75em',
|
||||
borderRight: `1px solid ${theme.colors.lightestGrey}`,
|
||||
borderRight: `1px solid ${theme.colors.lightGrey}`,
|
||||
marginRight: '5px',
|
||||
}));
|
||||
|
||||
@@ -55,13 +55,6 @@ export default function HomePage(props: Readonly<HomePageProps>) {
|
||||
<SideNavigation />
|
||||
</SideBar>
|
||||
)}
|
||||
{/* <AnimatePresence>
|
||||
{isShowing && (
|
||||
<SideMenu close={close}>
|
||||
<SideNavigation />
|
||||
</SideMenu>
|
||||
)}
|
||||
</AnimatePresence> */}
|
||||
<Links isMobile={isMobile} openSideMenu={open} />
|
||||
</SwiperHandler>
|
||||
</HomeProviders>
|
||||
|
||||
Reference in New Issue
Block a user