diff options
author | akshay | 2025-05-07 09:17:07 +0530 |
---|---|---|
committer | GitHub | 2025-05-07 09:17:07 +0530 |
commit | 4ab3a2ff9068b64f1d40b390a8053ce3c93adfc9 (patch) | |
tree | 1ea3a1cc404b5542bf57ce376eaec071716c0453 | |
parent | 02c8be5487ca5b1501957afc6b63d0e1464053be (diff) | |
parent | 7c25e69b839922586a12873e818e13778ce9f9c9 (diff) | |
download | gui_hackathon-4ab3a2ff9068b64f1d40b390a8053ce3c93adfc9.tar.gz gui_hackathon-4ab3a2ff9068b64f1d40b390a8053ce3c93adfc9.tar.bz2 gui_hackathon-4ab3a2ff9068b64f1d40b390a8053ce3c93adfc9.zip |
Merge branch 'akshay9085:main' into main
-rw-r--r-- | src/components/layout/Nav.astro | 4 | ||||
-rw-r--r-- | src/components/layout/nav-links.json | 3 | ||||
-rw-r--r-- | src/pages/results.astro | 30 |
3 files changed, 31 insertions, 6 deletions
diff --git a/src/components/layout/Nav.astro b/src/components/layout/Nav.astro index fe542c0..8228b96 100644 --- a/src/components/layout/Nav.astro +++ b/src/components/layout/Nav.astro @@ -42,7 +42,7 @@ function addActiveClass() { <nav class="fixed top-0 left-0 mt-18 z-5 w-full border-gray-200 bg-gray-50 dark:bg-gray-800 dark:border-gray-700 shadow-md"> - <div class="max-w-screen-xl flex flex-wrap items-center justify-between mx-auto p-4"> + <div class="max-w-screen-2xl flex flex-wrap items-center justify-between mx-auto p-4"> <a href="/" class="flex items-center space-x-3 rtl:space-x-reverse"> <!-- <img src="https://flowbite.com/docs/images/logo.svg" class="h-8" alt="gui" /> --> <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="size-6"> @@ -165,4 +165,4 @@ function addActiveClass() { color:#f70000; } </style> -
\ No newline at end of file + diff --git a/src/components/layout/nav-links.json b/src/components/layout/nav-links.json index 3a5fdbe..78d541f 100644 --- a/src/components/layout/nav-links.json +++ b/src/components/layout/nav-links.json @@ -1,6 +1,7 @@ [ { "label": "About", "href": "/#about" }, + {"label": "Results", "href": "/results"}, {"label": "Problem-Statement", "href": "/problem-statement"}, {"label": "Submission Guidelines", "href": "/problem-statement/#submission-guidelines"}, {"label": "Register", "href": "/#register"}, @@ -9,4 +10,4 @@ { "label": "Resources", "href": "/resources" }, { "label": "Contact", "href": "/#contact" } - ]
\ No newline at end of file + ] diff --git a/src/pages/results.astro b/src/pages/results.astro index d74ee08..1f5a241 100644 --- a/src/pages/results.astro +++ b/src/pages/results.astro @@ -5,11 +5,12 @@ import Card from '../components/Card.astro'; --- <Layout title="GUI Hackathon"> -<div class="text-[#4d0081] border-b-4 border-sky-100 background-url mt-10" id ="result"> +<div class="text-[#4d0081] background-url mt-10" id ="result"> <h1 class="text-4xl font-bold item-center text-center section-title">Results</h1> </div> -<table> -<thead> +<div class="relative overflow-x-auto"> +<table class="text-xl mt-5 mb-10"> +<thead class="uppercase"> <tr> <th>Sr. No.</th> <th>Name</th> @@ -39,4 +40,27 @@ import Card from '../components/Card.astro'; </tr> </tbody> </table> + +<style> + table { + width: 80%; + border-collapse: collapse; + margin: 20px auto; + box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); + } + th { + background-color: #0a4850; + color: #ffe600; + padding: 12px; + text-align: left; + } + td { + padding: 12px; + border: 1px solid #0a4850; + } + td:first-child { + text-align: center; + } +</style> + </Layout> |