Files
datahub/__tests__/pages/__snapshots__/index.test.tsx.snap
2020-06-12 18:55:06 +06:00

118 lines
3.0 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`📸 of Home page 1`] = `
Array [
<nav
className="flex items-center justify-between flex-wrap bg-white p-6"
>
<div
className="flex items-center flex-shrink-0 text-gray-700 mr-6"
>
<span
className="font-semibold text-xl tracking-tight"
>
Portal
</span>
</div>
<div
className="block lg:hidden"
>
<button
className="flex items-center px-3 py-2 border rounded text-gray-700 border-teal-400 hover:text-black hover:border-black"
>
<svg
className="fill-current h-3 w-3"
viewBox="0 0 20 20"
xmlns="http://www.w3.org/2000/svg"
>
<title>
Menu
</title>
<path
d="M0 3h20v2H0V3zm0 6h20v2H0V9zm0 6h20v2H0v-2z"
/>
</svg>
</button>
</div>
<div
className="w-full block flex-grow lg:flex lg:items-center lg:w-auto"
>
<div
className="text-sm lg:flex-grow"
>
<a
className="block mt-4 lg:inline-block lg:mt-0 text-gray-700 hover:text-black mr-4"
href="/search"
onClick={[Function]}
onMouseEnter={[Function]}
>
Search
</a>
<a
className="block mt-4 lg:inline-block lg:mt-0 text-gray-700 hover:text-black mr-4"
href="http://tech.datopian.com/frontend/"
onClick={[Function]}
onMouseEnter={[Function]}
target="_blank"
>
Docs
</a>
</div>
<div>
<a
className="inline-block text-sm px-4 py-2 leading-none border rounded text-black border-black hover:border-gray-700 hover:text-gray-700 hover:bg-white mt-4 lg:mt-0"
href="https://github.com/datopian/portal"
onClick={[Function]}
onMouseEnter={[Function]}
>
Code
</a>
</div>
</div>
</nav>,
<section
className="flex mt-10 ml-40 justify-center"
>
<div>
<img
src="/banner.png"
width="500"
/>
</div>
<div
className="mx-32"
>
<h1
className="text-4xl font-thin"
>
Find, Share and Publish
<br />
Quality Data with
<span
className="text-orange-500"
>
Datahub
</span>
</h1>
<p
className="text-md font-light w-4/5"
>
At Datahub, we have over thousands of datasets for free and a Premium Data Service for additional or customised data with guaranteed updates.
</p>
<form
onSubmit={[Function]}
>
<input
aria-label="Search"
className="bg-white focus:outline-none focus:shadow-outline border border-gray-300 rounded-lg py-2 px-4 block w-full appearance-none leading-normal"
name="q"
onChange={[Function]}
placeholder="Search"
type="text"
/>
</form>
</div>
</section>,
]
`;