Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix: remove redundant h1 from account, team, and referral sections

Louis Beaumont314cfff24e06
diff --git a/apps/screenpipe-app-tauri/app/home/page.tsx b/apps/screenpipe-app-tauri/app/home/page.tsx
index 6c48b9a97..731b32ce7 100644
--- a/apps/screenpipe-app-tauri/app/home/page.tsx
+++ b/apps/screenpipe-app-tauri/app/home/page.tsx
@@ -829,14 +829,9 @@ function ReferralSection() {
return (
<div className="space-y-6">
- <div>
- <h2 className="text-xl font-bold tracking-tight text-foreground">
- refer and earn rewards
- </h2>
- <p className="text-sm text-muted-foreground mt-1">
- give <span className="font-semibold text-foreground">10% off</span> screenpipe and get <span className="font-semibold text-foreground">1 free month</span> for each person you refer.
- </p>
- </div>
+ <p className="text-sm text-muted-foreground mb-4">
+ give <span className="font-semibold text-foreground">10% off</span> screenpipe and get <span className="font-semibold text-foreground">1 free month</span> for each person you refer.
+ </p>
<div className="space-y-4">
<div>
diff --git a/apps/screenpipe-app-tauri/components/settings/account-section.tsx b/apps/screenpipe-app-tauri/components/settings/account-section.tsx
index 45dba2d6c..b78e69846 100644
--- a/apps/screenpipe-app-tauri/components/settings/account-section.tsx
+++ b/apps/screenpipe-app-tauri/components/settings/account-section.tsx
@@ -177,16 +177,11 @@ export function AccountSection() {
<div className="space-y-6">
{/* Header + login status */}
<div className="flex items-center justify-between">
- <div>
- <h1 className="text-2xl font-bold tracking-tight text-foreground">
- Account
- </h1>
- <p className="text-sm text-muted-foreground mt-0.5">
- {settings.user?.token
- ? `logged in as ${settings.user.email}`
- : "not logged in"}
- </p>
- </div>
+ <p className="text-sm text-muted-foreground">
+ {settings.user?.token
+ ? `logged in as ${settings.user.email}`
+ : "not logged in"}
+ </p>
<div className="flex gap-2">
{settings.user?.token ? (
<>
diff --git a/apps/screenpipe-app-tauri/components/settings/team-section.tsx b/apps/screenpipe-app-tauri/components/settings/team-section.tsx
index 0d7eefa1c..b09b8523b 100644
--- a/apps/screenpipe-app-tauri/components/settings/team-section.tsx
+++ b/apps/screenpipe-app-tauri/components/settings/team-section.tsx
@@ -347,10 +347,7 @@ export function TeamSection() {
return (
<div className="space-y-6">
<div>
- <h1 className="text-2xl font-bold tracking-tight text-foreground">
- Team
- </h1>
- <p className="text-sm text-muted-foreground mt-0.5">
+ <p className="text-sm text-muted-foreground">
manage your team and share pipe configurations and content filters
</p>
</div>
@@ -379,10 +376,7 @@ export function TeamSection() {
return (
<div className="space-y-6">
<div>
- <h1 className="text-2xl font-bold tracking-tight text-foreground">
- Team
- </h1>
- <p className="text-sm text-muted-foreground mt-0.5">loading...</p>
+ <p className="text-sm text-muted-foreground">loading...</p>
</div>
<Skeleton className="h-32 w-full" />
<Skeleton className="h-24 w-full" />
@@ -395,10 +389,7 @@ export function TeamSection() {
return (
<div className="space-y-6">
<div>
- <h1 className="text-2xl font-bold tracking-tight text-foreground">
- Join Team
- </h1>
- <p className="text-sm text-muted-foreground mt-0.5">
+ <p className="text-sm text-muted-foreground">
enter the passphrase from your team admin to complete joining
</p>
</div>
@@ -454,10 +445,7 @@ export function TeamSection() {
return (
<div className="space-y-6">
<div>
- <h1 className="text-2xl font-bold tracking-tight text-foreground">
- Team
- </h1>
- <p className="text-sm text-muted-foreground mt-0.5">
+ <p className="text-sm text-muted-foreground">
share pipe configurations and content filters with your team using end-to-end encryption
</p>
</div>
@@ -554,10 +542,7 @@ export function TeamSection() {
{/* Header */}
<div className="flex items-center justify-between">
<div>
- <h1 className="text-2xl font-bold tracking-tight text-foreground">
- Team
- </h1>
- <p className="text-sm text-muted-foreground mt-0.5">
+ <p className="text-sm text-muted-foreground">
{team.team.name}
</p>
</div>