This repository has been archived by the owner on Apr 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c9ce0ed
commit e1f9046
Showing
6 changed files
with
79 additions
and
66 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
export * from './app'; | ||
export * from './colors'; | ||
export * from './document-links'; | ||
export * from './external-links'; | ||
export * from './document'; | ||
export * from './features'; | ||
export * from './meta'; | ||
export * from './navigation-menu'; | ||
export * from './navigation-links'; | ||
export * from './navigation'; | ||
export * from './themes'; | ||
export * from './urls'; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
/** | ||
* Config Navigation Links | ||
* | ||
* Used in the Navigation Bar with 2 modes: | ||
* - Large screen mode (desktop, TV) | ||
* - Small screen mode (mobile, tablet) | ||
*/ | ||
|
||
export const configNavigationLinks = [ | ||
{ to: '/', text: 'Home' }, | ||
{ to: '/about', text: 'About' }, | ||
{ to: '/subscribe', text: 'Subscribe' }, | ||
{ to: '/debug', text: 'Debug' }, | ||
{ to: '/examples', text: 'Examples' }, | ||
{ to: '/examples/button', text: 'Example Button' }, | ||
{ to: '/examples/rest', text: 'Example REST' }, | ||
{ to: '/examples/graphql', text: 'Example GraphQL' }, | ||
// In large screen, the auth links are as buttons | ||
]; | ||
|
||
export const configNavigationLinksMenu = [ | ||
{ | ||
name: 'Pages', | ||
links: [...configNavigationLinks], | ||
}, | ||
{ | ||
// In small screen, the auth links are inside the menu modal | ||
name: 'Account', | ||
links: [ | ||
{ to: '/signup', text: 'Sign up' }, | ||
{ to: '/signin', text: 'Sign in' }, | ||
{ to: '/signout', text: 'Sign out' }, | ||
], | ||
}, | ||
]; | ||
|
||
/** | ||
* Config Navigation Menu Content Links | ||
* | ||
* Used in the Navigation Menu with Radix UI | ||
*/ | ||
|
||
export const configNavigationContentPages = [ | ||
{ to: '/about', text: 'About' }, | ||
{ to: '/blog', text: 'Blog' }, | ||
{ to: '/subscribe', text: 'Subscribe' }, | ||
]; | ||
|
||
export const configNavigationContentExamples1 = [ | ||
{ to: '/examples/button', text: 'Button' }, | ||
{ to: '/examples/form', text: 'Form' }, | ||
{ to: '/examples/navigation-menu', text: 'Navigation Menu' }, | ||
]; | ||
|
||
export const configNavigationContentExamples2 = [ | ||
{ to: '/examples/rest', text: 'REST API' }, | ||
{ to: '/examples/graphql', text: 'GraphQL' }, | ||
{ to: '/examples/debug', text: 'Debug' }, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters