forked from cardosofelipe/fast-next-template
Refactor OAuth divider component and update README visuals
- Simplified the OAuth divider component with a cleaner layout for improved UI consistency. - Updated README to include and organize new visuals for key sections, enhancing documentation clarity.
This commit is contained in:
@@ -145,14 +145,17 @@ Full OAuth 2.0 Authorization Server for Model Context Protocol (MCP) and third-p
|
||||
### Landing Page
|
||||

|
||||
|
||||
|
||||
|
||||
### Authentication
|
||||

|
||||
|
||||
|
||||
|
||||
### Admin Dashboard
|
||||

|
||||
|
||||
### User Settings
|
||||

|
||||
|
||||
|
||||
### Design System
|
||||

|
||||
|
||||
BIN
docs/images/admin-dashboard.png
Normal file
BIN
docs/images/admin-dashboard.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 119 KiB |
BIN
docs/images/design-system.png
Normal file
BIN
docs/images/design-system.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 153 KiB |
BIN
docs/images/landing.png
Normal file
BIN
docs/images/landing.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 418 KiB |
BIN
docs/images/login.png
Normal file
BIN
docs/images/login.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 42 KiB |
@@ -144,13 +144,10 @@ function Divider() {
|
||||
const t = useTranslations('auth.oauth');
|
||||
|
||||
return (
|
||||
<div className="relative">
|
||||
<div className="absolute inset-0 flex items-center">
|
||||
<span className="w-full border-t" />
|
||||
</div>
|
||||
<div className="relative flex justify-center text-xs uppercase">
|
||||
<span className="bg-background px-2 text-muted-foreground">{t('divider')}</span>
|
||||
</div>
|
||||
<div className="flex items-center gap-4">
|
||||
<span className="h-px flex-1 bg-border" />
|
||||
<span className="text-xs uppercase text-muted-foreground">{t('divider')}</span>
|
||||
<span className="h-px flex-1 bg-border" />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user