Skip to content

Commit 058d767

Browse files
committed
feat(frontend): improve the example website
1 parent 361d424 commit 058d767

File tree

1 file changed

+48
-33
lines changed
  • packages/myfy-frontend/stubs/frontend/templates

1 file changed

+48
-33
lines changed
Lines changed: 48 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,54 @@
1-
{% extends "base.html" %}
2-
3-
{% block title %}{{ title }}{% endblock %}
4-
5-
{% block content %}
1+
{% extends "base.html" %} {% block title %}{{ title }}{% endblock %} {% block
2+
content %}
63
<div class="min-h-screen flex items-center justify-center bg-base-200">
7-
<div class="text-center">
8-
<h1 class="text-5xl font-bold mb-4">
9-
Welcome to <span class="text-primary">myfy</span>
10-
</h1>
11-
<p class="text-xl mb-8">
12-
Your frontend is ready with Tailwind 4 and DaisyUI 5
13-
</p>
4+
<div class="text-center">
5+
<h1 class="text-5xl font-bold mb-4">
6+
Welcome to <span class="text-primary">myfy</span>
7+
</h1>
8+
<p class="text-xl mb-8">
9+
Your frontend is ready with Tailwind 4 and DaisyUI 5
10+
</p>
1411

15-
<div class="flex gap-4 justify-center">
16-
<button class="btn btn-primary">Get Started</button>
17-
<button class="btn btn-outline">Learn More</button>
18-
</div>
12+
<div class="flex gap-4 justify-center">
13+
<a href="https://myfy.dev" class="btn btn-primary">Learn More</a>
14+
<a
15+
href="https://github.com/psincraian/myfy"
16+
class="btn btn-secondary"
17+
>Star it on GitHub</a
18+
>
19+
</div>
1920

20-
<div class="mt-12 p-6 bg-base-100 rounded-lg shadow-lg max-w-2xl">
21-
<h2 class="text-2xl font-semibold mb-4">Next Steps</h2>
22-
<div class="text-left space-y-2">
23-
<p class="flex items-start gap-2">
24-
<span class="text-primary"></span>
25-
<span>Edit <code class="text-sm bg-base-200 px-2 py-1 rounded">frontend/templates/home.html</code> to customize this page</span>
26-
</p>
27-
<p class="flex items-start gap-2">
28-
<span class="text-primary"></span>
29-
<span>Add routes in <code class="text-sm bg-base-200 px-2 py-1 rounded">app.py</code></span>
30-
</p>
31-
<p class="flex items-start gap-2">
32-
<span class="text-primary"></span>
33-
<span>Style with Tailwind classes and DaisyUI components</span>
34-
</p>
35-
</div>
21+
<div class="mt-12 p-6 bg-base-100 rounded-lg shadow-lg max-w-2xl">
22+
<h2 class="text-2xl font-semibold mb-4">Next Steps</h2>
23+
<div class="text-left space-y-2">
24+
<p class="flex items-start gap-2">
25+
<span class="text-primary"></span>
26+
<span
27+
>Edit
28+
<code class="text-sm bg-base-200 px-2 py-1 rounded"
29+
>frontend/templates/home.html</code
30+
>
31+
to customize this page</span
32+
>
33+
</p>
34+
<p class="flex items-start gap-2">
35+
<span class="text-primary"></span>
36+
<span
37+
>Add routes in
38+
<code class="text-sm bg-base-200 px-2 py-1 rounded"
39+
>app.py</code
40+
></span
41+
>
42+
</p>
43+
<p class="flex items-start gap-2">
44+
<span class="text-primary"></span>
45+
<span
46+
>Style with Tailwind classes and DaisyUI
47+
components</span
48+
>
49+
</p>
50+
</div>
51+
</div>
3652
</div>
37-
</div>
3853
</div>
3954
{% endblock %}

0 commit comments

Comments
 (0)