fix: styling and semantic updates

This commit is contained in:
Mythie
2023-06-21 23:48:22 +10:00
parent 76674523c5
commit 3aea62e898
6 changed files with 33 additions and 31 deletions

View File

@ -41,16 +41,16 @@ export const Callout = () => {
</span>
</Button>
<Link
href="https://github.com/documenso/documenso"
target="_blank"
onClick={() => event('view-github')}
>
<Button variant="outline" className="rounded-full bg-transparent backdrop-blur-sm">
<Button variant="outline" className="rounded-full bg-transparent backdrop-blur-sm" asChild>
<Link
href="https://github.com/documenso/documenso"
target="_blank"
onClick={() => event('view-github')}
>
<Github className="mr-2 h-5 w-5" />
Star on Github
</Button>
</Link>
</Link>
</Button>
</div>
);
};

View File

@ -114,12 +114,19 @@ export const Hero = ({ className, ...props }: HeroProps) => {
</span>
</Button>
<Link href="https://github.com/documenso/documenso" onClick={() => event('view-github')}>
<Button variant="outline" className="rounded-full bg-transparent backdrop-blur-sm">
<Button
variant="outline"
className="rounded-full bg-transparent backdrop-blur-sm"
asChild
>
<Link
href="https://github.com/documenso/documenso"
onClick={() => event('view-github')}
>
<Github className="mr-2 h-5 w-5" />
Star on Github
</Button>
</Link>
</Link>
</Button>
</motion.div>
<motion.div

View File

@ -93,14 +93,15 @@ export const PricingTable = ({ className, ...props }: PricingTableProps) => {
For small teams and individuals who need a simple solution
</p>
<Link
href="https://github.com/documenso/documenso"
target="_blank"
className="mt-6"
onClick={() => event('view-github')}
>
<Button className="rounded-full text-base">View on Github</Button>
</Link>
<Button className="mt-6 rounded-full text-base">
<Link
href="https://github.com/documenso/documenso"
target="_blank"
onClick={() => event('view-github')}
>
View on Github
</Link>
</Button>
<div className="mt-8 flex w-full flex-col divide-y">
<p className="py-4 font-medium text-slate-900">Host your own instance</p>