Skip to content

Commit b49a0df

Browse files
solve merge conflict
2 parents 5a0f11b + f45f7b4 commit b49a0df

File tree

33 files changed

+3217
-5579
lines changed

33 files changed

+3217
-5579
lines changed

app/(app)/[username]/_usernameClient.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ const Profile = ({ profile, isOwner, session }: Props) => {
211211
rows={4}
212212
name="note"
213213
id="note"
214-
className="block w-full rounded-md border-0 py-1.5 shadow-sm ring-1 ring-inset ring-gray-900 placeholder:text-gray-400 focus:ring-2 focus:ring-inset dark:ring-gray-300 sm:text-sm sm:leading-6"
214+
className="block w-full rounded-md border-0 py-1.5 shadow-sm ring-1 ring-inset ring-gray-900 placeholder:text-gray-400 focus:ring-2 focus:ring-inset dark:ring-gray-300 sm:text-sm sm:leading-6"
215215
defaultValue={""}
216216
/>
217217
</div>

app/(app)/alpha/additional-details/_client.tsx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -282,17 +282,17 @@ function SlideTwo({ details }: { details: UserDetails }) {
282282
};
283283

284284
return (
285-
<form className="mx-auto max-w-sm" onSubmit={handleSubmit(onFormSubmit)}>
285+
<form className="mx-auto max-w-sm" onSubmit={handleSubmit(onFormSubmit)}>
286286
<div className="min-h-[32rem]">
287-
<div className="mx-4 ">
287+
<div className="mx-4">
288288
<Heading className="mt-16">Demographic</Heading>
289289
<Subheading>
290290
This information is private, but helps us improve
291291
</Subheading>
292292
</div>
293293
<Divider className="my-4 mt-4" />
294294

295-
<div className="mx-4 mt-4 ">
295+
<div className="mx-4 mt-4">
296296
<Field>
297297
<Label>Gender</Label>
298298
<Select {...register("gender")} defaultValue="" id="gender">
@@ -314,8 +314,8 @@ function SlideTwo({ details }: { details: UserDetails }) {
314314
<Divider className="my-4 mt-4" />
315315

316316
<Fieldset>
317-
<Legend className="mx-4 ">Date of Birth</Legend>
318-
<div className="mx-4 flex justify-between ">
317+
<Legend className="mx-4">Date of Birth</Legend>
318+
<div className="mx-4 flex justify-between">
319319
<Field>
320320
<Select
321321
id="year"
@@ -452,7 +452,7 @@ function SlideThree({ details }: { details: UserDetails }) {
452452
return (
453453
<form className="mx-auto max-w-sm" onSubmit={handleSubmit(onFormSubmit)}>
454454
<div className="min-h-[32rem]">
455-
<div className="mx-4 ">
455+
<div className="mx-4">
456456
<Heading className="mt-16"> Work and education</Heading>
457457
<Subheading>
458458
This information is private but helpful to tailor our events and
@@ -461,7 +461,7 @@ function SlideThree({ details }: { details: UserDetails }) {
461461
</div>
462462
<Divider className="my-4 mt-4" />
463463
<Fieldset>
464-
<Field className="mx-4 my-4 ">
464+
<Field className="mx-4 my-4">
465465
<Label>Which best describes you?</Label>
466466

467467
<Select
@@ -485,7 +485,7 @@ function SlideThree({ details }: { details: UserDetails }) {
485485

486486
{getValues("professionalOrStudent") === "Working professional" && (
487487
<>
488-
<Field className="mx-4 my-4 ">
488+
<Field className="mx-4 my-4">
489489
<Label>Where are you working?</Label>
490490
<Input
491491
id="workplace"
@@ -499,7 +499,7 @@ function SlideThree({ details }: { details: UserDetails }) {
499499
)}
500500
</Field>
501501

502-
<Field className="mx-4 my-4 ">
502+
<Field className="mx-4 my-4">
503503
<Label>What is your job title?</Label>
504504
<Input
505505
id="job-title"
@@ -517,7 +517,7 @@ function SlideThree({ details }: { details: UserDetails }) {
517517

518518
{getValues("professionalOrStudent") === "Current student" && (
519519
<>
520-
<Field className="mx-4 my-4 ">
520+
<Field className="mx-4 my-4">
521521
<Label> What is your current level of study?</Label>
522522
<Select id="level-of-study" {...register("levelOfStudy")}>
523523
<option value="" disabled>
@@ -535,7 +535,7 @@ function SlideThree({ details }: { details: UserDetails }) {
535535
)}
536536
</Field>
537537

538-
<Field className="mx-4 my-4 ">
538+
<Field className="mx-4 my-4">
539539
<Label>What are you studying?</Label>
540540
<Input
541541
id="course"

app/(app)/alpha/new/[[...postIdArr]]/_client.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ const Create = () => {
129129
to find and know what your story is about.
130130
</p>
131131
</div>
132-
<div className="col-span-12 border-b border-neutral-300 pb-4">
132+
<div className="col-span-12 border-b border-neutral-300 pb-4">
133133
<Disclosure>
134134
{({ open }) => (
135135
<>
@@ -199,7 +199,7 @@ const Create = () => {
199199
</div>
200200
</Transition>
201201
{dataStatus === "loading" && postId && (
202-
<div className="bg-gray fixed left-0 top-0 z-40 flex h-screen w-screen items-center justify-center ">
202+
<div className="bg-gray fixed left-0 top-0 z-40 flex h-screen w-screen items-center justify-center">
203203
<div className="z-50 flex flex-col items-center border-2 border-black bg-white px-5 py-2 opacity-100">
204204
<div className="loader-dots relative mt-2 block h-5 w-20">
205205
<div className="absolute top-0 mt-1 h-3 w-3 rounded-full bg-gradient-to-r from-orange-400 to-pink-600 shadow-sm"></div>
@@ -222,7 +222,7 @@ const Create = () => {
222222
<div className="h-full min-h-[40rem] px-4 py-0 sm:px-6 lg:px-4 lg:py-6">
223223
{/* Start main area*/}
224224
<div className="relative h-full">
225-
<div className="bg-neutral-900 text-white shadow-xl">
225+
<div className="bg-neutral-900 text-white shadow-xl">
226226
<div className="bg-neutral-900 px-4 py-6 sm:p-6 lg:pb-8">
227227
{!body && (
228228
<Controller

app/(app)/alpha/sponsorship/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ const Sponsorship = () => {
7272
Reach thousands of developers every month!
7373
</h3>
7474
</header>
75-
<section className="relative bottom-12 flex items-center justify-center gap-8 overflow-hidden sm:bottom-20 sm:gap-20 md:bottom-24 md:gap-36 lg:gap-44">
75+
<section className="relative bottom-12 flex items-center justify-center gap-8 overflow-hidden sm:bottom-20 sm:gap-20 md:bottom-24 md:gap-36 lg:gap-44">
7676
{images.map((image) => (
7777
<div
7878
key={image.alt}

app/(app)/articles/_client.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ const ArticlesPage = () => {
6262
<>
6363
<div className="mx-2">
6464
<div className="mt-8 flex max-w-5xl items-center justify-between border-b border-b-neutral-300 pb-2 dark:border-b-neutral-600 sm:mx-auto sm:max-w-2xl lg:max-w-5xl">
65-
<h1 className="text-3xl font-bold tracking-tight text-neutral-800 dark:text-neutral-50 sm:text-4xl ">
65+
<h1 className="text-3xl font-bold tracking-tight text-neutral-800 dark:text-neutral-50 sm:text-4xl">
6666
{typeof tag === "string" ? (
6767
<div className="flex items-center justify-center">
6868
<TagIcon className="mr-3 h-6 w-6 text-neutral-800 dark:text-neutral-200" />

app/(app)/code-of-conduct/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ const CodeOfConduct = () => {
88
return (
99
<div>
1010
<main className="relative bg-white p-4 shadow-lg dark:border-neutral-600 dark:border-l-pink-600 dark:bg-neutral-900">
11-
<div className="lg:max-w-8xl relative px-4 pb-16 pt-12 sm:px-6 sm:pt-16 lg:mx-auto lg:px-8 ">
11+
<div className="lg:max-w-8xl relative px-4 pb-16 pt-12 sm:px-6 sm:pt-16 lg:mx-auto lg:px-8">
1212
<div className="lg:pl-8">
13-
<div className="mx-auto max-w-prose text-base ">
13+
<div className="mx-auto max-w-prose text-base">
1414
<h1 className="mt-2 border-b-2 pb-8 text-3xl font-extrabold leading-8 tracking-tight text-black dark:text-white sm:text-6xl">
1515
Code Of Conduct
1616
</h1>

app/(app)/create/[[...paramsArr]]/_client.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ const Create = ({ session }: { session: Session }) => {
485485
</div>
486486
)}
487487

488-
<div className="col-span-12 border-b border-neutral-300 pb-4">
488+
<div className="col-span-12 border-b border-neutral-300 pb-4">
489489
<Disclosure>
490490
{({ open }) => (
491491
<>
@@ -588,7 +588,7 @@ const Create = ({ session }: { session: Session }) => {
588588
</div>
589589
</Transition>
590590
{dataStatus === "loading" && postId && (
591-
<div className="bg-gray fixed left-0 top-0 z-40 flex h-screen w-screen items-center justify-center ">
591+
<div className="bg-gray fixed left-0 top-0 z-40 flex h-screen w-screen items-center justify-center">
592592
<div className="z-50 flex flex-col items-center border-2 border-black bg-white px-5 py-2 opacity-100">
593593
<div className="loader-dots relative mt-2 block h-5 w-20">
594594
<div className="absolute top-0 mt-1 h-3 w-3 rounded-full bg-gradient-to-r from-orange-400 to-pink-600 shadow-sm"></div>
@@ -607,7 +607,7 @@ const Create = ({ session }: { session: Session }) => {
607607
<div className="mx-auto w-full max-w-7xl flex-grow lg:flex xl:px-8">
608608
{/* Left sidebar & main wrapper */}
609609
<div className="min-w-0 flex-1 xl:flex">
610-
<div className="xl:w-64 xl:flex-shrink-0 ">
610+
<div className="xl:w-64 xl:flex-shrink-0">
611611
<div className="h-full py-6 pl-4 pr-6 sm:pl-6 lg:px-4 xl:pl-0">
612612
{/* Start left column area */}
613613
<div className="relative h-full">
@@ -635,7 +635,7 @@ const Create = ({ session }: { session: Session }) => {
635635
</div>
636636
</div>
637637
<div className="lg:min-w-0 lg:flex-1">
638-
<div className="h-full px-4 py-0 sm:px-6 lg:px-4 lg:py-6 ">
638+
<div className="h-full px-4 py-0 sm:px-6 lg:px-4 lg:py-6">
639639
{/* Start main area*/}
640640
<div className="relative h-full">
641641
<div className="bg-white text-black shadow dark:bg-neutral-900 dark:text-white">
@@ -663,7 +663,7 @@ const Create = ({ session }: { session: Session }) => {
663663
<div className="mb-4 ml-2 flex items-center gap-2">
664664
<label
665665
htmlFor="file-input"
666-
className={`flex flex-row items-center gap-1 rounded-md border p-2 text-sm ${uploadStatus === "loading" ? "border-neutral-600 font-medium text-neutral-600 hover:cursor-not-allowed dark:border-neutral-500 dark:text-neutral-500" : "border-neutral-500 font-medium text-neutral-500 hover:bg-neutral-200 dark:border-neutral-600 dark:text-neutral-600 hover:dark:bg-neutral-800 hover:dark:text-neutral-400"} `}
666+
className={`flex flex-row items-center gap-1 rounded-md border p-2 text-sm ${uploadStatus === "loading" ? "border-neutral-600 font-medium text-neutral-600 hover:cursor-not-allowed dark:border-neutral-500 dark:text-neutral-500" : "border-neutral-500 font-medium text-neutral-500 hover:bg-neutral-200 dark:border-neutral-600 dark:text-neutral-600 hover:dark:bg-neutral-800 hover:dark:text-neutral-400"} `}
667667
>
668668
{uploadStatus === "loading" ? (
669669
<LoaderCircle

app/(app)/error.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,8 @@ export default function NotFound() {
3737
</Link>
3838
</div>
3939
<div className="mt-6 text-base text-neutral-500">
40-
Or{" "}
41-
<span className=" font-semibold">if you are feeling helpful</span>,
42-
send us more details by opening an issue{" "}
40+
Or <span className="font-semibold">if you are feeling helpful</span>
41+
, send us more details by opening an issue{" "}
4342
<a
4443
className="bg-gradient-to-r from-orange-400 to-pink-600 bg-clip-text text-base font-semibold tracking-wide text-transparent"
4544
target="_blank"

app/(app)/get-started/_client.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const GetStarted: NextPage = () => {
4848
<>
4949
<div>
5050
<input
51-
className="w-full flex-auto appearance-none rounded-md border-neutral-200 bg-white pl-6 text-base font-medium text-neutral-950 ring-offset-0 placeholder:text-base placeholder:text-neutral-500 focus:outline-none focus:ring-2 focus:ring-pink-300 focus:ring-transparent focus:ring-offset-2 dark:border-neutral-600 dark:bg-neutral-900 dark:text-white [&::-webkit-search-cancel-button]:hidden [&::-webkit-search-decoration]:hidden [&::-webkit-search-results-button]:hidden [&::-webkit-search-results-decoration]:hidden"
51+
className="w-full flex-auto appearance-none rounded-md border-neutral-200 bg-white pl-6 text-base font-medium text-neutral-950 ring-offset-0 placeholder:text-base placeholder:text-neutral-500 focus:outline-none focus:ring-2 focus:ring-pink-300 focus:ring-transparent focus:ring-offset-2 dark:border-neutral-600 dark:bg-neutral-900 dark:text-white [&::-webkit-search-cancel-button]:hidden [&::-webkit-search-decoration]:hidden [&::-webkit-search-results-button]:hidden [&::-webkit-search-results-decoration]:hidden"
5252
placeholder="Enter your email"
5353
type="email"
5454
onChange={(event) => {
@@ -77,8 +77,8 @@ const GetStarted: NextPage = () => {
7777
>
7878
<div className="w-full border-t border-neutral-400 dark:border-gray-600" />
7979
</div>
80-
<div className="relative flex justify-center text-sm font-medium ">
81-
<span className="bg-neutral-100 px-6 text-base uppercase text-neutral-600 dark:bg-black dark:text-neutral-400">
80+
<div className="relative flex justify-center text-sm font-medium">
81+
<span className="bg-neutral-100 px-6 text-base uppercase text-neutral-600 dark:bg-black dark:text-neutral-400">
8282
Or
8383
</span>
8484
</div>

app/(app)/my-posts/_client.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ const MyPosts = () => {
148148
</h2>
149149
</Link>
150150
) : (
151-
<h2 className=" mb-2 text-2xl font-semibold">{title}</h2>
151+
<h2 className="mb-2 text-2xl font-semibold">{title}</h2>
152152
)}
153153
<p className="break-words">
154154
{excerpt || "No excerpt yet... Write more to see one."}

0 commit comments

Comments
 (0)