1
0
Fork 0
docsearch/examples/js/index.html
2020-09-01 18:31:35 +02:00

36 lines
804 B
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<html>
<head>
<meta charset="UTF-8" />
<link
rel="stylesheet"
href="https://unpkg.com/tailwindcss@1/dist/tailwind.min.css"
/>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@docsearch/css@alpha"
/>
<title>DocSearch v3 Sandbox</title>
</head>
<body>
<header
class="flex items-center justify-between px-4 py-3 bg-gray-100 shadow-lg"
>
<div class="uppercase">Website</div>
<div>
<div id="docsearch"></div>
</div>
</header>
<script src="https://cdn.jsdelivr.net/npm/@docsearch/js@alpha"></script>
<script>
docsearch({
container: '#docsearch',
indexName: 'docsearch',
apiKey: '25626fae796133dc1e734c6bcaaeac3c',
});
</script>
</body>
</html>