Skip to content
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
6 changes: 3 additions & 3 deletions studio/src/components/auth/auth-components.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@ export const TrustedCompanies = () => {
export const MarketingHeader = () => {
return (
<div className="text-center">
<h1 className="bg-[linear-gradient(180deg,#FFFFFF_50%,#999999_100%)] bg-clip-text text-[32px] font-normal leading-[130%] text-transparent">
Cosmo: Open-Source
<h1 className="bg-[linear-gradient(180deg,#FFFFFF_50%,#999999_100%)] bg-clip-text text-2xl font-normal leading-[130%] text-transparent sm:text-[32px]">
Cosmo: Open-Source
<br />
GraphQL Federation Solution
</h1>
Expand Down Expand Up @@ -222,7 +222,7 @@ export const ProductCosmoStack = ({ variant = "login" }: { variant?: "login" | "
const features = variant === "login" ? loginFeatures : signupFeatures;

return (
<div className="flex w-full max-w-xl flex-col px-8">
<div className="flex w-full flex-col px-2 sm:max-w-xl sm:px-8">
<MarketingHeader />
<div className="mt-10 flex flex-col gap-6">
{features.map((feature, index) => (
Expand Down
35 changes: 17 additions & 18 deletions studio/src/pages/login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,21 +60,21 @@ const LoginPage: NextPageWithLayout = () => {

return (
<div className="flex min-h-full flex-col">
{/* Main content area - two columns */}
{/* Main content area */}
<div className="flex flex-1 items-center justify-center px-4 py-8 lg:px-0 lg:py-0">
<div className="flex w-full max-w-screen-2xl flex-col lg:flex-row">
{/* Left section */}
<div className="flex w-full flex-col items-center justify-center lg:w-1/2 lg:p-12">
{/* Left section - Form */}
<div className="flex min-h-screen w-full flex-col items-center justify-center lg:min-h-0 lg:w-1/2 lg:p-12">
<div className="w-full max-w-md lg:max-w-lg">
<AuthCard className="w-full rounded-xl px-6 py-8 lg:px-10 lg:py-12">
<AuthLogoHeader />
<AuthCard className="w-full rounded-xl px-6 py-8 lg:px-10 lg:py-12">
<AuthLogoHeader />

<div className="mt-8 lg:mt-12">
<h2 className="text-2xl font-normal leading-[120%] text-white lg:text-[32px]">
Log in
</h2>
<div className="mt-8 lg:mt-12">
<h2 className="text-2xl font-normal leading-[120%] text-white lg:text-[32px]">
Log in
</h2>

<div className="mt-6 space-y-3 lg:mt-8 lg:space-y-4">
<div className="mt-6 space-y-3 lg:mt-8 lg:space-y-4">
<Button
variant="outline"
size="lg"
Expand Down Expand Up @@ -131,7 +131,7 @@ const LoginPage: NextPageWithLayout = () => {
</div>

{/* Divider line */}
<div className="mt-7 mb-6 h-px w-full bg-white/10" />
<div className="mb-6 mt-7 h-px w-full bg-white/10" />

<p className="text-center text-sm text-gray-400">
Don&apos;t have an account?
Expand All @@ -149,16 +149,15 @@ const LoginPage: NextPageWithLayout = () => {
</div>
</AuthCard>

{/* Trusted companies */}
<div className="mt-8 lg:mt-16">
<TrustedCompanies />
</div>
{/* Trusted companies */}
<div className="mt-8 lg:mt-16">
<TrustedCompanies />
</div>
</div>
</div>

{/* Right section */}
<div className="hidden w-1/2 flex-col items-start
justify-center pb-28 px-14 pt-12 lg:flex">
{/* Right section - Marketing */}
<div className="flex min-h-screen w-full flex-col items-center justify-center px-4 py-16 lg:min-h-0 lg:w-1/2 lg:items-start lg:px-14 lg:pb-28 lg:pt-12">
<ProductCosmoStack variant="login" />
</div>
</div>
Expand Down
15 changes: 7 additions & 8 deletions studio/src/pages/signup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ const SignupPage: NextPageWithLayout = () => {

return (
<div className="flex min-h-full flex-col">
{/* Main content area - two columns */}
{/* Main content area */}
<div className="flex flex-1 items-center justify-center px-4 py-8 lg:px-0 lg:py-0">
<div className="flex w-full max-w-screen-2xl flex-col lg:flex-row">
{/* Left section */}
<div className="flex w-full flex-col items-center justify-center lg:w-1/2 lg:p-12">
{/* Left section - Form */}
<div className="flex min-h-screen w-full flex-col items-center justify-center lg:min-h-0 lg:w-1/2 lg:p-12">
<div className="w-full max-w-md lg:max-w-lg">
<AuthCard className="w-full rounded-xl px-6 py-8 lg:px-10 lg:py-12">
<AuthLogoHeader />
Expand Down Expand Up @@ -101,7 +101,7 @@ const SignupPage: NextPageWithLayout = () => {
</div>

{/* Divider line */}
<div className="mt-7 mb-6 h-px w-full bg-white/10" />
<div className="mb-6 mt-7 h-px w-full bg-white/10" />

<p className="text-center text-sm text-gray-400">
Already have an account?
Expand All @@ -111,7 +111,7 @@ const SignupPage: NextPageWithLayout = () => {
? `/login?redirectURL=${encodeURIComponent(redirectURL)}`
: "/login"
}
className="ml-[5px] font-medium hover:underline text-primary"
className="ml-[5px] font-medium text-primary hover:underline"
>
Log in
</Link>
Expand All @@ -126,9 +126,8 @@ const SignupPage: NextPageWithLayout = () => {
</div>
</div>

{/* Right section */}
<div className="hidden w-1/2 flex-col items-start
justify-center pb-28 px-14 pt-12 lg:flex">
{/* Right section - Marketing */}
<div className="flex min-h-screen w-full flex-col items-center justify-center px-4 py-16 lg:min-h-0 lg:w-1/2 lg:items-start lg:px-14 lg:pb-28 lg:pt-12">
<ProductCosmoStack variant="signup" />
</div>
</div>
Expand Down
Loading