move header and footer from _app to allow more flexibility for things like spanning view height
This commit is contained in:
@ -1,6 +1,8 @@
|
||||
import { type NextPage } from "next";
|
||||
import Link from "next/link";
|
||||
import { ArrowUpRightIcon } from '@heroicons/react/20/solid';
|
||||
import Footer from "~/components/Footer";
|
||||
import Header from "~/components/Header";
|
||||
|
||||
const TextLink = ({href, children}: {
|
||||
href: string,
|
||||
@ -18,35 +20,30 @@ const Home: NextPage = () => {
|
||||
|
||||
return (
|
||||
<>
|
||||
<main>
|
||||
<div className="min-h-screen flex flex-col">
|
||||
<Header />
|
||||
<div style={{
|
||||
backgroundImage: `url("/backdrops/patient-clinic-bg.jpeg")`,
|
||||
backgroundPosition: `center`,
|
||||
}} className="h-96">
|
||||
<div style={{
|
||||
WebkitBackdropFilter: `blur(15px) contrast(50%)`,
|
||||
backdropFilter: `blur(15px) contrast(50%)`,
|
||||
}} className="h-full w-full grid place-items-center">
|
||||
<div className="space-y-8">
|
||||
<h1 className="mx-auto text-center font-extrabold text-4xl max-w-lg text-yellow-200">Welcome to the Resource Center for Auditory Training!</h1>
|
||||
<div className="flex flex-col w-[350px] sm:w-[400px] mx-auto p-4 bg-neutral-900 border space-y-4 border-neutral-500 rounded-md shadow-lg shadow-neutral-800/50">
|
||||
<p className="text-2xl text-center text-neutral-100">Looking for resource recommendations?</p>
|
||||
<Link href="/resources/search" className="flex flex-inline font-bold border border-neutral-300 mx-auto bg-yellow-400 hover:bg-yellow-100 p-2 rounded-md animate-expand_in_out">
|
||||
Search for Auditory Resources
|
||||
<ArrowUpRightIcon className="inline w-5" />
|
||||
</Link>
|
||||
backgroundImage: `url("/backdrops/patient-clinic-bg.jpeg")`,
|
||||
backgroundPosition: `center`,
|
||||
}} className="grow flex flex-col">
|
||||
<div style={{
|
||||
WebkitBackdropFilter: `blur(15px) contrast(50%)`,
|
||||
backdropFilter: `blur(15px) contrast(50%)`,
|
||||
}} className="grow min-h-[350px] w-full grid place-items-center">
|
||||
<div className="space-y-8">
|
||||
<h1 className="mx-auto text-center font-extrabold text-4xl max-w-lg text-yellow-200">Welcome to the Resource Center for Auditory Training!</h1>
|
||||
<div className="flex flex-col w-[350px] sm:w-[400px] mx-auto p-4 bg-neutral-900 border space-y-4 border-neutral-500 rounded-md shadow-lg shadow-neutral-800/50">
|
||||
<p className="text-2xl text-center text-neutral-100">Looking for resource recommendations?</p>
|
||||
<Link href="/resources/search" className="flex flex-inline font-bold border border-neutral-300 mx-auto bg-yellow-400 hover:bg-yellow-100 p-2 rounded-md animate-expand_in_out">
|
||||
Search for Auditory Resources
|
||||
<ArrowUpRightIcon className="inline w-5" />
|
||||
</Link>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div className="p-4 sm:p-12 bg-neutral-900 text-white border-t border-y border-yellow-200">
|
||||
<div className="max-w-5xl flex flex-col md:flex-row divide-y md:divide-y-0 md:divide-x divide-white mx-auto">
|
||||
<h1 className="grow h-full my-auto pr-auto text-4xl p-4 font-bold text-center text-yellow-200">Our Purpose</h1>
|
||||
<section className="px-4 text-neutral-300">
|
||||
<p className="pt-2">The goal of this site is to provide resources for cochlear implant users to practice listening with their device. While cochlear implants are highly effective in providing access to speech sounds for patients, it can take time and practice for them to adjust to the new signal transmitted through the implant. Auditory training can assist cochlear implant users in practicing listening to environmental sounds, understanding speech sounds in both quiet and noisy environments, and (re)training to enjoy music. We have compiled and categorized all available auditory training resources for cochlear implant users, including smartphone, web-based, and other online resources that can be utilized as clinician-guided or home-based by the cochlear implant patient and their families. Our online index allows both professionals and patients to filter through the resources based on specific characteristics and requested features, making the selection process more efficient.</p>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<main>
|
||||
<div className="p-4 sm:p-12 bg-yellow-100 text-white drop-shadow-md border border-b border-neutral-400">
|
||||
<div className="max-w-5xl flex flex-col-reverse md:flex-row md:divide-y-0 md:divide-x divide-neutral-700 mx-auto">
|
||||
<section className="px-4 text-neutral-800">
|
||||
@ -55,6 +52,16 @@ const Home: NextPage = () => {
|
||||
<h1 className="grow h-full my-auto pr-auto text-4xl font-bold p-4 text-center text-black">Getting Started</h1>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="p-4 sm:p-12 bg-neutral-900 text-white border-t border-y border-yellow-200">
|
||||
<div className="max-w-5xl flex flex-col md:flex-row divide-y md:divide-y-0 md:divide-x divide-white mx-auto">
|
||||
<h1 className="grow h-full my-auto pr-auto text-4xl p-4 font-bold text-center text-yellow-200">Our Purpose</h1>
|
||||
<section className="px-4 text-neutral-300">
|
||||
<p className="pt-2">The goal of this site is to provide resources for cochlear implant users to practice listening with their device. While cochlear implants are highly effective in providing access to speech sounds for patients, it can take time and practice for them to adjust to the new signal transmitted through the implant. Auditory training can assist cochlear implant users in practicing listening to environmental sounds, understanding speech sounds in both quiet and noisy environments, and (re)training to enjoy music. We have compiled and categorized all available auditory training resources for cochlear implant users, including smartphone, web-based, and other online resources that can be utilized as clinician-guided or home-based by the cochlear implant patient and their families. Our online index allows both professionals and patients to filter through the resources based on specific characteristics and requested features, making the selection process more efficient.</p>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="max-w-5xl mx-auto p-12">
|
||||
<h1 className="font-extrabold text-4xl text-center">Want to learn more?</h1>
|
||||
<div className="flex flex-col pt-8 space-y-6">
|
||||
@ -79,6 +86,7 @@ const Home: NextPage = () => {
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<Footer/>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
Reference in New Issue
Block a user