export function getLanguageFromURL(pathname: string) { const langCodeMatch = pathname.match(/\/([a-z]{2}-?[A-Z]{0,2})\//); return langCodeMatch ? langCodeMatch[1] : 'en'; } el='shortcut icon' href='/favicon.ico'/>
aboutsummaryrefslogtreecommitdiff
path: root/examples/framework-react/.stackblitzrc (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2022-05-11[create-astro] Finalize developer experience... with gradients 🚀 (#3313)Gravatar Ben Holmes 5-23/+123