MCPcopy Create free account
hub / github.com/dailydotdev/apps / SignInStrip

Function SignInStrip

packages/shared/src/components/auth/SignInStrip.tsx:8–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6import { GetAppButton } from '../../features/getApp/components/GetAppButton';
7
8export const SignInStrip = (): ReactElement => (
9 <section
10 aria-label="Sign in to daily.dev"
11 className="sticky top-[var(--sticky-header-offset,0px)] z-3 mb-3"
12 >
13 <div className="flex h-16 items-center justify-between gap-4 rounded-12 border border-border-subtlest-quaternary bg-background-default px-6">
14 <Typography
15 type={TypographyType.Body}
16 bold
17 className="min-w-0 flex-1 truncate text-text-primary"
18 >
19 Sign in to personalize your feed
20 </Typography>
21 <div className="flex shrink-0 items-center gap-2">
22 <GetAppButton
23 showLabel
24 variant={ButtonVariant.Secondary}
25 size={ButtonSize.Small}
26 />
27 <LoginButton
28 size={ButtonSize.Small}
29 className={{ container: 'gap-2' }}
30 />
31 </div>
32 </div>
33 </section>
34);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected