11"use client" ;
22import { Inter } from "next/font/google" ;
33import Link from "next/link" ;
4- import { motion } from "framer-motion" ;
54
65const inter = Inter ( { subsets : [ "latin" ] } ) ;
76
7+ {
8+ /*Icons from https://heroicons.com/*/
9+ }
10+
811export default function Home ( ) {
912 return (
1013 < main
@@ -52,29 +55,20 @@ export default function Home() {
5255 < section className = "" >
5356 < div className = "container md:px-6 mx-auto" >
5457 < div className = "grid grid-cols-1 gap-8 mt-8 xl:mt-12 xl:gap-12 md:grid-cols-2 xl:grid-cols-3" >
55- < motion . div
56- whileHover = { { y : - 10 } }
57- className = "p-8 space-y-3 border-2 border-blue-400 dark:border-blue-300 rounded-xl bg-white dark:bg-zinc-900"
58- >
58+ < div className = "p-8 space-y-3 border-2 border-blue-400 dark:border-blue-300 rounded-xl bg-white dark:bg-zinc-900" >
5959 < span className = "inline-block text-blue-500 dark:text-blue-400" >
6060 < svg
6161 xmlns = "http://www.w3.org/2000/svg"
62- className = "w-8 h-8"
6362 fill = "none"
6463 viewBox = "0 0 24 24"
64+ strokeWidth = "1.5"
6565 stroke = "currentColor"
66+ className = "size-10"
6667 >
6768 < path
6869 strokeLinecap = "round"
6970 strokeLinejoin = "round"
70- strokeWidth = "2"
71- d = "M17.657 18.657A8 8 0 016.343 7.343S7 9 9 10c0-2 .5-5 2.986-7C14 5 16.09 5.777 17.656 7.343A7.975 7.975 0 0120 13a7.975 7.975 0 01-2.343 5.657z"
72- />
73- < path
74- strokeLinecap = "round"
75- strokeLinejoin = "round"
76- strokeWidth = "2"
77- d = "M9.879 16.121A3 3 0 1012.015 11L11 14H9c0 .768.293 1.536.879 2.121z"
71+ d = "m3.75 13.5 10.5-11.25L12 10.5h8.25L9.75 21.75 12 13.5H3.75Z"
7872 />
7973 </ svg >
8074 </ span >
@@ -89,7 +83,7 @@ export default function Home() {
8983
9084 < a
9185 href = "https://stfc365.sharepoint.com/sites/isis-hub/SitePages/Instrument-Quick-Links.aspx"
92- className = "inline-flex p-2 text-blue-500 capitalize transition-colors duration-200 transform bg-blue-100 rounded-full dark:bg-blue-500 dark:text-white hover:underline hover:text -blue-600 dark:hover:text -blue-500 "
86+ className = "inline-flex p-2 text-blue-500 capitalize transition-colors duration-200 transform bg-blue-100 rounded-full dark:bg-blue-500 dark:text-white hover:underline hover:bg -blue-400 dark:hover:bg -blue-400 "
9387 target = "_blank"
9488 >
9589 < svg
@@ -107,25 +101,22 @@ export default function Home() {
107101 />
108102 </ svg >
109103 </ a >
110- </ motion . div >
104+ </ div >
111105
112- < motion . div
113- whileHover = { { y : - 10 } }
114- className = "p-8 space-y-3 border-2 border-blue-400 dark:border-blue-300 rounded-xl bg-white dark:bg-zinc-900"
115- >
106+ < div className = "p-8 space-y-3 border-2 border-blue-400 dark:border-blue-300 rounded-xl bg-white dark:bg-zinc-900" >
116107 < span className = "inline-block text-blue-500 dark:text-blue-400" >
117108 < svg
118109 xmlns = "http://www.w3.org/2000/svg"
119- className = "w-8 h-8"
120110 fill = "none"
121111 viewBox = "0 0 24 24"
112+ strokeWidth = "1.5"
122113 stroke = "currentColor"
114+ className = "size-10"
123115 >
124116 < path
125117 strokeLinecap = "round"
126118 strokeLinejoin = "round"
127- strokeWidth = "2"
128- d = "M11 4a2 2 0 114 0v1a1 1 0 001 1h3a1 1 0 011 1v3a1 1 0 01-1 1h-1a2 2 0 100 4h1a1 1 0 011 1v3a1 1 0 01-1 1h-3a1 1 0 01-1-1v-1a2 2 0 10-4 0v1a1 1 0 01-1 1H7a1 1 0 01-1-1v-3a1 1 0 00-1-1H4a2 2 0 110-4h1a1 1 0 001-1V7a1 1 0 011-1h3a1 1 0 001-1V4z"
119+ d = "M12 6.042A8.967 8.967 0 0 0 6 3.75c-1.052 0-2.062.18-3 .512v14.25A8.987 8.987 0 0 1 6 18c2.305 0 4.408.867 6 2.292m0-14.25a8.966 8.966 0 0 1 6-2.292c1.052 0 2.062.18 3 .512v14.25A8.987 8.987 0 0 0 18 18a8.967 8.967 0 0 0-6 2.292m0-14.25v14.25"
129120 />
130121 </ svg >
131122 </ span >
@@ -140,7 +131,7 @@ export default function Home() {
140131
141132 < a
142133 href = "https://shadow.nd.rl.ac.uk/journals/"
143- className = "inline-flex p-2 text-blue-500 capitalize transition-colors duration-200 transform bg-blue-100 rounded-full dark:bg-blue-500 dark:text-white hover:underline hover:text -blue-600 dark:hover:text -blue-500 "
134+ className = "inline-flex p-2 text-blue-500 capitalize transition-colors duration-200 transform bg-blue-100 rounded-full dark:bg-blue-500 dark:text-white hover:underline hover:bg -blue-400 dark:hover:bg -blue-400 "
144135 target = "_blank"
145136 >
146137 < svg
@@ -158,25 +149,22 @@ export default function Home() {
158149 />
159150 </ svg >
160151 </ a >
161- </ motion . div >
152+ </ div >
162153
163- < motion . div
164- whileHover = { { y : - 10 } }
165- className = "p-8 space-y-3 border-2 border-blue-400 dark:border-blue-300 rounded-xl bg-white dark:bg-zinc-900"
166- >
154+ < div className = "p-8 space-y-3 border-2 border-blue-400 dark:border-blue-300 rounded-xl bg-white dark:bg-zinc-900" >
167155 < span className = "inline-block text-blue-500 dark:text-blue-400" >
168156 < svg
169157 xmlns = "http://www.w3.org/2000/svg"
170- className = "w-8 h-8"
171158 fill = "none"
172159 viewBox = "0 0 24 24"
160+ strokeWidth = "1.5"
173161 stroke = "currentColor"
162+ className = "size-10"
174163 >
175164 < path
176165 strokeLinecap = "round"
177166 strokeLinejoin = "round"
178- strokeWidth = "2"
179- d = "M5 3v4M3 5h4M6 17v4m-2-2h4m5-16l2.286 6.857L21 12l-5.714 2.143L13 21l-2.286-6.857L5 12l5.714-2.143L13 3z"
167+ d = "M12 7.5h1.5m-1.5 3h1.5m-7.5 3h7.5m-7.5 3h7.5m3-9h3.375c.621 0 1.125.504 1.125 1.125V18a2.25 2.25 0 0 1-2.25 2.25M16.5 7.5V18a2.25 2.25 0 0 0 2.25 2.25M16.5 7.5V4.875c0-.621-.504-1.125-1.125-1.125H4.125C3.504 3.75 3 4.254 3 4.875V18a2.25 2.25 0 0 0 2.25 2.25h13.5M6 7.5h3v3H6v-3Z"
180168 />
181169 </ svg >
182170 </ span >
@@ -191,7 +179,7 @@ export default function Home() {
191179
192180 < a
193181 href = "https://www.isis.stfc.ac.uk/Pages/Beam-Status.aspx"
194- className = "inline-flex p-2 text-blue-500 capitalize transition-colors duration-200 transform bg-blue-100 rounded-full dark:bg-blue-500 dark:text-white hover:underline hover:text -blue-600 dark:hover:text -blue-500 "
182+ className = "inline-flex p-2 text-blue-500 capitalize transition-colors duration-200 transform bg-blue-100 rounded-full dark:bg-blue-500 dark:text-white hover:underline hover:bg -blue-400 dark:hover:bg -blue-400 "
195183 target = "_blank"
196184 >
197185 < svg
@@ -209,7 +197,7 @@ export default function Home() {
209197 />
210198 </ svg >
211199 </ a >
212- </ motion . div >
200+ </ div >
213201 </ div >
214202 </ div >
215203 </ section >
0 commit comments