forked from smallbets/userbase-homepage
/
template.html
56 lines (53 loc) · 3.14 KB
/
template.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!doctype html>
<html lang="en">
<head>
<title>Noebs</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
</head>
<body>
<header class="sm:sticky top-0 bg-white z-50 shadow-none sm:shadow-md mb-0 sm:mb-8">
<div class="sm:flex sm:justify-between sm:items-center py-2 px-4">
<div class="flex items-center justify-between h-10">
<div class="flex-shrink-0">
<%= page !== 'index' ? require('html-loader!./partials/logo.html') : null %>
</div>
<div class="sm:hidden">
<button onclick="toggleMenu()" type="button" class="block text-blackish hover:text-orange-700 focus:text-orange-700 focus:outline-none">
<svg class="h-6 w-6 fill-current" viewBox="0 0 24 24">
<path class="hidden menu-close" fill-rule="evenodd" d="M18.278 16.864a1 1 0 0 1-1.414 1.414l-4.829-4.828-4.828 4.828a1 1 0 0 1-1.414-1.414l4.828-4.829-4.828-4.828a1 1 0 0 1 1.414-1.414l4.829 4.828 4.828-4.828a1 1 0 1 1 1.414 1.414l-4.828 4.829 4.828 4.828z" />
<path class="menu-open" fill-rule="evenodd" d="M4 5h16a1 1 0 0 1 0 2H4a1 1 0 1 1 0-2zm0 6h16a1 1 0 0 1 0 2H4a1 1 0 0 1 0-2zm0 6h16a1 1 0 0 1 0 2H4a1 1 0 0 1 0-2z" />
</svg>
</button>
</div>
</div>
<nav class="pt-0 pb-8 hidden sm:flex sm:p-0 text-lg text-center menu">
<a href="/pricing/" class="menu-item">Pricing</a>
<a href="/docs/" class="menu-item">Docs</a>
<a href="/contact/" class="menu-item">Contact</a>
<a href="https://blog.noebs.dev" class="menu-item text-red-700 hover:text-blue">Blog</a>
<a href="https://new.cashq.app" class="rounded-lg px-6 py-2 no-underline bg-yellowish font-black cursor-pointer text-gray-900 inline-block leading-none hover:text-orange-700 mt-2 ml-0 sm:ml-2 sm:mt-0">For Merchants!</a>
</nav>
</div>
</header>
<div class="container mx-auto max-w-4xl px-4">
<%= require('html-loader!./pages/' + page + '.html') %>
<footer class="text-center py-4 tracking-tight text-sm">
<div>
<nav class="pt-2 pb-4 text-center menu">
<a href="/about/" class="py-2 leading-none px-2">About</a>
<a href="/policies/" class="py-2 leading-none px-2">Policies</a>
<a href="http://github.com/adonese/noebs" class="py-2 leading-none px-2">GitHub</a>
<a href="https://twitter.com/_adonese" class="py-2 leading-none px-2">Twitter</a>
<a href="https://web.soluspay.net" class="py-2 leading-none px-2">Cashq Web</a>
<a href="https://cash.soluspay.net" class="py-2 leading-none px-2">Download Cashq<%= page !== 'index' ? require('html-loader!./partials/android.html') : require('html-loader!./partials/android.html')%></a>
<a href="https://t.me/cashqbot" class="py-2 leading-none px-2">Cashqbot<%= page !== 'index' ? require('html-loader!./partials/bot.html') : require('html-loader!./partials/bot.html')%></a>
</nav>
</div>
<div class="text-gray-500 text-xs">
This site is <a href="https://github.com/adonese/userbase-homepage" target="_blank">open source</a>
</div>
</footer>
</div>
</body>
</html>