You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using next.js and want to use the SignIn component in a custom sign in page. The left col does not have any restrictions but the component is still small. How can I fix that?
Here is the code for the page:
"use client";importImagefrom"next/image";importLinkfrom"next/link";import{SignIn}from"@clerk/nextjs";importlogofrom"../../public/images/logo/logo.png";importlogoDarkfrom"../../public/images/light/logo/logo-dark.png";importuserImgfrom"../../public/images/team/team-02sm.jpg";importbrandImgfrom"../../public/images/brand/brand-t.png";importgooglefrom"../../public/images/sign-up/google.png";importfacebookfrom"../../public/images/sign-up/facebook.png";importDarkSwitchfrom"@/components/Header/dark-switch";import{useAppContext}from"@/context/Context";constSignin=()=>{const{ isLightTheme, toggleTheme, setUsername, setUserEmail }=useAppContext();return(<><DarkSwitchisLight={isLightTheme}switchTheme={toggleTheme}/><mainclassName="page-wrapper"><divclassName="signup-area"><divclassName="wrapper"><divclassName="row"><divclassName="col-lg-8 bg-color-blackest left-wrapper flex items-center justify-center"><SignInappearance={{elements: {formButtonPrimary: "bg-slate-500 hover:bg-slate-400 text-sm",formFieldInput: "",},layout: {socialButtonsVariant: 'iconButton',socialButtonsPlacement: 'bottom',},}}/></div><divclassName="col-lg-4 right-wrapper"><divclassName="client-feedback-area"><divclassName="single-feedback"><divclassName="inner"><divclassName="meta-img-section"><aclassName="image"href="#"><Imagesrc={userImg}width={93}height={93}alt="User Image"/></a></div><divclassName="rating"><ahref="#rating"><iclassName="fa-sharp fa-solid fa-star"></i></a><ahref="#rating"><iclassName="fa-sharp fa-solid fa-star"></i></a><ahref="#rating"><iclassName="fa-sharp fa-solid fa-star"></i></a><ahref="#rating"><iclassName="fa-sharp fa-solid fa-star"></i></a><ahref="#rating"><iclassName="fa-sharp fa-solid fa-star"></i></a></div><divclassName="content"><pclassName="description">
Rainbow-Themes is now a crucial component of our work!
We made it simple to collaborate across departments by
grouping our work
</p><divclassName="bottom-content"><divclassName="meta-info-section"><h4className="title-text mb--0">Guy Hawkins</h4><pclassName="desc mb--20">Nursing Assistant</p><divclassName="desc-img"><Imagesrc={brandImg}width={83}height={23}alt="Brand Image"/></div></div></div></div></div></div></div></div></div></div><LinkclassName="close-button"href="/"><iclassName="fa-sharp fa-regular fa-x"></i></Link></div></main></>);};exportdefaultSignin;
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am using next.js and want to use the SignIn component in a custom sign in page. The left col does not have any restrictions but the component is still small. How can I fix that?
Here is the code for the page:
Here is a screenshot of how it looks:
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions