Skip to content

Commit a1603a6

Browse files
swiper fixed
1 parent f08ef4f commit a1603a6

File tree

1 file changed

+15
-27
lines changed

1 file changed

+15
-27
lines changed

themes/hugoplate/layouts/index.html

Lines changed: 15 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -98,35 +98,23 @@ <h2 class="mb-4">
9898
{{ range .Params.testimonials }}
9999
<div class="swiper-slide">
100100
<div
101-
class="bg-light dark:bg-darkmode-light rounded-lg px-7 py-10">
102-
<div class="text-text-dark dark:text-white">
103-
<svg
104-
width="33"
105-
height="20"
106-
viewBox="0 0 33 20"
107-
fill="none"
108-
xmlns="http://www.w3.org/2000/svg">
109-
<path
110-
d="M1.28375 19.41L0.79375 18.64C1.21375 17.0067 1.75042 15.07 2.40375 12.83C3.05708 10.5433 3.75708 8.28 4.50375 6.04C5.29708 3.75333 6.06708 1.77 6.81375 0.0899959H15.3538C14.9338 2.09666 14.4904 4.26667 14.0238 6.6C13.5571 8.88666 13.1371 11.15 12.7638 13.39C12.4371 15.5833 12.1571 17.59 11.9238 19.41H1.28375ZM31.69 0.0899959L32.18 0.859998C31.76 2.54 31.2233 4.5 30.57 6.74C29.9167 8.98 29.2167 11.2433 28.47 13.53C27.7233 15.77 26.9533 17.73 26.16 19.41H17.69C18.0167 17.9167 18.3433 16.33 18.67 14.65C18.9967 12.9233 19.3 11.22 19.58 9.54C19.9067 7.81333 20.1867 6.15667 20.42 4.57C20.7 2.93666 20.91 1.44333 21.05 0.0899959H31.69Z"
111-
fill="currentColor" />
112-
</svg>
113-
</div>
114-
<blockquote class="mt-8">
101+
class="bg-theme-light dark:bg-darkmode-theme-light rounded-lg px-7 py-10">
102+
<h3 class="h5 font-primary font-semibold">
103+
{{ .name }}
104+
</h3>
105+
<p class="text-dark dark:text-white">
106+
{{ .designation | markdownify }}
107+
</p>
108+
109+
<blockquote class="mt-4">
115110
{{ .content | markdownify }}
116111
</blockquote>
117-
<div class="mt-11 flex items-center">
118-
<div class="text-text-dark dark:text-white">
119-
{{ partial "image" (dict "Src" .avatar "Size" "50x50" "Class" "rounded-full" "Alt" .name) }}
120-
</div>
121-
<div class="ml-4">
122-
<h3 class="h5 font-primary font-semibold">
123-
{{ .name }}
124-
</h3>
125-
<p class="text-text-dark dark:text-white">
126-
{{ .designation | markdownify }}
127-
</p>
128-
</div>
129-
</div>
112+
<a
113+
class="btn btn-primary mt-6"
114+
href="{{ .link | absURL }}">
115+
visit
116+
<i class="fa fa-arrow-right pl-2"></i>
117+
</a>
130118
</div>
131119
</div>
132120
{{ end }}

0 commit comments

Comments
 (0)