new stuff

This commit is contained in:
SanjayramVempati 2023-03-26 23:00:07 -04:00
parent b4e0a0a327
commit dc45c67eae
3 changed files with 35 additions and 30 deletions

View File

@ -7,13 +7,33 @@ import logo from '../images/logo.png';
<div class="mx-auto w-full container p-4 sm:p-6">
<div class="md:flex md:justify-between">
<div class="mb-6 md:mb-0">
<a href="https://flowbite.com/" class="flex items-center">
<img src={logo} class="h-12 mr-3" alt="FlowBite Logo" />
<a href="/" class="flex items-center">
<img src={logo} class="h-12 mr-3 mb-2" alt="FlowBite Logo" />
</a>
<div class="flex mt-2 space-x-4 sm:mt-0 ml-2 mb-2 ">
<a href="#" class="text-gray-500 hover:text-gray-900 dark:hover:text-white ">
<svg class="w-5 h-5" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true"><path fill-rule="evenodd" d="M22 12c0-5.523-4.477-10-10-10S2 6.477 2 12c0 4.991 3.657 9.128 8.438 9.878v-6.987h-2.54V12h2.54V9.797c0-2.506 1.492-3.89 3.777-3.89 1.094 0 2.238.195 2.238.195v2.46h-1.26c-1.243 0-1.63.771-1.63 1.562V12h2.773l-.443 2.89h-2.33v6.988C18.343 21.128 22 16.991 22 12z" clip-rule="evenodd" /></svg>
<span class="sr-only">Facebook page</span>
</a>
<a href="#" class="text-gray-500 hover:text-gray-900 dark:hover:text-white">
<svg class="w-5 h-5" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true"><path fill-rule="evenodd" d="M12 2C6.477 2 2 6.484 2 12.017c0 4.425 2.865 8.18 6.839 9.504.5.092.682-.217.682-.483 0-.237-.008-.868-.013-1.703-2.782.605-3.369-1.343-3.369-1.343-.454-1.158-1.11-1.466-1.11-1.466-.908-.62.069-.608.069-.608 1.003.07 1.531 1.032 1.531 1.032.892 1.53 2.341 1.088 2.91.832.092-.647.35-1.088.636-1.338-2.22-.253-4.555-1.113-4.555-4.951 0-1.093.39-1.988 1.029-2.688-.103-.253-.446-1.272.098-2.65 0 0 .84-.27 2.75 1.026A9.564 9.564 0 0112 6.844c.85.004 1.705.115 2.504.337 1.909-1.296 2.747-1.027 2.747-1.027.546 1.379.202 2.398.1 2.651.64.7 1.028 1.595 1.028 2.688 0 3.848-2.339 4.695-4.566 4.943.359.309.678.92.678 1.855 0 1.338-.012 2.419-.012 2.747 0 .268.18.58.688.482A10.019 10.019 0 0022 12.017C22 6.484 17.522 2 12 2z" clip-rule="evenodd" /></svg>
<span class="sr-only">GitHub account</span>
</a>
</div>
<div class="sm:flex sm:items-center sm:justify-between ml-2">
<span class="text-sm text-gray-500 sm:text-center dark:text-gray-400">© 2023 <a href="/" class="hover:underline">Potentia Robotics™</a>. All Rights Reserved.
</span>
</div>
</div>
<div class="grid grid-cols-3 gap-16 mx-auto max-sm:gap-6 ">
<div>
<h2 class="mb-6 text-sm font-semibold text-gray-900 uppercase dark:text-white">Header</h2>
<ul class="text-gray-600 dark:text-gray-400">
<li class="mb-4">
<a href="/" class="hover:underline">Link</a>
@ -24,7 +44,6 @@ import logo from '../images/logo.png';
</ul>
</div>
<div>
<h2 class="mb-6 text-sm font-semibold text-gray-900 uppercase dark:text-white">Header</h2>
<ul class="text-gray-600 dark:text-gray-400">
<li class="mb-4">
<a href="/" class="hover:underline ">Link</a>
@ -35,7 +54,6 @@ import logo from '../images/logo.png';
</ul>
</div>
<div>
<h2 class="mb-6 text-sm font-semibold text-gray-900 uppercase dark:text-white">Header</h2>
<ul class="text-gray-600 dark:text-gray-400">
<li class="mb-4">
<a href="/" class="hover:underline">Link</a>
@ -47,24 +65,7 @@ import logo from '../images/logo.png';
</div>
</div>
</div>
<hr class="my-6 border-gray-200 sm:mx-auto dark:border-gray-700 lg:my-8" />
<div class="sm:flex sm:items-center sm:justify-between">
<span class="text-sm text-gray-500 sm:text-center dark:text-gray-400">© 2023 <a href="/" class="hover:underline">Potentia Robotics™</a>. All Rights Reserved.
</span>
<div class="flex mt-4 space-x-6 sm:justify-center sm:mt-0">
<a href="#" class="text-gray-500 hover:text-gray-900 dark:hover:text-white">
<svg class="w-5 h-5" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true"><path fill-rule="evenodd" d="M22 12c0-5.523-4.477-10-10-10S2 6.477 2 12c0 4.991 3.657 9.128 8.438 9.878v-6.987h-2.54V12h2.54V9.797c0-2.506 1.492-3.89 3.777-3.89 1.094 0 2.238.195 2.238.195v2.46h-1.26c-1.243 0-1.63.771-1.63 1.562V12h2.773l-.443 2.89h-2.33v6.988C18.343 21.128 22 16.991 22 12z" clip-rule="evenodd" /></svg>
<span class="sr-only">Facebook page</span>
</a>
<a href="#" class="text-gray-500 hover:text-gray-900 dark:hover:text-white">
<svg class="w-5 h-5" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true"><path fill-rule="evenodd" d="M12 2C6.477 2 2 6.484 2 12.017c0 4.425 2.865 8.18 6.839 9.504.5.092.682-.217.682-.483 0-.237-.008-.868-.013-1.703-2.782.605-3.369-1.343-3.369-1.343-.454-1.158-1.11-1.466-1.11-1.466-.908-.62.069-.608.069-.608 1.003.07 1.531 1.032 1.531 1.032.892 1.53 2.341 1.088 2.91.832.092-.647.35-1.088.636-1.338-2.22-.253-4.555-1.113-4.555-4.951 0-1.093.39-1.988 1.029-2.688-.103-.253-.446-1.272.098-2.65 0 0 .84-.27 2.75 1.026A9.564 9.564 0 0112 6.844c.85.004 1.705.115 2.504.337 1.909-1.296 2.747-1.027 2.747-1.027.546 1.379.202 2.398.1 2.651.64.7 1.028 1.595 1.028 2.688 0 3.848-2.339 4.695-4.566 4.943.359.309.678.92.678 1.855 0 1.338-.012 2.419-.012 2.747 0 .268.18.58.688.482A10.019 10.019 0 0022 12.017C22 6.484 17.522 2 12 2z" clip-rule="evenodd" /></svg>
<span class="sr-only">GitHub account</span>
</a>
</div>
</div>
</div>
</footer>

View File

@ -6,21 +6,26 @@ import NavLink from "./NavLink.astro";
---
<header class="h-auto bg-slate-800 ">
<div class=" flex flex-row justify-between">
<div class=" flex flex-row justify-between ">
<!-- Logo -->
<a href="/">
<img src={logo} alt="Logo" class="my-2 mx-6 h-12 " />
<img src={logo} alt="Logo" class="my-2 h-10 ml-2" />
</a>
<!-- Desktop Pages -->
<div class="flex flex-row justify-start visible max-sm:hidden my-auto mr-20 space-x-24 max-lg:space-x-10 max-md:space-x-4 ">
<div class="flex flex-row visible max-sm:hidden my-auto mr-20 text-sm space-x-6 max-lg:space-x-10 max-md:space-x-4 ">
<NavLink href="#" text="Page 1" class="nav" />
<NavLink href="#" text="Page 2" class="nav" />
<NavLink href="#" text="Home" class="nav"/>
<NavLink href="#" text="Home" class="nav"/>
<NavLink href="#" text="Home" class="nav"/>
<a href="/">
<button class="outline outline-purple-400 px-2 rounded-md
shadow-lg
text-white font-mono font-bold text-xl hover:bg-slate-100
hover:text-purple-400 hover:shadow-purple-600 transition-all duration-300">Login</button>
</a>
</div>
@ -35,7 +40,6 @@ import NavLink from "./NavLink.astro";
</svg>
</button>
<div class="max-sm:hidden"></div>
</div>

View File

@ -3,6 +3,6 @@ const {href, text} = Astro.props;
---
<a href={href} class=" text-2xl font-serif object-cover text-slate-300 hover:underline ">
<a href={href} class=" text-xl font-mono object-cover text-slate-300 hover:underline ">
{text}
</a>