contact, footer, and external links

This commit is contained in:
Noah Swerhun 2023-09-10 00:47:32 -05:00
parent b983b93b38
commit d5fc8c9552
10 changed files with 126 additions and 25 deletions

View file

@ -4,6 +4,7 @@ import LearnMoreLink from "@/components/LearnMoreLink";
import { ArrowTopRightOnSquareIcon } from "@heroicons/react/24/solid"; import { ArrowTopRightOnSquareIcon } from "@heroicons/react/24/solid";
import Image from "next/image"; import Image from "next/image";
import scalpPoints from "@/public/content/scalp_points.png"; import scalpPoints from "@/public/content/scalp_points.png";
import ExtLearnMoreLink from "@/components/ExtLearnMoreLink";
const ScalpAcupuncture = () => { const ScalpAcupuncture = () => {
return ( return (
@ -66,14 +67,13 @@ const ScalpAcupuncture = () => {
The file below has real patient cases and outcomes. Check it out The file below has real patient cases and outcomes. Check it out
for yourself and see YNSA in action! for yourself and see YNSA in action!
</div> </div>
<LearnMoreLink <ExtLearnMoreLink
href="/content/patient-resources/scalp_acupuncture.pdf" href="/content/patient-resources/scalp_acupuncture.pdf"
target="_blank" target="_blank"
className="block" className="block"
> >
Patient Before-and-Afters [PDF]{" "} Patient Before-and-Afters [PDF]
<ArrowTopRightOnSquareIcon className="inline w-[20px] align-[-3px]" /> </ExtLearnMoreLink>
</LearnMoreLink>
</Card> </Card>
</div> </div>
</div> </div>

View file

@ -1,25 +1,47 @@
import View from "@/components/View"; import CenterView from "@/components/CenterView";
import ExtLearnMoreLink from "@/components/ExtLearnMoreLink";
import NORBrain from "@/public/content/NOR_brain.png";
import Image from "next/image";
const NOR = () => { const NOR = () => {
return ( return (
<View bg_color="bg-primary-100" txt_color="text-primary-500" id="nor"> <CenterView bg_color="bg-primary-100" txt_color="text-primary-500" id="nor">
<h1>Neuro Ocular Release</h1> <div className="flex flex-col items-center justify-around gap-6 md:flex-row">
<p> <div className="basis-2/5">
Neuro-ocular release (NOR) is a new osteopathic manipulative procedure <h1>Neuro Ocular Release</h1>
that involves the indirect method of manual techniques. It may be used <p>
alone, or it may be used as an activating force for other indirect Neuro-ocular release (NOR) is a new osteopathic manipulative
methods of treatment. By utilizing the visual system, NOR accesses procedure that involves the indirect method of manual techniques. It
pathways that reset the central and peripheral nervous systems. In doing may be used alone, or it may be used as an activating force for
so, NOR more effectively alleviates somatic disfunction in less other indirect methods of treatment. By utilizing the visual system,
time&mdash;only three seconds&mdash;than traditional methods alone. NOR accesses pathways that reset the central and peripheral nervous
</p> systems. In doing so, NOR more effectively alleviates somatic
<h2>Want to learn more?</h2> disfunction in less time&mdash;only three seconds&mdash;than
<p> traditional methods alone.
Access to NOR content is only available to account holders. To request </p>
access, contact Dr. Feely at the link below. <ExtLearnMoreLink
</p> target="_blank"
<p>Already have an account?</p> href="/content/doctor-resources/nor_article.pdf"
</View> className="my-5"
>
Read Dr. Feely's Paper on NOR [PDF]
</ExtLearnMoreLink>
<h2>Want to learn more?</h2>
<p>
Access to NOR content is only available to account holders. To
request access, contact Dr. Feely at the link below.
</p>
<p>Already have an account?</p>
</div>
<div className="basis-2/5">
<Image
src={NORBrain}
alt="NOR Diagram"
className="mx-auto my-10 block w-11/12 rounded-lg drop-shadow-2xl"
/>
</div>
</div>
</CenterView>
); );
}; };

View file

@ -1,6 +1,7 @@
import Navbar from "@/components/Navbar"; import Navbar from "@/components/Navbar";
import "./globals.css"; import "./globals.css";
import Footer from "@/components/Footer"; import Footer from "@/components/Footer";
import Contact from "@/components/Contact";
export default function RootLayout({ export default function RootLayout({
children, children,
@ -12,6 +13,7 @@ export default function RootLayout({
<body> <body>
<Navbar></Navbar> <Navbar></Navbar>
{children} {children}
<Contact></Contact>
<Footer></Footer> <Footer></Footer>
</body> </body>
</html> </html>

View file

@ -2,7 +2,7 @@ import Link from "next/link";
const ArtLink = (props: any) => { const ArtLink = (props: any) => {
return ( return (
<div> <div className={props.divClasses}>
<Link <Link
{...props} {...props}
className={ className={

View file

@ -0,0 +1,49 @@
import ArtLink from "./ArtLink";
import View from "./View";
import left from "@/public/content/logo_unicorn.png";
import right from "@/public/content/logo_lion.png";
import Image from "next/image";
const Contact = () => {
return (
<View
bg_color="bg-neutral-800"
txt_color="text-neutral-200"
className="!min-h-0"
>
<div className="flex flex-col items-center">
<div className="md:flex md:flex-row md:items-center md:gap-10">
<div>
<Image
src={left}
alt="Stately unicorn from Dr. Feely's coat of arms"
className="hidden h-32 w-auto md:block"
/>
</div>
<div>
<h1 className="my-5 text-5xl">Contact Dr. Feely</h1>
<div className="text-center text-2xl">
at{" "}
<ArtLink
className="hover:drop-shadow-light"
href="mailto:rafeely@drfeely.com"
divClasses="inline"
>
rafeely@drfeely.com
</ArtLink>
</div>
</div>
<div>
<Image
src={right}
alt="Stately lion from Dr. Feely's coat of arms"
className="hidden h-32 w-auto md:block"
/>
</div>
</div>
</div>
</View>
);
};
export default Contact;

View file

@ -0,0 +1,28 @@
import { ReactNode } from "react";
import { ArrowTopRightOnSquareIcon } from "@heroicons/react/24/solid";
import Link from "next/link";
interface Props {
className?: string;
href: string;
target?: string;
children?: ReactNode;
}
const ExtLearnMoreLink = ({ className, href, target, children }: Props) => {
return (
<Link
target={target}
href={href}
className={
"m-3 my-0 inline-block rounded-lg bg-primary-500 p-3 text-center align-middle font-bold text-primary-100 drop-shadow-md transition-all duration-300 hover:bg-secondary-500 hover:drop-shadow-xl " +
className
}
>
{children}{" "}
<ArrowTopRightOnSquareIcon className="inline w-[20px] align-[-3px]" />
</Link>
);
};
export default ExtLearnMoreLink;

View file

@ -1,6 +1,6 @@
const Footer = () => { const Footer = () => {
return ( return (
<footer className="w-full bg-neutral-800 text-neutral-300"> <footer className="w-full bg-neutral-900 text-neutral-200">
<div className="mx-auto w-11/12 py-12 lg:w-5/6"> <div className="mx-auto w-11/12 py-12 lg:w-5/6">
<div className="ml-8 grid gap-12 md:m-0 md:grid-cols-5 md:flex-row"> <div className="ml-8 grid gap-12 md:m-0 md:grid-cols-5 md:flex-row">
<div className=""> <div className="">

Binary file not shown.

After

Width:  |  Height:  |  Size: 998 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 384 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 472 KiB