import { ContentContainer, Page } from "@/components/layouts";
import { Separator } from "@/components/ui/separator";
import { Footer } from "@/components/utils/Footer";
import { NavBar } from "@/components/utils/NavBar";
import { SEO } from "@/components/utils/SEO";
import { SocialIcons } from "@/components/utils/SocialIcons";
import { Config } from "@/data/config";

import Link from "next/link";

export default function AboutPage() {
  return (
    <Page>
      <SEO
        coverURL={Config.PageCovers.websiteCoverURL}
        description={"Type your brief self-introduction in a sentence here make SEO recognize it easily."}
        title={`About Me - ${Config.AuthorName}`}
      />
      <NavBar />
      <ContentContainer>
        <h2 className={`my-5 flex justify-around text-2xl font-bold caption-font`}>{"ABOUT ME"}</h2>
        <Separator />
        <div className={`content-font my-5 justify-center md:flex md:space-x-10`}>
          <div className="my-auto flex md:w-1/3">
            <img alt="my-profile" className="mx-auto my-auto max-h-[23rem] rounded-lg" src="/images/profile.webp" />
          </div>
          <div className="my-auto md:w-1/3">
            <div className="mt-5 mb-3 text-3xl font-bold">Hi, there👋</div>
            I am a student / entrepreneur / engineer (Your profession) majoring in (Your Research Field) born in XXXX
            (Your birth year)
            <br />
            <br />
            My main research interests includes XXXX
            <br />
            <br />
            Additionally, I am also interested in XXXX.
          </div>
        </div>
        <Separator />
        <SocialIcons />
        <Separator />

        <ul className="mx-auto my-10 px-5 md:w-2/3 list-disc">
          {Config.SocialLinks.github && (
            <li className="my-2">
              {"📕 Check out my github profile at "}
              <Link className="underline" href={`https://github.com/${Config.SocialLinks.github}`} target="_blank">
                Github
              </Link>
            </li>
          )}
          <li className="my-2">🖥️ Programming stack: TypeScript, JavaScript, C++, C, Rust, Go and so on.</li>
          <li className="my-2">🤝 I am looking for friends who are fund of XXXX</li>
          {Config.SocialLinks.twitter && (
            <li className="my-2">
              {"📫 How to reach me on Twitter: "}
              <Link className="link" href={`https://twitter.com/${Config.SocialLinks.twitter}`} target="_blank">
                {Config.SocialLinks.twitter}
              </Link>
            </li>
          )}
          <li className="my-2">Language : 汉语 / English / 한국어 / 日本語 </li>
          <li className="my-2">Gender Identity : Male / Female / MTF / FTM / And Others </li>
          <li className="my-2">From : Your Country, State / Province</li>
        </ul>

        <div className="mx-auto my-10 md:w-2/3 font-bold">
          {
            "** In addition to the above content, you can also add other customized components, content, etc. to this page. **"
          }
        </div>
      </ContentContainer>
      <Footer />
    </Page>
  );
}
