diff --git a/app/about/me/page.tsx b/app/about/me/page.tsx index b2050d3..d42ff1d 100644 --- a/app/about/me/page.tsx +++ b/app/about/me/page.tsx @@ -1,5 +1,7 @@ 'use client'; import { useState } from "react"; +import Software from "./software.mdx"; +import CompanyShowcase from "@/components/About/CompanyShowcase"; export default function AboutMe() { const [selected, setSelected] = useState<'musician' | 'developer'>(); @@ -15,11 +17,12 @@ export default function AboutMe() { {selected === 'developer' && (
-

Software Engineer

- I am a software engineer with a passion for creating beautiful, functional, and accessible web applications. - I have experience with React, TypeScript, Node.js, and more. + I have been writing software for about three years, and have produced valuable work for several + companies working in a variety of paradigms.

+ +

Here are some traits that my supervisors have consistently praised:

)} diff --git a/app/about/me/software.mdx b/app/about/me/software.mdx new file mode 100644 index 0000000..c6fb8b6 --- /dev/null +++ b/app/about/me/software.mdx @@ -0,0 +1,10 @@ +# Software Engineer + +I have been writing software for about three years, and have produced valuable work for several +companies working in a variety of paradigms. + +## Some + +## Some ways I have brought value: + + diff --git a/app/about/page.tsx b/app/about/page.tsx index 4ea969c..9dd1f75 100644 --- a/app/about/page.tsx +++ b/app/about/page.tsx @@ -2,7 +2,7 @@ import Link from 'next/link'; export default function AboutPage() { return ( -
+
About me My resume Skills diff --git a/app/layout.tsx b/app/layout.tsx index f5fd0de..c6bdd9b 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -1,15 +1,16 @@ 'use client' +import './globals.css' + import Head from 'next/head' import Navbar from '@/components/Navbar' import SiteTree from '@/components/SiteTree' +import components from '@/components/mdx' import { MDXProvider } from '@mdx-js/react' import { Inter, Besley, Cabin } from 'next/font/google' -import components from '@/components/mdx' -import './globals.css' -import { useEffect, useState } from 'react' import { usePathname } from 'next/navigation' import { IconContext } from 'react-icons' +import { useEffect, useState } from 'react' export const inter = Inter({ subsets: ['latin'] }) export const besley = Besley({ subsets: ['latin'] }) @@ -30,6 +31,10 @@ export default function RootLayout({ children }: { children: React.ReactNode }) case '/': setBg('bg-slate-900'); break; + case '/about': + case '/about/me': + setBg('bg-purple-950'); + break; default: setBg('bg-slate-900'); break; @@ -60,6 +65,7 @@ export default function RootLayout({ children }: { children: React.ReactNode })
+
diff --git a/app/page.tsx b/app/page.tsx index c3210cb..5fca1d3 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -12,7 +12,6 @@ export default function Home() { return ( <> -
Mikayla Dobson diff --git a/components/About/CompanyShowcase.tsx b/components/About/CompanyShowcase.tsx new file mode 100644 index 0000000..9c8f86f --- /dev/null +++ b/components/About/CompanyShowcase.tsx @@ -0,0 +1,28 @@ +import { useEffect, useState } from "react"; +import { RxTriangleDown } from "react-icons/rx"; + +interface CompanyShowcaseProps { + companyName: string + children: React.ReactNode +} + +export default function CompanyShowcase({ companyName, children }: CompanyShowcaseProps) { + const [collapsed, setCollapsed] = useState(true); + + useEffect(() => console.log(collapsed), [collapsed]); + + return ( +
+
+

{companyName}

+
+ setCollapsed(!collapsed)} /> +
+ {/* */} +
+
+ { collapsed ? <> : children } +
+
+ ) +}