File tree 4 files changed +28
-8
lines changed
4 files changed +28
-8
lines changed Original file line number Diff line number Diff line change 16
16
"text" : " Docs" ,
17
17
"url" : " /docs/"
18
18
}
19
+ ],
20
+ "external_items" : [
21
+ {
22
+ "text" : " Podcast" ,
23
+ "url" : " https://podcast.datapack.dev"
24
+ }
19
25
]
20
26
}
Original file line number Diff line number Diff line change 21
21
< p >
22
22
{% heroicon "outline" "link" "" 'width=16 class="inline mr-0.5 mb-0.5"' %}
23
23
< span class ="font-bold "> Project Page:</ span >
24
- < a href ="{{ project_link[1] }} ">
24
+ < a href ="{{ project_link[1] }} " target =" _blank " >
25
25
{{ project_link[0] }}{% heroicon "outline" "external-link" "" 'width=10 class="inline ml-0.5 mb-2"' %}
26
26
</ a >
27
27
</ p >
30
30
< span class ="font-bold "> Project Links:</ span >
31
31
< ul class ="ml-[2.25rem] list-disc ">
32
32
{% for link in other_links %}
33
- < li > < a href ="{{ link[1] }} "> {{ link[0] }}{% heroicon "outline" "external-link" "" 'width=10 class="inline ml-0.5 mb-2"' %}</ a > </ li >
33
+ < li > < a href ="{{ link[1] }} " target =" _blank " > {{ link[0] }}{% heroicon "outline" "external-link" "" 'width=10 class="inline ml-0.5 mb-2"' %}</ a > </ li >
34
34
{% endfor %}
35
35
</ ul >
36
36
{% endif %} {% if docs %}
47
47
< ul class ="ml-[2.25rem] list-disc ">
48
48
{% for author in authors %}
49
49
< li >
50
- < a href ="{{ author[1] }} " alt ="Visit profile of {{ author[0] }}. ">
50
+ < a href ="{{ author[1] }} " alt ="Visit profile of {{ author[0] }}. " target =" _blank " >
51
51
{{ author[0] }}{% heroicon "outline" "external-link" "" 'width=10 class="inline ml-0.5 mb-2"' %}
52
52
</ a >
53
53
</ li >
64
64
< a
65
65
href ="{{ contributor[1] }} "
66
66
alt ="Visit profile of {{ contributor[0] }}. "
67
+ target ="_blank "
67
68
>
68
69
{{ contributor[0] }}{% heroicon "outline" "external-link" "" 'width=10 class="inline ml-0.5 mb-2"' %}
69
70
</ a >
Original file line number Diff line number Diff line change 8
8
href ="{{ item.url }} "
9
9
class ="no-style hover:gmdu-link font-bold underline decoration-purple-500 "
10
10
>
11
- {{ item.text }}
11
+ {{ item.text }} {% if item.external %}{% heroicon "outline" "external-link"
12
+ "" 'width=10 class="inline mb-2"' %}{% endif %}
12
13
</ a >
13
14
</ li >
14
- {% endif %} {% endfor %}
15
+ {% endif %} {% endfor %} {% if navigation.external_items.size > 0 %}
16
+ < span class ="hidden xs:inline "> |</ span >
17
+ < hr class ="my-4 mx-auto max-w-[10rem] xs:hidden " />
18
+ {% endif %} {% for item in navigation.external_items %}
19
+ < li >
20
+ < a
21
+ href ="{{ item.url }} "
22
+ class ="no-style hover:gmdu-link font-bold underline decoration-purple-500 "
23
+ >
24
+ {{ item.text }} {% heroicon "outline" "external-link" "" 'width=10 class="inline mb-2"' %}
25
+ </ a >
26
+ </ li >
27
+ {% endfor %}
Original file line number Diff line number Diff line change 2
2
class ="relative z-10 flex select-none bg-gradient-to-r from-header-start to-header-end shadow-black xs:shadow sm:shadow-2xl "
3
3
>
4
4
< nav
5
- class ="flex h-16 grow items-center justify-between gap-4 px-4 text-white "
5
+ class ="flex h-16 grow items-center justify-between gap-1 px-2 text-white sm:px-4 "
6
6
>
7
7
< a href ="/ " class ="heading no-style hover:underline ">
8
8
< figure class ="flex flex-shrink-0 items-center space-x-1 ">
21
21
</ figcaption >
22
22
</ figure >
23
23
</ a >
24
- < ul class ="hidden gap-2 text-base leading-8 xs:flex ">
24
+ < ul class ="hidden gap-1 text-base leading-8 xs:flex sm:gap-2 ">
25
25
{% include "partials/navigation.html"%}
26
26
</ ul >
27
27
< div class ="xs:hidden ">
60
60
< div
61
61
class ="absolute left-0 top-16 flex w-screen flex-col items-center gap-4 bg-black/40 p-4 text-center backdrop-blur-lg "
62
62
>
63
- < ul class ="text-2xl ">
63
+ < ul class ="w-full space-y-2 text-center text-2xl ">
64
64
{% include "partials/navigation.html"%}
65
65
</ ul >
66
66
</ div >
You can’t perform that action at this time.
0 commit comments