Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix[mobile]: first page splash nits (#2889)

Peter Chinman9bcc4573a7db
diff --git a/js/app/packages/app/component/Root.tsx b/js/app/packages/app/component/Root.tsx
index 7786939180..d386444b87 100644
--- a/js/app/packages/app/component/Root.tsx
+++ b/js/app/packages/app/component/Root.tsx
@@ -304,7 +304,7 @@ const ROUTES: RouteDefinition[] = [
{
path: '/welcome',
component: () => (
- <div class="flex *:flex-1 w-full h-dvh overflow-y-hidden">
+ <div class="flex *:flex-1 w-full h-full overflow-y-hidden">
<InteractiveOnboarding />
</div>
),
diff --git a/js/app/packages/app/component/interactive-onboarding/InteractiveOnboarding.tsx b/js/app/packages/app/component/interactive-onboarding/InteractiveOnboarding.tsx
index 323863d2e7..fafecb9b5e 100644
--- a/js/app/packages/app/component/interactive-onboarding/InteractiveOnboarding.tsx
+++ b/js/app/packages/app/component/interactive-onboarding/InteractiveOnboarding.tsx
@@ -441,7 +441,7 @@ function InteractiveOnboardingInner() {
return (
<div
ref={shellRef}
- class="flex items-center justify-center h-full w-full p-8 overflow-hidden relative"
+ class="flex items-center justify-center h-full w-full p-6 sm:p-8 overflow-hidden relative"
tabIndex={-1}
>
{/* Scoped keyframes */}
diff --git a/js/app/packages/app/component/interactive-onboarding/MobileWebWelcome.tsx b/js/app/packages/app/component/interactive-onboarding/MobileWebWelcome.tsx
index 460beee214..d359c0775a 100644
--- a/js/app/packages/app/component/interactive-onboarding/MobileWebWelcome.tsx
+++ b/js/app/packages/app/component/interactive-onboarding/MobileWebWelcome.tsx
@@ -45,8 +45,8 @@ export default function MobileWebWelcome(props: MobileWebWelcomeProps) {
<LogoIcon class="size-16 text-accent self-center" />
<h2 class="text-3xl font-semibold text-ink mt-3">Welcome to Macro.</h2>
<p class="text-base text-ink/60 mt-4">
- Macro is a unified system for work – built for <strong>speed</strong>{' '}
- and <strong>focus</strong>.
+ Macro is a unified system for work{'\u2060'}—built for{' '}
+ <strong>speed</strong> and <strong>focus</strong>.
</p>
<form
diff --git a/js/app/packages/app/component/interactive-onboarding/lessons/welcome.tsx b/js/app/packages/app/component/interactive-onboarding/lessons/welcome.tsx
index 0c61530d28..fae0a1fe05 100644
--- a/js/app/packages/app/component/interactive-onboarding/lessons/welcome.tsx
+++ b/js/app/packages/app/component/interactive-onboarding/lessons/welcome.tsx
@@ -10,8 +10,8 @@ function WelcomeContent(props: LessonContentProps) {
return (
<div class="flex flex-col gap-3 onboarding-stagger">
<p>
- Macro is a unified system for work – built for <strong>speed</strong>{' '}
- and <strong>focus</strong>.
+ Macro is a unified system for work{'\u2060'}—built for{' '}
+ <strong>speed</strong> and <strong>focus</strong>.
{!isTouchDevice() &&
' This short walk-through will introduce a few core features.'}
</p>
@@ -24,11 +24,11 @@ function WelcomeSecondaryAction() {
return (
<>
- <p class="text-sm text-ink/50 mt-10">Already have an account?</p>
+ <p class="text-sm text-ink-extra-muted mt-10">Already have an account?</p>
<A
href="/login"
onClick={() => analytics.track('login_from_onboarding')}
- class="w-full px-3 py-2.5 text-lg rounded-xs flex items-center justify-between gap-2 bracket-never border-none bg-transparent text-ink/50 hover:bg-hover/60 ring-1 ring-edge-muted/50"
+ class="w-full px-3 py-2.5 text-lg rounded-xs flex items-center justify-between gap-2 bracket-never border-none bg-transparent text-ink-extra-muted hover:bg-hover ring-1 ring-edge-muted"
>
Login
</A>