diff --git a/apps/about-me/src/components/index.tsx b/apps/about-me/src/components/index.tsx new file mode 100644 index 0000000..4416b76 --- /dev/null +++ b/apps/about-me/src/components/index.tsx @@ -0,0 +1,12 @@ +import { ReactNode } from "react" + +export const Section: React.FC<{children?: ReactNode}> = ({children}) =>
{children}
+export const UL: React.FC<{ children?: ReactNode }> = ({ children }) => + +export const SectionHeader: React.FC<{ text?: string, children?: ReactNode }> = ({ text, children }) =>
+

+ {text} + {children} +

+
+
diff --git a/apps/about-me/src/pages/index.tsx b/apps/about-me/src/pages/index.tsx index 8a97412..87552a4 100644 --- a/apps/about-me/src/pages/index.tsx +++ b/apps/about-me/src/pages/index.tsx @@ -18,6 +18,7 @@ import Lizzie from "@public/assets/lizzie.jpg"; import SantaMonicaStairs from "@public/assets/santa-monica-stairs.jpg"; import SantaMonicaHigh from "@public/assets/santa-monica-high.jpg"; import assert from "assert"; +import { Section, SectionHeader, UL } from "@components/index"; const circle = cva("absolute rounded-full border -z-10", { variants: { @@ -64,14 +65,14 @@ const Article: React.FC<{ children?: ReactNode }> = ({ children }) =>
-const InpageSection: React.FC<{href: string, children?: ReactNode}>= ({ +const InpageSection: React.FC<{ href: string, children?: ReactNode }> = ({ href, children }) => - {children} - + {children} + const Brief = () =>
{/*Avatar*/} @@ -101,13 +102,6 @@ const Brief = () =>
-const SectionHeader: React.FC<{ text?: string, children?: ReactNode }> = ({ text, children }) =>
-

- {text} - {children} -

-
-
const images = [ { @@ -232,11 +226,11 @@ const ImageDisplay: React.FC<{ imageDisplayHook: ImageDisplayHook }> = ({ imageD key={`img-index-${i}`} />)}
- {image && {image.alt}} + {image && {image.alt}} const MyLink: React.FC<{ href: string, children?: ReactNode }> = ({ href, children }) => + className="text-amber-400/70 visited:text-purple-400/70 hover:text-amber-400 visited:hover:text-purple-400" href={href}> {children} @@ -248,33 +242,33 @@ const About = () => {
-
+
Aspiring software engineer with intense drive and curiosity in software development. -
-
+
+
My computer infrastructure consists of: -
    +
    • 24 home CPU cores
    • 60 GB of RAM (4 GB SDDR3 and 56 GB DDR4)
    • 2.5 TB of SSD + HDD
    • A mix of NixOS, Ubuntu, and Windows
    • -
    -
-
+ +
+
In free time, you would find me: -
    +
    • Learning about new technology in a week
    • Performing microbenchmarks on competing implementations and technologies
    • Optimizing my workspace through dotfiles
    • Contributing to open-source projects
    • Watching edutainment videos and podcasts about software
    • {/*TODO: add link to edutainment note-taking platform here*/}
    • Producing music
    • -
    -
+ +
diff --git a/apps/about-me/tsconfig.json b/apps/about-me/tsconfig.json index 3f75630..30b1e67 100644 --- a/apps/about-me/tsconfig.json +++ b/apps/about-me/tsconfig.json @@ -12,8 +12,9 @@ "@server/*": ["src/server/*"], "@db/*": ["src/server/db/*"], "@trpc/*": ["src/server/trpc/*"], - "@router/*": ["src/server/trpc/router"], - "@public/*": ["public/*"] + "@router/*": ["src/server/trpc/router/*"], + "@public/*": ["public/*"], + "@components/*": ["src/components/*"] } } } diff --git a/packages/tsconfig/t3.json b/packages/tsconfig/t3.json index 47d20b0..823db2d 100644 --- a/packages/tsconfig/t3.json +++ b/packages/tsconfig/t3.json @@ -4,19 +4,6 @@ "extends": "./nextjs.json", "compilerOptions": { "declaration": false, - "baseUrl": ".", - "paths": { - "@env/*": ["src/env/*"], - "@pages/*": ["src/pages/*"], - "@styles/*": ["src/styles/*"], - "@utils/*": ["src/utils/*"], - "@server/*": ["src/server/*"], - "@db/*": ["src/server/db/*"], - "@trpc/*": ["src/server/trpc/*"], - "@router/*": ["src/server/trpc/router"], - "@public/*": ["public/*"] - - } }, "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "**/*.cjs", "**/*.mjs"], "exclude": ["node_modules"],