11import Image from 'next/image' ;
2- import { BsLinkedin } from 'react-icons/bs' ;
3- import { FaFacebook , FaInstagram , FaLinkedinIn } from 'react-icons/fa' ;
2+ import { BsCalendar3 , BsClockFill } from 'react-icons/bs' ;
3+ import {
4+ FaFacebook ,
5+ FaGraduationCap ,
6+ FaInstagram ,
7+ FaLinkedinIn ,
8+ } from 'react-icons/fa' ;
49import { FaXTwitter } from 'react-icons/fa6' ;
5- import { MdEmail , MdPhone } from 'react-icons/md' ;
10+ import { MdDateRange } from 'react-icons/md' ;
611
712import Notifications from '~/app/notifications' ;
813import { Button } from '~/components/buttons' ;
@@ -16,6 +21,7 @@ import {
1621import Heading from '~/components/heading' ;
1722import MessageCard from '~/components/message-card' ;
1823import { getTranslations } from '~/i18n/translations' ;
24+ import { cn } from '~/lib/utils' ;
1925import { type events , type notifications } from '~/server/db' ;
2026
2127import Events from './events' ;
@@ -146,6 +152,51 @@ export default async function Home({
146152 } }
147153 />
148154 </ section >
155+
156+ < section className = "container mb-8" >
157+ < div className = "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4" >
158+ { [
159+ {
160+ label : text . quickLinks . results ,
161+ href : 'https://nitkkr.ac.in/result-notification/' ,
162+ icon : FaGraduationCap ,
163+ } ,
164+ {
165+ label : text . quickLinks . academicCalendar ,
166+ href : 'https://nitkkr.ac.in/academic-calender/' ,
167+ icon : BsCalendar3 ,
168+ } ,
169+ {
170+ label : text . quickLinks . examDateSheet ,
171+ href : 'https://nitkkr.ac.in/exam-date-sheet/' ,
172+ icon : MdDateRange ,
173+ } ,
174+ {
175+ label : text . quickLinks . timeTable ,
176+ href : 'https://nitkkr.ac.in/institute-time-table/' ,
177+ icon : BsClockFill ,
178+ } ,
179+ ] . map ( ( { label, href, icon : Icon } , index ) => (
180+ < Button
181+ key = { index }
182+ asChild
183+ className = { cn (
184+ 'flex flex-col' ,
185+ 'gap-2 md:gap-3 lg:gap-4' ,
186+ 'h-40 md:h-48'
187+ ) }
188+ variant = "secondary"
189+ >
190+ < a href = { href } target = "_blank" rel = "noopener noreferrer" >
191+ < Icon className = "size-12" />
192+ < p className = "font-serif font-semibold sm:text-lg md:text-xl" >
193+ { label }
194+ </ p >
195+ </ a >
196+ </ Button >
197+ ) ) }
198+ </ div >
199+ </ section >
149200 </ >
150201 ) ;
151202}
0 commit comments