Skip to content

Commit

Permalink
run formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
christianhelp committed Sep 17, 2024
1 parent 29c7dad commit b4f506a
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 14 deletions.
2 changes: 1 addition & 1 deletion apps/web/src/app/dash/pass/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function EventPass({ qrPayload, user, clerk, guild }: EventPassProps) {
</div>
<div className="event-pass-img relative flex h-full w-full flex-col items-center justify-evenly">
<div className="absolute left-1/2 top-1/2 aspect-square w-[200px] -translate-x-1/2 -translate-y-[65%] bg-slate-400 opacity-60 blur-[50px] will-change-transform"></div>
<div className="relative flex w-full items-center justify-center h-[65%]">
<div className="relative flex h-[65%] w-full items-center justify-center">
<Image
src={c.eventPassBgImage}
alt={""}
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/components/admin/scanner/CheckinScanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export default function CheckinScanner({

return (
<>
<div className="h-dvh flex flex-col items-center justify-center pt-32">
<div className="flex h-dvh flex-col items-center justify-center pt-32">
<div className="flex w-screen flex-col items-center justify-center gap-5">
<div className="mx-auto aspect-square w-screen max-w-[500px] overflow-hidden">
<QrScanner
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/components/admin/scanner/PassScanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export default function PassScanner({

return (
<>
<div className="h-dvh flex flex-col items-center justify-center pt-32">
<div className="flex h-dvh flex-col items-center justify-center pt-32">
<div className="flex w-screen flex-col items-center justify-center gap-5">
<div className="mx-auto aspect-square w-screen max-w-[500px] overflow-hidden">
<QrScanner
Expand Down
5 changes: 2 additions & 3 deletions apps/web/src/components/landing/Hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ export default function Home() {
{"&future>"}
</h1>
</div>
<p className="z-20 mx-2 text-center font-mono text-xl font-bold italic text-orange-400 md:mx-0 mb-4 2xl:text-3xl">
<p className="z-20 mx-2 mb-4 text-center font-mono text-xl font-bold italic text-orange-400 md:mx-0 2xl:text-3xl">
October 26th - 27th 2024
</p>
<h1 className="w-full md:text-lg text-center font-mono text-orange-400">
<h1 className="w-full text-center font-mono text-orange-400 md:text-lg">
SAN PEDRO I, UTSA
</h1>
<div className="relative w-full duration-150 ease-in-out hover:scale-125">
Expand All @@ -42,7 +42,6 @@ function Overlay() {
return (
<div className="pointer-events-none fixed left-0 top-0 z-50 h-full w-screen select-none p-5 pt-16">
<div className="relative h-full w-full">

<p className="absolute bottom-0 left-0 w-full text-center font-mono text-orange-400">
ROWDYHACKS X · SAN PEDRO I, UTSA
</p>
Expand Down
6 changes: 3 additions & 3 deletions apps/web/src/components/landing/PartnerCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function PartnerCard({
}`}
>
<div
className={`flex w-full items-center justify-center ${height} bg-opacity-45 rounded-lg bg-[#d2b48c] p-3 shadow-none`}
className={`flex w-full items-center justify-center ${height} rounded-lg bg-[#d2b48c] bg-opacity-45 p-3 shadow-none`}
>
<Image
src={`/img/partner-logos/${partner?.logo}`}
Expand All @@ -72,13 +72,13 @@ function PartnerCard({
/>
</div>
<h2
className={`w-full text-center transition duration-300 delay-100 ease-in-out ${
className={`w-full text-center transition delay-100 duration-300 ease-in-out ${
is_title ? "pb-8" : "pb-4"
} invisible group-hover:visible group-hover:translate-y-4`}
>
{partner?.name}
</h2>
<h2 className="invisible w-full pb-4 text-center transition duration-300 delay-75 ease-in-out group-hover:visible group-hover:translate-y-4">
<h2 className="invisible w-full pb-4 text-center transition delay-75 duration-300 ease-in-out group-hover:visible group-hover:translate-y-4">
{partner?.tier}
</h2>
</Link>
Expand Down
8 changes: 3 additions & 5 deletions apps/web/src/validators/shared/RegisterForm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,11 +165,9 @@ export const RegisterFormValidator = z.object({
})
.toLowerCase()
.refine(noProfanityValidator, noProfanityMessage),
profileDiscordName: z
.string()
.max(40, {
message: "Username should not be longer than 40 characters",
}),
profileDiscordName: z.string().max(40, {
message: "Username should not be longer than 40 characters",
}),
pronouns: z.string().min(1).max(15),
bio: z
.string()
Expand Down

0 comments on commit b4f506a

Please sign in to comment.