From 75b49b3b5aeac9f48bbc2a70a9c27eafbf3ae042 Mon Sep 17 00:00:00 2001 From: Isoscelestial Date: Mon, 15 Jun 2026 23:32:37 -0500 Subject: [PATCH 1/2] style: fixprettier-plugin-tailwind and format --- .prettierrc.mjs | 4 ++-- src/app/admin/page.tsx | 4 ++-- src/app/auth/ProviderButtons.tsx | 4 ++-- src/app/auth/page.tsx | 8 +++---- src/app/get-started/page.tsx | 8 +++---- src/app/notes/[...slug]/layout.tsx | 2 +- src/app/notes/[id]/page.tsx | 6 ++--- src/app/notes/create/NoteForm.tsx | 4 ++-- src/app/notes/create/page.tsx | 2 +- src/app/page.tsx | 4 ++-- src/components/common/Panel.tsx | 7 +++--- src/components/form/FormFile.tsx | 2 +- src/components/form/FormQuestion.tsx | 2 +- src/components/form/FormTextField.tsx | 2 +- src/components/form/NotesPanel.tsx | 2 +- .../getting-started/OnboardingForm.tsx | 8 +++---- .../getting-started/OnboardingFormStep.tsx | 4 ++-- src/components/global/RegisterModal.tsx | 12 +++++----- src/components/header/BaseHeader.tsx | 22 +++++++++---------- src/components/header/ProfileDropDown.tsx | 2 +- src/components/header/SearchBar.tsx | 6 ++--- src/components/nav/NavMenu.tsx | 6 ++--- src/components/nav/SidebarItems.tsx | 4 ++-- src/components/nav/Slide.tsx | 2 +- src/components/profile/ProfileNotes.tsx | 10 ++++----- src/components/sections/Breadcrumbs.tsx | 8 +++---- src/components/sections/FileCard.tsx | 2 +- src/components/sections/LinkCard.tsx | 2 +- src/components/sections/NoteEditButton.tsx | 2 +- src/components/sections/NoteInfoPanel.tsx | 14 ++++++------ src/components/sections/ReportButton.tsx | 2 +- src/components/sections/SaveButton.tsx | 2 +- src/components/sections/SectionHeader.tsx | 6 ++--- src/components/settings/SettingsForm.tsx | 2 +- src/components/settings/SettingsHeader.tsx | 12 +++++----- .../settings/forms/DeleteAccount.tsx | 2 +- src/components/settings/forms/UserInfo.tsx | 6 ++--- src/components/settings/forms/Username.tsx | 2 +- 38 files changed, 99 insertions(+), 100 deletions(-) diff --git a/.prettierrc.mjs b/.prettierrc.mjs index 01af582..3fcbd54 100644 --- a/.prettierrc.mjs +++ b/.prettierrc.mjs @@ -1,6 +1,6 @@ /** * @see https://prettier.io/docs/en/configuration.html - * @type {import("prettier").Config} + * @type {import("prettier").Config & import("prettier-plugin-tailwindcss").PluginOptions} */ const config = { printWidth: 80, @@ -12,8 +12,8 @@ const config = { bracketSameLine: false, endOfLine: 'auto', plugins: [ - 'prettier-plugin-tailwindcss', '@ianvs/prettier-plugin-sort-imports', + 'prettier-plugin-tailwindcss', ], importOrder: [ '', // Node.js built-in modules diff --git a/src/app/admin/page.tsx b/src/app/admin/page.tsx index 74a589f..c444c2d 100644 --- a/src/app/admin/page.tsx +++ b/src/app/admin/page.tsx @@ -6,11 +6,11 @@ import AdminHeader from '@src/components/admin/AdminHeader'; export default function Page() { return ( -
+
{/**/}
-
+
- + UTD NOTEBOOK - + by Nebula Labs
diff --git a/src/app/get-started/page.tsx b/src/app/get-started/page.tsx index 5ffe2dd..7104c1f 100644 --- a/src/app/get-started/page.tsx +++ b/src/app/get-started/page.tsx @@ -17,17 +17,17 @@ export default async function Page() { const userMetadata = await api.userMetadata.byId({ id: session.user.id }); return ( -
-
+
+
background -
+
-
+
{children}
diff --git a/src/app/notes/[id]/page.tsx b/src/app/notes/[id]/page.tsx index da6fc8d..fd855f6 100644 --- a/src/app/notes/[id]/page.tsx +++ b/src/app/notes/[id]/page.tsx @@ -14,14 +14,14 @@ export default async function NotePage({ params }: NotePageProps) { if (!file) notFound(); return ( -
+
-
+
{/* Info panel pinned to the top, floats over the PDF */} {/* Scrollable area with white card background for the PDF */} - +