Skip to content

Commit 13ae8b4

Browse files
committed
refactor : added some text updated in stack
1 parent 503c740 commit 13ae8b4

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

app/visualizer/stack/peek/content.jsx

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,35 @@ const content = () => {
128128
</div>
129129
</section>
130130
</article>
131+
132+
{/* Mobile iframe at bottom */}
133+
<div className="block md:hidden w-full">
134+
{mounted && (
135+
<iframe
136+
key={theme}
137+
src={
138+
theme === "dark"
139+
? "https://hw.glich.co/resources/embed/daily/dsa?theme=dark"
140+
: "https://hw.glich.co/resources/embed/daily/dsa?theme=light"
141+
}
142+
width="100%"
143+
height="320"
144+
title="Daily DSA Challenge"
145+
></iframe>
146+
)}
147+
<div className="flex justify-center pb-8">
148+
<span className="text-xs">
149+
Daily DSA Challenge By{" "}
150+
<a
151+
href="https://hw.glich.co/resources/daily"
152+
target="_blank"
153+
className="underline hover:text-blue-500 duration-300"
154+
>
155+
Hello World
156+
</a>
157+
</span>
158+
</div>
159+
</div>
131160
</main>
132161
);
133162
};

app/visualizer/stack/push-pop/content.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ const content = () => {
285285
)}
286286
<div className="flex justify-center pb-8">
287287
<span className="text-xs">
288-
Powered by{" "}
288+
Daily DSA Challenge By{" "}
289289
<a
290290
href="https://hw.glich.co/resources/daily"
291291
target="_blank"

0 commit comments

Comments
 (0)