mirror of
https://github.com/kemko/nomad.git
synced 2026-01-15 06:45:41 +03:00
* feat: connect homepage and use case pages * fix: internalLink usage * fix: query name * chore: add homepage patterns * chore: remove offerings * chore: add intro features * chore: bump subnav * chore: updating patterns * chore: add use case to the subnav * chore: cleanup unused import * chore: remove subnav border
11 lines
265 B
TypeScript
11 lines
265 B
TypeScript
export const isInternalLink = (link: string): boolean => {
|
|
if (
|
|
link.startsWith('/') ||
|
|
link.startsWith('#') ||
|
|
link.startsWith('https://nomadproject.io') ||
|
|
link.startsWith('https://www.nomadproject.io')
|
|
) {
|
|
return true
|
|
}
|
|
return false
|
|
} |