mirror of
https://github.com/documenso/documenso.git
synced 2025-11-12 07:43:16 +10:00
feat: update marketing site
Signed-off-by: Adithya Krishna <adithya@documenso.com>
This commit is contained in:
30
packages/ui/primitives/announcement-bar.tsx
Normal file
30
packages/ui/primitives/announcement-bar.tsx
Normal file
@ -0,0 +1,30 @@
|
||||
import Link from 'next/link';
|
||||
|
||||
interface AnnouncementBarProps {
|
||||
isShown: boolean;
|
||||
}
|
||||
|
||||
export const AnnouncementBar: React.FC<AnnouncementBarProps> = ({ isShown }) => {
|
||||
return (
|
||||
isShown && (
|
||||
<div className="flex h-full w-full items-center justify-center gap-4 border-b-2 bg-green-400 p-1">
|
||||
<div className="text-center">
|
||||
<span className="text-sm text-gray-800">
|
||||
Claim your documenso public profile URL now!
|
||||
</span>{' '}
|
||||
<span className="text-sm font-medium text-gray-800">documenso.com/u/yourname</span>
|
||||
</div>
|
||||
|
||||
<div className="flex items-center justify-center gap-4 rounded-lg bg-white px-3 py-1">
|
||||
<div className="text-xs text-gray-900">
|
||||
<Link
|
||||
href="https://app.documenso.com"
|
||||
>
|
||||
Claim now
|
||||
</Link>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
);
|
||||
};
|
||||
@ -3,7 +3,8 @@
|
||||
import * as React from 'react';
|
||||
|
||||
import * as TogglePrimitive from '@radix-ui/react-toggle';
|
||||
import { VariantProps, cva } from 'class-variance-authority';
|
||||
import type { VariantProps } from 'class-variance-authority';
|
||||
import { cva } from 'class-variance-authority';
|
||||
|
||||
import { cn } from '../lib/utils';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user