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
+3
View File
@@ -2,6 +2,7 @@
<html lang="en"> <html lang="en">
<head> <head>
{{ if eq .Site.Params.version 1 }} {{ if eq .Site.Params.version 1 }}
{{- partial "sections/v1/head.html" . -}} {{- partial "sections/v1/head.html" . -}}
<link href="/css/bootstrap.min.css" rel="stylesheet"> <link href="/css/bootstrap.min.css" rel="stylesheet">
@@ -23,6 +24,8 @@
{{ else }} {{ else }}
{{ end }} {{ end }}
</head> </head>
{{ if eq .Site.Params.version 1 }} {{ if eq .Site.Params.version 1 }}
+5
View File
@@ -4,3 +4,8 @@
<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 --> <!-- Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Alata&display=swap" rel="stylesheet"> <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/all.min.css" media="all">
<link rel="stylesheet" href="/css/fontawesome.min.css" media="all"> <link rel="stylesheet" href="/css/fontawesome.min.css" media="all">
<link rel="stylesheet" href="/css/v2/v2.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 }} {{ if .img }}
{{ $img = .img }} {{ $img = .img }}
{{ end }} {{ 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" <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"> 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 }});"> <div class="achiv-card d-flex align-items-end shadow-lg rounded" style="background-image: url(./{{ .img }});">
@@ -18,6 +31,7 @@
</div> </div>
</div> </div>
{{ end }} {{ end }}
{{ end }}
</div> </div>
</div> </div>
</section> </section>
+6
View File
@@ -28,3 +28,9 @@
background: #6c757d; background: #6c757d;
} }
</style> </style>
<!-- Custom Styles -->
{{ if .Site.Params.customCSS }}
<link rel="stylesheet" href="/style.css">
{{ end }}
+3
View File
@@ -19,6 +19,7 @@ taxonomies:
enableEmoji: true enableEmoji: true
params: params:
version: 3 version: 3
customCSS: false
favicon: "/images/fav.png" favicon: "/images/fav.png"
description: "A high performance hugo theme for personal portfolio and blog." description: "A high performance hugo theme for personal portfolio and blog."
@@ -117,9 +118,11 @@ params:
- title: Competition winner - title: Competition winner
description: We are developed a product which can help others. description: We are developed a product which can help others.
img: /images/achiv.jpg img: /images/achiv.jpg
url: https://example.com
- title: Competition winner - title: Competition winner
description: We are developed a product which can help others. description: We are developed a product which can help others.
img: /images/achiv.jpg img: /images/achiv.jpg
# url: https://example.com
- title: Competition winner - title: Competition winner
description: We are developed a product which can help others. description: We are developed a product which can help others.
img: /images/achiv.jpg img: /images/achiv.jpg
+3
View File
@@ -0,0 +1,3 @@
.hi-text{
font-size: 40px !important;
}
+1
View File
@@ -14,6 +14,7 @@ taxonomies:
params: params:
version: 1 version: 1
customCSS: false
favicon: "/images/hugo.png" favicon: "/images/hugo.png"
description: "A hugh performance hugo theme for personal website. It is single page portfolio. It has blog, contact sections also. Contact is powered by formspree." description: "A hugh performance hugo theme for personal website. It is single page portfolio. It has blog, contact sections also. Contact is powered by formspree."
+1
View File
@@ -19,6 +19,7 @@ taxonomies:
enableEmoji: true enableEmoji: true
params: params:
version: 2 version: 2
customCSS: false
favicon: "/images/fav.png" favicon: "/images/fav.png"
description: "A high performance hugo theme for personal portfolio and blog." description: "A high performance hugo theme for personal portfolio and blog."
+3
View File
@@ -19,6 +19,7 @@ taxonomies:
enableEmoji: true enableEmoji: true
params: params:
version: 3 version: 3
customCSS: false
favicon: "/images/fav.png" favicon: "/images/fav.png"
description: "A high performance hugo theme for personal portfolio and blog." description: "A high performance hugo theme for personal portfolio and blog."
@@ -117,9 +118,11 @@ params:
- title: Competition winner - title: Competition winner
description: We are developed a product which can help others. description: We are developed a product which can help others.
img: /images/achiv.jpg img: /images/achiv.jpg
url: https://example.com
- title: Competition winner - title: Competition winner
description: We are developed a product which can help others. description: We are developed a product which can help others.
img: /images/achiv.jpg img: /images/achiv.jpg
# url: https://example.com
- title: Competition winner - title: Competition winner
description: We are developed a product which can help others. description: We are developed a product which can help others.
img: /images/achiv.jpg img: /images/achiv.jpg