Hide download on medium and above viewport

This commit is contained in:
Gopal Kaul 2023-03-19 22:51:04 +05:30
parent 0b8da1fa02
commit 8d4bd195d5

View File

@ -15,6 +15,10 @@ const links = [
text: "FAQs", text: "FAQs",
href: "#faqs", href: "#faqs",
}, },
{
text: "Download",
href: "#download",
},
// { // {
// text: 'About us', // text: 'About us',
// href: '#about', // href: '#about',
@ -72,7 +76,9 @@ const links = [
</> </>
) : ( ) : (
<a <a
class="font-medium hover:text-gray-900 dark:hover:text-white px-4 py-3 flex items-center transition duration-150 ease-in-out" class={`font-medium hover:text-gray-900 dark:hover:text-white px-4 py-3 flex items-center transition duration-150 ease-in-out ${
text === "Download" && "md:hidden"
}`}
href={href} href={href}
> >
{text} {text}