Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate pages #154

Merged
merged 2 commits into from
Apr 12, 2024
Merged
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
1 change: 0 additions & 1 deletion next-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
/// <reference types="next/navigation-types/compat/navigation" />
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This changes is generated on npm run build, because useRouter does not have to support both pages/ and app/


// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
158 changes: 0 additions & 158 deletions src/components/AddFile.tsx

This file was deleted.

2 changes: 1 addition & 1 deletion src/components/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ const Sidebar = (props: ISideBar) => {
<line x1="4" y1="17" x2="20" y2="17" />
</svg>
{sidebarVisible && (
<div className="fixed left-0 top-0 z-50 h-full w-64 overflow-y-scroll drop-shadow-lg lg:overflow-y-hidden">
<div className="fixed left-0 top-0 z-50 h-full w-64 overflow-y-auto drop-shadow-lg lg:overflow-y-hidden">
<_Sidebar {...props} />
</div>
)}
Expand Down
2 changes: 1 addition & 1 deletion src/components/container/DropDownContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const DropDownContainer = (props: DropDownContainerProps) => {
{props.title}
</div>
<div
className={`overflow-scroll ${
className={`overflow-auto ${
showItems ? "max-h-[512px] md:max-h-[1024px]" : "max-h-0"
}`}
style={
Expand Down
2 changes: 1 addition & 1 deletion src/components/user/AddFile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ const AddFile = ({
}

return !error ? (
<Popup className="h-[32rem] w-full overflow-y-scroll sm:h-[44rem] sm:w-[36rem]">
<Popup className="h-[32rem] w-full overflow-y-auto sm:h-[44rem] sm:w-[36rem]">
<div className="flex-col justify-between rounded-[16px] text-white">
<div className="mb-5 mt-4 text-3xl font-bold"> Create New File</div>
<div className="text-neutral-600 mb-3 h-[34px] w-full text-2xl font-thin">
Expand Down
77 changes: 0 additions & 77 deletions src/pages/_app.tsx

This file was deleted.

14 changes: 0 additions & 14 deletions src/pages/_document.tsx

This file was deleted.

Loading