chore: format all files in monorepo (#3054)

* chore: format all files in the project

* fix: removing @types/react from dependencies

* fix: adding prettier and eslint config

* chore: format files

* fix: upgrading turbo version

* chore: ignoring warnings and adding todos

* fix: updated the type of bubble menu item in the document editor

* chore: format files

---------

Co-authored-by: Aaryan Khandelwal <aaryankhandu123@gmail.com>
This commit is contained in:
sriram veeraghanta 2023-12-10 15:48:10 +05:30
parent e5ae139178
commit 5b0066140f
721 changed files with 3739 additions and 4660 deletions

View file

@ -65,22 +65,22 @@ const InstanceAdminAuthorizationPage: NextPageWithLayout = observer(() => {
return (
<div className="flex flex-col gap-8">
<div className="pb-3 mb-2 border-b border-custom-border-100">
<div className="text-custom-text-100 font-medium text-xl pb-1">Single sign-on and OAuth</div>
<div className="text-custom-text-300 font-normal text-sm">
<div className="mb-2 border-b border-custom-border-100 pb-3">
<div className="pb-1 text-xl font-medium text-custom-text-100">Single sign-on and OAuth</div>
<div className="text-sm font-normal text-custom-text-300">
Make your teams life easy by letting them sign-up with their Google and GitHub accounts, and below are the
settings.
</div>
</div>
{formattedConfig ? (
<>
<div className="flex flex-col gap-12 w-full lg:w-2/5 pb-8 border-b border-custom-border-100">
<div className="flex items-center gap-14 mr-4 pointer-events-none opacity-50">
<div className="flex w-full flex-col gap-12 border-b border-custom-border-100 pb-8 lg:w-2/5">
<div className="pointer-events-none mr-4 flex items-center gap-14 opacity-50">
<div className="grow">
<div className="text-custom-text-100 font-medium text-sm">
<div className="text-sm font-medium text-custom-text-100">
Turn Magic Links {Boolean(parseInt(enableMagicLogin)) ? "off" : "on"}
</div>
<div className="text-custom-text-300 font-normal text-xs">
<div className="text-xs font-normal text-custom-text-300">
<p>Slack-like emails for authentication.</p>
You need to have set up email{" "}
<Link href="email">
@ -103,12 +103,12 @@ const InstanceAdminAuthorizationPage: NextPageWithLayout = observer(() => {
/>
</div>
</div>
<div className="flex items-center gap-14 mr-4">
<div className="mr-4 flex items-center gap-14">
<div className="grow">
<div className="text-custom-text-100 font-medium text-sm">
<div className="text-sm font-medium text-custom-text-100">
Let your users log in via the methods below
</div>
<div className="text-custom-text-300 font-normal text-xs">
<div className="text-xs font-normal text-custom-text-300">
Toggling this off will disable all previous configs. Users will only be able to login with an e-mail
and password combo.
</div>
@ -149,7 +149,7 @@ const InstanceAdminAuthorizationPage: NextPageWithLayout = observer(() => {
</div>
<div className="flex flex-col gap-y-6 py-2">
<div className="w-full">
<div className="flex items-center justify-between py-2 border-b border-custom-border-100">
<div className="flex items-center justify-between border-b border-custom-border-100 py-2">
<span className="text-lg font-medium tracking-tight">Google</span>
</div>
<div className="px-2 py-6">
@ -157,7 +157,7 @@ const InstanceAdminAuthorizationPage: NextPageWithLayout = observer(() => {
</div>
</div>
<div className="w-full">
<div className="flex items-center justify-between py-2 border-b border-custom-border-100">
<div className="flex items-center justify-between border-b border-custom-border-100 py-2">
<span className="text-lg font-medium tracking-tight">Github</span>
</div>
<div className="px-2 py-6">
@ -168,7 +168,7 @@ const InstanceAdminAuthorizationPage: NextPageWithLayout = observer(() => {
</>
) : (
<Loader className="space-y-4">
<div className="grid grid-cols-2 gap-y-4 gap-x-8">
<div className="grid grid-cols-2 gap-x-8 gap-y-4">
<Loader.Item height="50px" />
<Loader.Item height="50px" />
</div>