aboutsummaryrefslogtreecommitdiffstats
path: root/site
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2026-04-11 19:34:50 -0700
committerPinapelz <yukais@pinapelz.com>2026-04-11 19:34:50 -0700
commitc435e861a328317a05235edd697797ab0841a6a3 (patch)
treea551a901e620899a92c7e3b8ea896784bba3c478 /site
parent0a69e0678e140a7d369c268e8fdfe8ae7a2abc08 (diff)
frontend: make caught_up sentinel less intrusive if its at the top ofHEADmain
feed
Diffstat (limited to 'site')
-rw-r--r--site/src/components/NewsFeed.tsx5
1 files changed, 3 insertions, 2 deletions
diff --git a/site/src/components/NewsFeed.tsx b/site/src/components/NewsFeed.tsx
index 2b81fe5..8e67af3 100644
--- a/site/src/components/NewsFeed.tsx
+++ b/site/src/components/NewsFeed.tsx
@@ -144,12 +144,13 @@ export const NewsFeed: React.FC<NewsFeedProps> = ({ newsItems }) => {
return (
<div className="max-w-[600px] w-full mx-auto py-8 space-y-4 font-[Zen_Maru_Gothic]">
- {feed.map((item) => {
+ {feed.map((item, idx) => {
if ("_sentinel" in item) {
+ const isFirstSentinel = idx === 0;
return (
<div
key={item._sentinel}
- className={`flex font-bold items-center gap-3 py-24 ${isMoe ? "text-pink-400" : "text-gray-100"}`}
+ className={`flex font-bold items-center gap-3 ${isFirstSentinel ? "py-2" : "py-24"} ${isMoe ? "text-pink-400" : "text-gray-100"}`}
>
<div className={`flex-1 h-px ${isMoe ? "bg-pink-300" : "bg-gray-700"}`} />
<span className="text-sm">
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage