Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing login styling so elements are not cut off #233

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
28 changes: 7 additions & 21 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,32 +24,17 @@ const Login: NextPage = () => {
/>
<link rel="icon" href="/favicon.ico" />
</Head>
<main
className="relative flex h-screen flex-col items-center justify-center
overflow-hidden bg-bgBig"
>
<div
className="3xl:top-96 fixed
flex flex-col items-center justify-center 2xl:top-60"
>
<h1
className="mx-2 pb-5 text-center text-4xl
font-extrabold leading-none tracking-tight text-white
md:text-6xl"
>
<main className="">
<div className="flex flex-col sm:mt-4 md:mt-6 lg:mt-8">
<h1 className="text-center text-4xl font-extrabold tracking-tight sm:text-2xl">
Welcome to the HIERR Project
</h1>
<h2
className="mx-2 text-center text-2xl font-bold leading-none
tracking-tight
text-white
md:text-5xl lg:pb-16"
>
<h2 className="text-center text-2xl font-bold tracking-tight sm:text-xl">
Engagement Portal
</h2>
<AuthShowcase />

<div className="mt-2 mb-2 flex flex-col items-center justify-center gap-2 md:mt-4 md:mb-4 lg:mt-6 lg:mb-6 ">
<div className="flex flex-col items-center gap-2 sm:m-2 md:m-4 lg:m-6">
<InfoModal title="What is HIERR?">
<WhatIsHierr />
</InfoModal>
Expand Down Expand Up @@ -80,7 +65,8 @@ const AuthShowcase: React.FC = () => {
"You are currently logged in. You can begin the survey now, and rest assured that all responses will remain anonymous. Please note that we do not store any email credentials. If you need to take a break, simply sign out, and your progress will be saved. When you return, remember to sign in using the same email address.";

return (
<div className="flex flex-col items-center justify-center gap-4">
// <div className="flex flex-col items-center justify-center gap-4">
<div className="flex flex-col items-center gap-4">
<p className="text-center text-2xl text-white">
{sessionData ? (
<div>
Expand Down
Loading