Update UI component styles and structure

Several modifications have been made to the styles and structure of the Loading, Docs Navigation, and Pricing Table components. For Loading component, GlobalLoader is now wrapped in a function. Visual changes were also made to the Docs Navigation buttons and the Pricing Table elements layout and text styles, to improve the overall look and feel of the interfaces.
This commit is contained in:
giancarlo
2024-04-16 21:13:27 +08:00
parent 1f3c4805f0
commit d8d6aa8f92
3 changed files with 9 additions and 8 deletions

View File

@@ -26,11 +26,10 @@ const DocsNavLink: React.FC<{
return (
<Button
className={cn('w-full', {
['font-semibold']: isFirstLevel,
className={cn('w-full shadow-none', {
['font-normal']: !isFirstLevel,
})}
variant={isCurrent ? 'secondary' : 'ghost'}
size={isFirstLevel ? 'default' : 'sm'}
>
<Link
className="flex h-full max-w-full grow items-center space-x-2"