other pages in progress

This commit is contained in:
2023-07-03 12:24:56 -05:00
parent 3d2f05bfdf
commit 61c5de39fe
6 changed files with 54 additions and 8 deletions

View File

@@ -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' && (
<div>
<h2>Software Engineer</h2>
<p>
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.
</p>
<p>Here are some traits that my supervisors have consistently praised:</p>
</div>
)}

10
app/about/me/software.mdx Normal file
View File

@@ -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:

View File

@@ -2,7 +2,7 @@ import Link from 'next/link';
export default function AboutPage() {
return (
<div>
<div className="flex flex-col min-h-[50vh] bg-gradient-to-b from-black to-purple-950">
<Link href="/about/me">About me</Link>
<Link href="/about/resume">My resume</Link>
<Link href="/about/skills">Skills</Link>

View File

@@ -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 })
<IconContext.Provider value={{}}>
<MDXProvider components={components}>
<main className={`${bg} min-h-screen`}>
<div id="navbar-spacer" className="h-[6rem] w-full" />
{children}
</main>
</MDXProvider>

View File

@@ -12,7 +12,6 @@ export default function Home() {
return (
<>
<div aria-description="spacer" className="h-[6rem] w-full" />
<div id="hero" className="bg-gradient-to-b from-black to-slate-900 p-4 flex flex-col min-h-[50vh]">
<span className={"px-4 mb-2 mt-4 bg-clip-text text-transparent uppercase text-3xl sm:text-6xl font-extrabold bg-opacity-100 animate-text-gradient bg-gradient-to-r " + `from-${firstColor.split('-').slice(1).join('-')} to-${secondColor.split('-').slice(1).join('-')}`}>
Mikayla Dobson