File tree 2 files changed +32
-10
lines changed
2 files changed +32
-10
lines changed Original file line number Diff line number Diff line change @@ -19,20 +19,36 @@ <h2 class="text-md md:text-2xl text-center">Coding Bull is a <span class="text-a
19
19
</ div >
20
20
</ div >
21
21
</ div >
22
-
23
- < div class ="prose mt-16 ">
22
+
23
+ < div class ="blog-content mt-16 ">
24
24
{{ content | safe }}
25
25
</ div >
26
26
27
27
< div class ="my-8 ">
28
- < div class ="text-xl "> Blog posts:</ div >
29
- < ul class ="list-disc list-inside ">
28
+ < div class ="text-center text-3xl blog-title my-4 font-bold ">
29
+ Latest posts:
30
+ </ div >
31
+ < div class ="grid lg:grid-cols-3 gap-5 ">
30
32
{% for post in collections.blog %}
31
- < li >
32
- < a href ="{{ post.url }} "> {{ post.data.title }}</ a >
33
- </ li >
34
- {% endfor %}
35
- </ ul >
33
+ {% if loop.index0 < 3 %} < a href ="{{ post.url }} "
34
+ class ="transition ease-in-out delay-150 block bg-base-300 hover:scale-110 hover:bg-base-200 shadow-md p-4 text-primary-content flex-col justify-between ">
35
+ < h3 class ="text-xl text-center h-3/4 ">
36
+ {{ post.data.title }}
37
+ </ h3 >
38
+
39
+ < div class ="flex gap-x-3 ">
40
+ {% for tag in post.data.tags %}
41
+ {% if tag !== 'posts' %}
42
+ < span class ="hidden lg:block bg-base-100 text-accent rounded-xl py-1 px-3 text-sm ">
43
+ #{{ tag }}
44
+ </ span >
45
+ {% endif %}
46
+ {% endfor %}
47
+ </ div >
48
+ </ a >
49
+ {% endif %}
50
+ {% endfor %}
51
+ </ div >
36
52
</ div >
37
53
</ div >
38
54
Original file line number Diff line number Diff line change @@ -6,4 +6,10 @@ image: "/image/landing.png"
6
6
---
7
7
Hi! Welcome to Coding Bull!
8
8
9
- ## This website us currently under development.
9
+ Want to learn some niche coding tricks? Are you just looking to improve your daily work routine? Do you want to see a lot of GIFs?
10
+
11
+ Then you are in the right place!
12
+
13
+ ## New videos are being added to our Youtube channel daily.
14
+
15
+ You can also subscribe to our newsletter to receive the latest news.
You can’t perform that action at this time.
0 commit comments