From d9e83643871c34759bde07174de12d7015b3c551 Mon Sep 17 00:00:00 2001 From: Muthu Kumar Date: Sun, 10 Aug 2025 00:24:41 +0530 Subject: [PATCH] feat: add HN feature --- src/pages/main/Home.tsx | 113 +++++++++++++++++++++++++++++++++--------------- 1 file changed, 77 insertions(+), 36 deletions(-) diff --git a/src/pages/main/Home.tsx b/src/pages/main/Home.tsx index ebc7807..199ede6 100644 --- a/src/pages/main/Home.tsx +++ b/src/pages/main/Home.tsx @@ -1,12 +1,10 @@ import React, { useContext } from "react"; import FlickerList, { Tooltip } from "../../components/FlickerList.tsx"; -import { ReactComponent as Arrow } from "../../assets/arrow-thin.svg"; -import { css } from "@emotion/css"; -import { setupCursorTracking } from "../../util/index.ts"; +import { css, cx } from "@emotion/css"; import { Emoji } from "../../components/Emoji.tsx"; import { AnimateEntry } from "../../components/AnimateEntry.tsx"; import { AppContext } from "../../AppContext.ts"; -import { Button } from "../../components/ButtonOrAnchor.tsx"; +import { Anchor, Button } from "../../components/ButtonOrAnchor.tsx"; const Home: React.FC = () => { const context = useContext(AppContext); @@ -69,6 +67,37 @@ const Home: React.FC = () => { ]} /> + +
+

We made it to HackerNews!

+ + + [comments] + + [project] +
+
{ margin-top: -0.4rem; display: flex; flex-direction: column; - gap: 0.2rem; + gap: 1rem; `}> -

- Welcome to the web home of{" "} - - For legal reasons, my name is Anu Rahul Nandhan, but I - generally go by my{" "} - - nom-de-guerre - {" "} - Muthu Kumar. - - }> - Muthu Kumar. - -

-

- I'm from Chennai, South India - -

-

+

+

+ Welcome to the web home of{" "} + + For legal reasons, my name is Anu Rahul Nandhan, but + I generally go by my{" "} + + nom-de-guerre + {" "} + Muthu Kumar. + + }> + Muthu Kumar. + +

+

+ I'm from Chennai, South India + +

+
+ {/*

I'm looking for work!

@@ -166,13 +202,18 @@ const Home: React.FC = () => { - - + */} +