This commit is contained in:
gurusabarish
2021-11-19 00:32:02 +05:30
parent 01c7caee04
commit a39edbe353
10 changed files with 46 additions and 1 deletions
+6 -1
View File
@@ -1,6 +1,11 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="icon" href="{{ .Site.Params.favicon | default "/images/favicon.png"}}" type="image/gif">
<link rel="icon" href="{{ .Site.Params.favicon | default " /images/favicon.png"}}" type="image/gif">
<!-- Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Alata&display=swap" rel="stylesheet">
<!-- Custom Styles -->
{{ if .Site.Params.customCSS }}
<link rel="stylesheet" href="/style.css">
{{ end }}
+6
View File
@@ -8,3 +8,9 @@
<link rel="stylesheet" href="/css/all.min.css" media="all">
<link rel="stylesheet" href="/css/fontawesome.min.css" media="all">
<link rel="stylesheet" href="/css/v2/v2.css" media="all">
<!-- Custom Styles -->
{{ if .Site.Params.customCSS }}
<link rel="stylesheet" href="/style.css">
{{ end }}
@@ -8,6 +8,19 @@
{{ if .img }}
{{ $img = .img }}
{{ end }}
{{ if .url }}
<div class="col-md-5 achiv-out px-4 px-md-2 my-2" data-aos="fade-up" data-aos-easing="linear"
data-aos-duration="600" data-aos-once="true">
<a target="_blank" href={{ .url | default "#" }}>
<div class="achiv-card d-flex align-items-end shadow-lg rounded" style="background-image: url(./{{ .img }});">
<div class="p-3 w-100 achiv overflow-hidden">
<h4 class="text-center achiv-head">{{ .title }}</h4>
<div class="text-secondary">{{ .description }}</div>
</div>
</div>
</a>
</div>
{{ else }}
<div class="col-md-5 achiv-out px-4 px-md-2 my-2" data-aos="fade-up" data-aos-easing="linear"
data-aos-duration="600" data-aos-once="true">
<div class="achiv-card d-flex align-items-end shadow-lg rounded" style="background-image: url(./{{ .img }});">
@@ -18,6 +31,7 @@
</div>
</div>
{{ end }}
{{ end }}
</div>
</div>
</section>
+6
View File
@@ -28,3 +28,9 @@
background: #6c757d;
}
</style>
<!-- Custom Styles -->
{{ if .Site.Params.customCSS }}
<link rel="stylesheet" href="/style.css">
{{ end }}