diff --git a/src/app/globals.css b/src/app/globals.css index f9c8b0b..2e21d5b 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -18,6 +18,11 @@ body { color: var(--foreground); background: var(--background); font-family: Arial, Helvetica, sans-serif; + margin: 0; + padding: 0; + min-height: 100vh; + display: flex; + flex-direction: column; } @layer utilities { @@ -27,12 +32,11 @@ body { } .no-scrollbar::-webkit-scrollbar { - display: none; + display: none; } - .no-scrollbar { - -ms-overflow-style: none; - scrollbar-width: none; + -ms-overflow-style: none; + scrollbar-width: none; } .loading-screen { @@ -45,10 +49,12 @@ body { z-index: 100; } +/* Add spin animation to loading logo */ .loading-logo { animation: spin 2s linear infinite; } +/* Keyframe animations */ @keyframes spin { from { transform: rotate(0deg); @@ -57,9 +63,11 @@ body { transform: rotate(360deg); } } + .spin-animation { animation: spin 2s linear infinite; } + @keyframes dots { 0% { content: ""; @@ -74,8 +82,41 @@ body { content: "..."; } } + .animate-dots::after { content: "..."; display: inline-block; animation: dots 1.5s steps(3, end) infinite; } + +.container { + @apply mx-auto px-4; +} + +@media (min-width: 640px) { + .container { + max-width: 640px; + } +} +@media (min-width: 768px) { + .container { + max-width: 768px; + } +} +@media (min-width: 1024px) { + .container { + max-width: 1024px; + } +} +@media (min-width: 1280px) { + .container { + max-width: 1280px; + } +} + +h1 { + @apply text-2xl font-bold md:text-4xl; +} +p { + @apply text-base md:text-lg; +} diff --git a/src/components/Links.jsx b/src/components/Links.jsx index 1ef98cd..2e6a6bf 100644 --- a/src/components/Links.jsx +++ b/src/components/Links.jsx @@ -10,7 +10,7 @@ const hyperlinks = [ name: "Hacktoberfest'24 Repos", href: "https://github.com/GDG-OnCampus-BU/HacktoberFest/", icon: ( -

+

H

), @@ -40,7 +40,7 @@ const hyperlinks = [ name: "Community.dev", href: "https://gdg.community.dev/gdg-on-campus-bennett-university-greater-noida-india/", icon: ( -

+

<>

), @@ -50,11 +50,13 @@ const hyperlinks = [ const Links = () => { return ( -
+
{/* Heading for Links Section */} -

Useful Links

+

+ Useful Links +

-
+
{hyperlinks.map((link, index) => ( { const Link = ({ name, href, icon, bgcolor }) => { return ( - +
{icon}

{name}