File tree Expand file tree Collapse file tree 2 files changed +58
-0
lines changed
Expand file tree Collapse file tree 2 files changed +58
-0
lines changed Original file line number Diff line number Diff line change @@ -239,6 +239,35 @@ const content = () => {
239239 </ div >
240240 </ section >
241241 </ article >
242+
243+ { /* Mobile iframe at bottom */ }
244+ < div className = "block md:hidden w-full" >
245+ { mounted && (
246+ < iframe
247+ key = { theme }
248+ src = {
249+ theme === "dark"
250+ ? "https://hw.glich.co/resources/embed/daily/dsa?theme=dark"
251+ : "https://hw.glich.co/resources/embed/daily/dsa?theme=light"
252+ }
253+ width = "100%"
254+ height = "320"
255+ title = "Daily DSA Challenge"
256+ > </ iframe >
257+ ) }
258+ < div className = "flex justify-center pb-8" >
259+ < span className = "text-xs" >
260+ Daily DSA Challenge by{ " " }
261+ < a
262+ href = "https://hw.glich.co/resources/daily"
263+ target = "_blank"
264+ className = "underline hover:text-blue-500 duration-300"
265+ >
266+ Hello World
267+ </ a >
268+ </ span >
269+ </ div >
270+ </ div >
242271 </ main >
243272 ) ;
244273} ;
Original file line number Diff line number Diff line change @@ -203,6 +203,35 @@ const content = () => {
203203 </ div >
204204 </ section >
205205 </ article >
206+
207+ { /* Mobile iframe at bottom */ }
208+ < div className = "block md:hidden w-full" >
209+ { mounted && (
210+ < iframe
211+ key = { theme }
212+ src = {
213+ theme === "dark"
214+ ? "https://hw.glich.co/resources/embed/daily/dsa?theme=dark"
215+ : "https://hw.glich.co/resources/embed/daily/dsa?theme=light"
216+ }
217+ width = "100%"
218+ height = "320"
219+ title = "Daily DSA Challenge"
220+ > </ iframe >
221+ ) }
222+ < div className = "flex justify-center pb-8" >
223+ < span className = "text-xs" >
224+ Daily DSA Challenge by{ " " }
225+ < a
226+ href = "https://hw.glich.co/resources/daily"
227+ target = "_blank"
228+ className = "underline hover:text-blue-500 duration-300"
229+ >
230+ Hello World
231+ </ a >
232+ </ span >
233+ </ div >
234+ </ div >
206235 </ main >
207236 ) ;
208237 } ;
You can’t perform that action at this time.
0 commit comments