feat: new portal web for qr scan

This commit is contained in:
Leifer Mendez
2023-01-09 18:37:58 +01:00
parent 4e0d33c6bb
commit 3de5f4b77a
39 changed files with 2054 additions and 303 deletions

View File

@@ -0,0 +1,32 @@
import { component$ } from '@builder.io/qwik'
import { useDocumentHead, useLocation } from '@builder.io/qwik-city'
export const RouterHead = component$(() => {
const head = useDocumentHead()
const loc = useLocation()
return (
<>
<title>{head.title}</title>
<link rel="canonical" href={loc.href} />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0"
/>
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
{head.meta.map((m) => (
<meta {...m} />
))}
{head.links.map((l) => (
<link {...l} />
))}
{head.styles.map((s) => (
<style {...s.props} dangerouslySetInnerHTML={s.style} />
))}
</>
)
})