Create basic structure
This commit is contained in:
117
src/components/astro/footers/BasicFooter.astro
Normal file
117
src/components/astro/footers/BasicFooter.astro
Normal file
@@ -0,0 +1,117 @@
|
||||
---
|
||||
const { } = Astro.props;
|
||||
---
|
||||
|
||||
<footer>
|
||||
<div class="max-w-6xl mx-auto px-4 sm:px-6">
|
||||
<div class="grid sm:grid-cols-12 gap-8 py-8 md:py-12 border-t border-gray-200">
|
||||
<div class="sm:col-span-12 lg:col-span-3">
|
||||
<div class="mb-2"><a class="inline-block font-bold" aria-label="Tailwind Astro" href="/">AstroWind</a></div>
|
||||
<div class="text-sm text-gray-600"><a
|
||||
class="text-gray-600 hover:text-gray-900 hover:underline transition duration-150 ease-in-out"
|
||||
href="/">Terms</a> · <a
|
||||
class="text-gray-600 hover:text-gray-900 hover:underline transition duration-150 ease-in-out"
|
||||
href="/">Privacy Policy</a></div>
|
||||
</div>
|
||||
<div class="sm:col-span-6 md:col-span-3 lg:col-span-2">
|
||||
<h6 class="text-gray-800 font-medium mb-2">Products</h6>
|
||||
<ul class="text-sm">
|
||||
<li class="mb-2"><a class="text-gray-600 hover:text-gray-900 transition duration-150 ease-in-out" href="/">Web
|
||||
Studio</a></li>
|
||||
<li class="mb-2"><a class="text-gray-600 hover:text-gray-900 transition duration-150 ease-in-out"
|
||||
href="/">DynamicBox Flex</a></li>
|
||||
<li class="mb-2"><a class="text-gray-600 hover:text-gray-900 transition duration-150 ease-in-out"
|
||||
href="/">Programming Forms</a></li>
|
||||
<li class="mb-2"><a class="text-gray-600 hover:text-gray-900 transition duration-150 ease-in-out"
|
||||
href="/">Integrations</a></li>
|
||||
<li class="mb-2"><a class="text-gray-600 hover:text-gray-900 transition duration-150 ease-in-out"
|
||||
href="/">Command-line</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sm:col-span-6 md:col-span-3 lg:col-span-2">
|
||||
<h6 class="text-gray-800 font-medium mb-2">Resources</h6>
|
||||
<ul class="text-sm">
|
||||
<li class="mb-2"><a class="text-gray-600 hover:text-gray-900 transition duration-150 ease-in-out"
|
||||
href="/">Documentation</a></li>
|
||||
<li class="mb-2"><a class="text-gray-600 hover:text-gray-900 transition duration-150 ease-in-out"
|
||||
href="/">Tutorials & Guides</a></li>
|
||||
<li class="mb-2"><a class="text-gray-600 hover:text-gray-900 transition duration-150 ease-in-out"
|
||||
href="/">Blog</a></li>
|
||||
<li class="mb-2"><a class="text-gray-600 hover:text-gray-900 transition duration-150 ease-in-out"
|
||||
href="/">Support Center</a></li>
|
||||
<li class="mb-2"><a class="text-gray-600 hover:text-gray-900 transition duration-150 ease-in-out"
|
||||
href="/">Partners</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sm:col-span-6 md:col-span-3 lg:col-span-2">
|
||||
<h6 class="text-gray-800 font-medium mb-2">Company</h6>
|
||||
<ul class="text-sm">
|
||||
<li class="mb-2"><a class="text-gray-600 hover:text-gray-900 transition duration-150 ease-in-out"
|
||||
href="/">Home</a></li>
|
||||
<li class="mb-2"><a class="text-gray-600 hover:text-gray-900 transition duration-150 ease-in-out"
|
||||
href="/">About us</a></li>
|
||||
<li class="mb-2"><a class="text-gray-600 hover:text-gray-900 transition duration-150 ease-in-out"
|
||||
href="/">Company values</a></li>
|
||||
<li class="mb-2"><a class="text-gray-600 hover:text-gray-900 transition duration-150 ease-in-out"
|
||||
href="/">Pricing</a></li>
|
||||
<li class="mb-2"><a class="text-gray-600 hover:text-gray-900 transition duration-150 ease-in-out"
|
||||
href="/">Privacy Policy</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sm:col-span-6 md:col-span-3 lg:col-span-3">
|
||||
<h6 class="text-gray-800 font-medium mb-2">Subscribe</h6>
|
||||
<p class="text-sm text-gray-600 mb-4">Get the latest news and articles to your inbox every month.</p>
|
||||
<form>
|
||||
<div class="flex flex-wrap mb-4">
|
||||
<div class="w-full">
|
||||
<label class="block text-sm sr-only" for="newsletter">Email</label>
|
||||
<div class="relative flex items-center max-w-xs">
|
||||
<input id="newsletter" type="email"
|
||||
class="form-input w-full text-gray-800 px-3 py-2 pr-12 text-sm border rounded-sm dark:bg-slate-900"
|
||||
placeholder="Your email">
|
||||
<button type="submit" class="absolute inset-0 left-auto" aria-label="Subscribe">
|
||||
<span class="absolute inset-0 right-auto w-px -ml-px my-2 bg-gray-300" aria-hidden="true"></span>
|
||||
<svg class="w-3 h-3 fill-current text-blue-600 mx-3 flex-shrink-0" viewBox="0 0 12 12"
|
||||
xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M11.707 5.293L7 .586 5.586 2l3 3H0v2h8.586l-3 3L7 11.414l4.707-4.707a1 1 0 000-1.414z"
|
||||
fill-rule="nonzero"></path>
|
||||
</svg>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div class="md:flex md:items-center md:justify-between py-4 md:py-8">
|
||||
<ul class="flex mb-4 md:order-1 md:ml-4 md:mb-0">
|
||||
<li><a
|
||||
class="flex justify-center items-center text-gray-600 hover:text-gray-900 bg-white hover:bg-white-100 rounded-full shadow transition duration-150 ease-in-out"
|
||||
aria-label="Twitter" href="/"><svg class="w-8 h-8 fill-current" viewBox="0 0 32 32"
|
||||
xmlns="http://www.w3.org/2000/svg">
|
||||
<path
|
||||
d="M24 11.5c-.6.3-1.2.4-1.9.5.7-.4 1.2-1 1.4-1.8-.6.4-1.3.6-2.1.8-.6-.6-1.5-1-2.4-1-1.7 0-3.2 1.5-3.2 3.3 0 .3 0 .5.1.7-2.7-.1-5.2-1.4-6.8-3.4-.3.5-.4 1-.4 1.7 0 1.1.6 2.1 1.5 2.7-.5 0-1-.2-1.5-.4 0 1.6 1.1 2.9 2.6 3.2-.3.1-.6.1-.9.1-.2 0-.4 0-.6-.1.4 1.3 1.6 2.3 3.1 2.3-1.1.9-2.5 1.4-4.1 1.4H8c1.5.9 3.2 1.5 5 1.5 6 0 9.3-5 9.3-9.3v-.4c.7-.5 1.3-1.1 1.7-1.8z">
|
||||
</path>
|
||||
</svg></a></li>
|
||||
<li class="ml-4"><a
|
||||
class="flex justify-center items-center text-gray-600 hover:text-gray-900 bg-white hover:bg-white-100 rounded-full shadow transition duration-150 ease-in-out"
|
||||
aria-label="Github" href="/"><svg class="w-8 h-8 fill-current" viewBox="0 0 32 32"
|
||||
xmlns="http://www.w3.org/2000/svg">
|
||||
<path
|
||||
d="M16 8.2c-4.4 0-8 3.6-8 8 0 3.5 2.3 6.5 5.5 7.6.4.1.5-.2.5-.4V22c-2.2.5-2.7-1-2.7-1-.4-.9-.9-1.2-.9-1.2-.7-.5.1-.5.1-.5.8.1 1.2.8 1.2.8.7 1.3 1.9.9 2.3.7.1-.5.3-.9.5-1.1-1.8-.2-3.6-.9-3.6-4 0-.9.3-1.6.8-2.1-.1-.2-.4-1 .1-2.1 0 0 .7-.2 2.2.8.6-.2 1.3-.3 2-.3s1.4.1 2 .3c1.5-1 2.2-.8 2.2-.8.4 1.1.2 1.9.1 2.1.5.6.8 1.3.8 2.1 0 3.1-1.9 3.7-3.7 3.9.3.4.6.9.6 1.6v2.2c0 .2.1.5.6.4 3.2-1.1 5.5-4.1 5.5-7.6-.1-4.4-3.7-8-8.1-8z">
|
||||
</path>
|
||||
</svg></a></li>
|
||||
<li class="ml-4"><a
|
||||
class="flex justify-center items-center text-gray-600 hover:text-gray-900 bg-white hover:bg-white-100 rounded-full shadow transition duration-150 ease-in-out"
|
||||
aria-label="Facebook" href="/"><svg class="w-8 h-8 fill-current" viewBox="0 0 32 32"
|
||||
xmlns="http://www.w3.org/2000/svg">
|
||||
<path
|
||||
d="M14.023 24L14 17h-3v-3h3v-2c0-2.7 1.672-4 4.08-4 1.153 0 2.144.086 2.433.124v2.821h-1.67c-1.31 0-1.563.623-1.563 1.536V14H21l-1 3h-2.72v7h-3.257z">
|
||||
</path>
|
||||
</svg></a></li>
|
||||
</ul>
|
||||
<div class="text-sm text-gray-600 mr-4">Made by <a class="text-blue-600 hover:underline"
|
||||
href="https://onwidget.com/">onWidget</a>. All rights reserved.</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
Reference in New Issue
Block a user