Skip to content

Commit ebd4ee0

Browse files
committed
feat: add link how to use
1 parent c4ce7d4 commit ebd4ee0

File tree

2 files changed

+34
-12
lines changed

2 files changed

+34
-12
lines changed

index.html

Lines changed: 30 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -95,15 +95,19 @@ <h1 class="select-none">Automata Simulation</h1>
9595
</div>
9696
</div>
9797

98-
<div class="flex gap-4">
99-
<a
100-
target="_blank"
101-
href="https://github.com/byandrev/automata-simulation"
102-
class="bg-gray-600 shadow text-white flex items-center gap-2 rounded px-2 py-1"
103-
>
104-
<span class="text-xs block">Open Source</span>
105-
<i class="fa-brands fa-github"></i
106-
></a>
98+
<div class="flex items-center gap-4">
99+
<a href="#how-to-use" class="text-sm underline">How to use?</a>
100+
101+
<div class="flex gap-4">
102+
<a
103+
target="_blank"
104+
href="https://github.com/byandrev/automata-simulation"
105+
class="bg-gray-600 shadow text-white flex items-center gap-2 rounded px-2 py-1"
106+
>
107+
<span class="text-xs block">Open Source</span>
108+
<i class="fa-brands fa-github"></i
109+
></a>
110+
</div>
107111
</div>
108112
</div>
109113
</div>
@@ -138,7 +142,7 @@ <h1 class="select-none">Automata Simulation</h1>
138142
</div>
139143

140144
<main class="leading-7 container mx-auto">
141-
<div class="my-10">
145+
<div class="my-10" id="how-to-use">
142146
<h2 class="text-2xl font-bold mb-2">About</h2>
143147

144148
<p>
@@ -156,6 +160,7 @@ <h2 class="text-2xl font-bold mb-2">About</h2>
156160

157161
<div class="max-w-[800px] mx-auto">
158162
<video
163+
loop="true"
159164
autoplay="true"
160165
src="/example-use.mp4"
161166
class="border-2 rounded"
@@ -233,8 +238,21 @@ <h2 class="text-2xl font-bold mb-2">Collaborate</h2>
233238
</div>
234239
</main>
235240

236-
<footer class="container mx-auto flex justify-between border-t-2 py-8">
237-
<p>Automata Simulation</p>
241+
<footer
242+
class="container mx-auto flex justify-between items-end border-t-2 py-8"
243+
>
244+
<div>
245+
<p>Automata Simulation</p>
246+
<p>
247+
<a
248+
target="_blank"
249+
href="https://ww2.ufps.edu.co"
250+
class="text-blue-500 underline"
251+
>UFPS</a
252+
>
253+
| Computer theory - Eduard Puerto
254+
</p>
255+
</div>
238256

239257
<p>
240258
Development by

src/styles.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
html {
2+
scroll-behavior: smooth;
3+
}
4+
15
input:focus {
26
outline: none;
37
}

0 commit comments

Comments
 (0)