File tree Expand file tree Collapse file tree 2 files changed +30
-1
lines changed
Expand file tree Collapse file tree 2 files changed +30
-1
lines changed Original file line number Diff line number Diff line change @@ -213,6 +213,35 @@ const content = () => {
213213 </ div >
214214 </ section >
215215 </ article >
216+
217+ { /* Mobile iframe at bottom */ }
218+ < div className = "block md:hidden w-full" >
219+ { mounted && (
220+ < iframe
221+ key = { theme }
222+ src = {
223+ theme === "dark"
224+ ? "https://hw.glich.co/resources/embed/daily/dsa?theme=dark"
225+ : "https://hw.glich.co/resources/embed/daily/dsa?theme=light"
226+ }
227+ width = "100%"
228+ height = "320"
229+ title = "Daily DSA Challenge"
230+ > </ iframe >
231+ ) }
232+ < div className = "flex justify-center pb-8" >
233+ < span className = "text-xs" >
234+ Powered by{ " " }
235+ < a
236+ href = "https://hw.glich.co/resources/daily"
237+ target = "_blank"
238+ className = "underline hover:text-blue-500 duration-300"
239+ >
240+ Hello World
241+ </ a >
242+ </ span >
243+ </ div >
244+ </ div >
216245 </ main >
217246 ) ;
218247} ;
Original file line number Diff line number Diff line change @@ -215,7 +215,7 @@ const content = () => {
215215 : "https://hw.glich.co/resources/embed/daily/dsa?theme=light"
216216 }
217217 width = "100%"
218- height = "300 "
218+ height = "320 "
219219 title = "Daily DSA Challenge"
220220 > </ iframe >
221221 ) }
You can’t perform that action at this time.
0 commit comments