File tree 1 file changed +11
-11
lines changed
themes/hugoplate/layouts/partials/components
1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change 1
- < div class ="bg-theme-light dark:bg-darkmode-theme-light rounded p-8 flex author ">
2
- < div class ="w-3/12 flex items-center ">
1
+ < div class ="bg-theme-light dark:bg-darkmode-theme-light rounded p-8 flex flex-col md:flex-row author ">
2
+ < div class ="w-full md:w- 3/12 flex justify-center md:justify-start items-center ">
3
3
{{ $image := .image }}
4
4
{{ if $image }}
5
- {{ partial "image" (dict "Src" $image "Alt" .name "Class" "mx-auto mb-6 rounded" "Size" "240x") }}
5
+ {{ partial "image" (dict "Src" $image "Alt" .name "Class" "mx-auto mb-4 md:mb-0 rounded" "Size" "240x") }}
6
6
{{ end }}
7
7
</ div >
8
- < div class ="w-9/12 pl-4 ">
8
+ < div class ="w-full md:w- 9/12 md: pl-4 text-center md:text-left ">
9
9
< h4 class ="mb-3 ">
10
10
{{ .name }}
11
11
</ h4 >
12
12
< div class ="authorContent pb-4 ">
13
13
{{ .description | markdownify }}
14
14
</ div >
15
- < ul class ="social-icons ">
15
+ < ul class ="social-icons flex justify-center md:justify-start ">
16
16
{{ range .social }}
17
- < li >
18
- < a href ="{{ .link | safeURL }} " target ="_blank " rel ="noopener nofollow ">
19
- < span class ="sr-only "> {{ .title }}</ span >
20
- < i class ="{{ .icon }} "> </ i >
21
- </ a >
22
- </ li >
17
+ < li class =" mx-2 " >
18
+ < a href ="{{ .link | safeURL }} " target ="_blank " rel ="noopener nofollow ">
19
+ < span class ="sr-only "> {{ .title }}</ span >
20
+ < i class ="{{ .icon }} "> </ i >
21
+ </ a >
22
+ </ li >
23
23
{{ end }}
24
24
</ ul >
25
25
</ div >
You can’t perform that action at this time.
0 commit comments