30 Commits

Author SHA1 Message Date
gurusabarish a0b3ff5ff6 changed experience tab cursor tp pointer 2022-09-10 11:56:22 +05:30
Guru Sabarish d4a8f36928 Merge pull request #72 from mattlathrop/bugfix/button
Bugfix/button
2022-09-02 21:52:29 +05:30
Matt Lathrop 5afe994b5d re-added heart to footer 2022-09-01 18:04:00 -05:00
Matt Lathrop 77396e0037 Fix button issue on safari 2022-09-01 17:59:02 -05:00
Guru Sabarish 6b705a9007 Merge pull request #68 from oscareduardolp6/my-changes
Changes in the sections names to more flexibility & in the resume button to download option
2022-08-21 22:38:53 +05:30
Oscar Lopez c4012c4101 Added missing dot 2022-08-17 17:48:02 -05:00
Oscar Lopez 4d6010713b Merge branch 'change-names-secctions' into my-changes 2022-08-17 17:34:48 -05:00
Oscar Lopez 325e3bc8ee Added option to add custom titles to sections 2022-08-17 17:33:16 -05:00
Oscar Lopez 55d38a0ea3 Added option to download the resume.pdf 2022-08-17 17:24:03 -05:00
Guru Sabarish a177362851 Merge pull request #64 from HugoSave/first-render-time
Improved site load time
2022-07-24 19:47:48 +05:30
hugosave 8a62081fc3 improved first content render time. 2022-07-17 16:28:55 +02:00
gurusabarish db70a4b388 enable gallery page 2022-06-25 23:24:55 +05:30
gurusabarish a221586545 gallery support 2022-06-25 23:18:39 +05:30
Guru Sabarish a534f76eff Create FUNDING.yml 2022-06-22 19:22:34 +05:30
Guru Sabarish fe073530a6 Merge pull request #59 from gurusabarish/multipage
Added about page and dropdowm z-index fixed
2022-06-02 15:38:21 +05:30
gurusabarish f89a131319 Added about page and dropdowm z-index fixed 2022-05-08 12:01:21 +05:30
Guru Sabarish a9c44f9ead Update config.yaml 2022-04-30 17:17:53 +05:30
gurusabarish 77c7aa6763 hero min-height update 2022-04-27 17:46:52 +05:30
gurusabarish 1c8d314c3d Merge branch 'master' of https://github.com/gurusabarish/hugo-profile 2022-04-09 17:19:10 +05:30
gurusabarish f5b9c6728a fix for #55 2022-04-09 17:07:17 +05:30
Guru Sabarish dc2b7487ed Merge pull request #52 from sonic182/master
Statics param, and optional GPA by @sonic182
2022-04-04 10:06:42 +05:30
sonic182 669f25fc75 all files with StaticPath instead of Statics 2022-04-03 22:59:39 +02:00
Guru Sabarish 6d6f5f0230 Merge pull request #53 from sudomateo/sudomateo/fix-header
Properly toggle Projects link in header by @sudomateo
2022-04-03 12:20:58 +05:30
Matthew Sanabria 837da918a7 Properly toggle Projects link in header 2022-04-02 23:59:10 -04:00
gurusabarish 33b0f43282 Added ststic in missed files and renamed to staticPath
- Added `statics` params in the missed files
- Renamed `statics` to `staticPath`
2022-04-02 23:35:22 +05:30
sonic182 fd19e4981b fix another link... 2022-04-02 12:04:46 +02:00
sonic182 d19515cf85 removed console log 2022-04-01 22:47:49 +02:00
sonic182 066b435226 more fixes theme 2022-04-01 22:45:54 +02:00
sonic182 b10f02eee9 optional GPA 2022-03-30 07:51:07 +02:00
sonic182 20580ecfce static param 2022-03-29 23:34:46 +02:00
24 changed files with 526 additions and 108 deletions
+12
View File
@@ -0,0 +1,12 @@
# These are supported funding model platforms
github: gurusabarish # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: gurusabarish # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: ['https://donate.stripe.com/7sIeWp3aG07vd6o8ww'] # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
+36 -21
View File
@@ -1,4 +1,4 @@
baseURL: "https://example.org"
baseURL: "https://hugo-profile.netlify.app"
languageCode: "en-us"
title: "Hugo Profile"
theme: hugo-profile
@@ -20,29 +20,41 @@ Menus:
url: /blogs
weight: 1
- identifier: gallery
name: Gallery
title: Blog posts
url: /gallery
weight: 2
#Dropdown menu
- identifier: dropdown
title: Example dropdown menu
name: Dropdown
weight: 2
- identifier: dropdown1
title: example dropdown 1
name: example 1
url: /#
parent: dropdown
weight: 1
- identifier: dropdown2
title: example dropdown 2
name: example 2
url: /#
parent: dropdown
weight: 2
# - identifier: dropdown
# title: Example dropdown menu
# name: Dropdown
# weight: 3
# - identifier: dropdown1
# title: example dropdown 1
# name: example 1
# url: /#
# parent: dropdown
# weight: 1
# - identifier: dropdown2
# title: example dropdown 2
# name: example 2
# url: /#
# parent: dropdown
# weight: 2
params:
title: "Hugo Profile"
description: Text about my cool site
# staticPath: "" # The path to serve the static files from
favicon: "/fav.png"
# Whether to serve bootstrap css and js files from CDN or not. Can be set to true, "css" or "js" to choose between
# serving both, only the css, or only the js files through the CDN. Any other value will make so that CDN is not used.
# Note the lack of "" in true, it should be of boolean type.
useBootstrapCDN: false
theme:
disableThemeToggle: false
# defaultTheme: "light" # dark
@@ -96,6 +108,7 @@ params:
enable: true
name: "Resume"
url: "#"
download: true
socialLinks:
fontAwesomeIcons:
- icon: fab fa-github
@@ -106,12 +119,11 @@ params:
- icon: /fav.png
url: "https://example.com"
# About
about:
enable: true
title: "About Me"
image: '/images/me.png'
image: "/images/me.png"
content: |-
I am a software developer with a passion for web development. I have a background in computer science and mathematics, and I have a strong interest in the intersection of technology and art. I am currently working as a software developer at [example org.](https://example.com) in San Francisco, CA.
@@ -130,6 +142,7 @@ params:
# Experience
experience:
enable: true
# title: "Custom Name"
items:
- job: "Senior Software Developer"
company: "Facebook"
@@ -194,6 +207,7 @@ params:
# Education
education:
enable: true
# title: "Custom Name"
# index: true
items:
- title: "Master of Business Administration"
@@ -236,6 +250,7 @@ params:
# Achievements
achievements:
enable: true
# title: "Custom Name"
items:
- title: Google kickstart runner
content: I solved all problems with optimal solution.
@@ -254,6 +269,7 @@ params:
# projects
projects:
enable: true
# title: "Custom Name"
items:
- title: Hugo Profile
content: A highly customizable and mobile first Hugo template for personal portfolio and blog.
@@ -303,6 +319,7 @@ params:
#Contact
contact:
enable: true
#title: "Custom name"
content: My inbox is always open. Whether you have a question or just want to say hi, Ill try my best to get back to you!
email: gurusabarisha@gmail.com
btnName: Mail me
@@ -315,5 +332,3 @@ params:
twitter: https://twitter.com
instagram: https://instagram.com
facebook: https://facebook.com
+14
View File
@@ -0,0 +1,14 @@
---
title: "Image Gallery"
date: 2022-06-25T18:35:46+05:30
draft: false
description: "My gallery :earth_asia:"
layout: "gallery"
images:
- src: https://iso.500px.com/wp-content/uploads/2016/03/stock-photo-142984111-1500x1000.jpg
- src: https://img.etimg.com/thumb/msid-68721417,width-650,imgsize-1016106,,resizemode-4,quality-100/nature1_gettyimages.jpg
- src: https://thumbs.dreamstime.com/b/team-ants-council-collective-decision-work-17037482.jpg
- src: https://thumbs.dreamstime.com/b/summer-day-smiling-women-relax-wearing-red-dress-fashion-standing-wooden-bridge-over-sea-blue-sky-background-summer-107411998.jpg
- src: https://thumbs.dreamstime.com/b/young-woman-playing-dog-pet-beach-sunrise-sunset-girl-dog-having-fun-seasid-seaside-cute-neglected-stay-66480218.jpg
- src: https://thumbs.dreamstime.com/b/funny-picture-taken-sunrise-frozen-lake-perspective-rider-retro-bicycle-sunrise-personal-211066044.jpg
---
+1 -1
View File
@@ -8,7 +8,7 @@
{{ define "main" }}
<div class="container py-5 text-center">
<img src="/404.png" alt="404 page not found" class="img-fluid" width="40%">
<img src="{{ .Site.Params.staticPath }}/404.png" alt="404 page not found" class="img-fluid" width="40%">
<h1>404 Page Not Found</h1>
</div>
{{ end }}
+86
View File
@@ -0,0 +1,86 @@
{{ define "head" }}
<meta name="description" content="{{ .Params.description }}">
<link rel="stylesheet" href="{{.Site.Params.staticPath}}/css/about.css">
<!-- fontawesome -->
<script defer src="{{.Site.Params.staticPath}}/fontawesome-5/all-5.15.4.js"></script>
{{ end }}
{{ define "title" }}
{{.Title }} | {{ .Site.Title }}
{{ end }}
{{ define "main" }}
<section id="single">
<div class="container">
<div class="title mb-3">
<h1 class="text-center mb-4">{{ .Title }}</h1>
</div>
<div class="row justify-content-center">
{{ if .Params.image }}
<div class="col-sm-12 col-md-12 col-lg-3 px-3">
<div class="sticky-sidebar">
<aside class="aboutImg">
<div class="text-center">
<img src="{{ .Params.image }}" class="mx-auto rounded" alt="">
</div>
<h2 class="text-center pt-3">
{{ .Params.name }}
</h2>
<div class="aboutImg-content">
<ul class="list-inline pt-3 text-center">
{{ range .Params.socialLinks.fontAwesomeIcons }}
<li class="list-inline-item text-center">
<a href="{{ .url }}" target="_blank">
<i class="{{ .icon }}"></i>
</a>
</li>
{{ end }}
{{ range .Params.socialLinks.customIcons }}
<li class="list-inline-item text-center">
<a href="{{ .url }}" target="_blank" class="img-icon">
<img src="{{ .icon }}">
</a>
</li>
{{ end }}
</ul>
</div>
</aside>
</div>
</div>
{{ end }}
<div class="col-sm-12 col-md-12 col-lg-6 pt-4 p-2">
<div class="pr-lg-4">
<article class="page-content p-2">
{{ .Content | emojify }}
</article>
</div>
</div>
</div>
</div>
<button class="p-2 px-3" onclick="topFunction()" id="topScroll">
<i class="fas fa-angle-up"></i>
</button>
</section>
<script>
var topScroll = document.getElementById("topScroll");
window.onscroll = function () { scrollFunction() };
function scrollFunction() {
if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) {
topScroll.style.display = "block";
} else {
topScroll.style.display = "none";
}
}
function topFunction() {
document.body.scrollTop = 0;
document.documentElement.scrollTop = 0;
}
</script>
{{ end }}
+7 -1
View File
@@ -12,13 +12,19 @@
<body class="light" onload="loading()">
<!-- javascripts -->
<!-- <script src="/js/jquery-3.6.0.min.js"></script> -->
<script src="/bootstrap-5/js/bootstrap.bundle.js"></script>
{{- partial "sections/header.html" . -}}
<div id="content">
{{- block "main" . }}{{- end }}
</div>
{{- partial "sections/footer/index.html" . -}}
{{- if (or (eq .Site.Params.UseBootstrapCDN true) (eq .Site.Params.UseBootstrapCDN "js")) -}}
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.min.js" integrity="sha384-QJHtvGhmr9XOIpI6YVutG+2QOK9T+ZnN4kzFN1RtK3zEFEIsxhlmWl5/YESvpZ13" crossorigin="anonymous"></script>
{{- else -}}
<script src="{{ .Site.Params.staticPath }}/bootstrap-5/js/bootstrap.bundle.min.js"></script>
{{- end -}}
{{- partial "scripts.html" . -}}
</body>
+29
View File
@@ -0,0 +1,29 @@
{{ define "head" }}
<meta name="description" content="{{ .Title }} of {{ .Site.Title }}">
<!-- <link rel="stylesheet" href="{{ .Site.Params.staticPath }}/css/list.css" media="all"> -->
{{ end }}
{{ define "title" }}
{{.Title }} | {{ .Site.Title }}
{{ end }}
{{ define "main" }}
<div class="container pt-5" id="list-page">
<h2 class="text-center pb-2">{{.Title}}</h2>
<h6 class="text-center">{{ .Params.description | emojify }}</h6>
<div class="row p-4">
{{ .Content | emojify }}
</div>
<div class="card-group p-4">
<div class="row justify-content-center">
{{ range .Params.images }}
<div class="col-md-4 p-0 m-0">
<div class="card p-0 m-0 border-0">
<img class="w-100" height="280px" src="{{ .src }}">
</div>
</div>
{{ end }}
</div>
</div>
</div>
{{ end }}
+1 -1
View File
@@ -1,6 +1,6 @@
{{ define "head" }}
<meta name="description" content="{{ .Title }} of {{ .Site.Title }}">
<link rel="stylesheet" href="/css/list.css" media="all">
<link rel="stylesheet" href="{{ .Site.Params.staticPath }}/css/list.css" media="all">
{{ end }}
{{ define "title" }}
+4 -5
View File
@@ -1,9 +1,9 @@
{{ define "head" }}
<meta name="description" content="{{ .Params.description }}">
<link rel="stylesheet" href="/css/single.css">
<link rel="stylesheet" href="{{.Site.Params.staticPath}}/css/single.css">
<!-- fontawesome -->
<script defer src="/fontawesome-5/all-5.15.4.js"></script>
<script defer src="{{.Site.Params.staticPath}}/fontawesome-5/all-5.15.4.js"></script>
{{ end }}
{{ define "title" }}
@@ -29,7 +29,7 @@
<img class="img-fluid" src="{{ .Params.image }}" alt="{{ .Title }}">
</div>
{{ end }}
<article class="page-content">
<article class="page-content p-2">
{{ .Content | emojify }}
</article>
</div>
@@ -86,7 +86,7 @@
</div>
</div>
<div class="row">
<div class="col-sm-12 col-md-12 col-lg-9 p-2">
<div class="col-sm-12 col-md-12 col-lg-9 p-4">
{{ template "_internal/disqus.html" . }}
</div>
</div>
@@ -100,7 +100,6 @@
var topScroll = document.getElementById("topScroll");
window.onscroll = function() {scrollFunction()};
console.log(topScroll);
function scrollFunction() {
if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) {
topScroll.style.display = "block";
+3 -3
View File
@@ -1,10 +1,10 @@
{{ define "head" }}
<meta name="description" content={{ .Site.Params.description }}>
<link rel="stylesheet" href="/css/index.css" media="all">
<link rel="stylesheet" href="/css/projects.css" media="all">
<link rel="stylesheet" href="{{ .Site.Params.staticPath }}/css/index.css" media="all">
<link rel="stylesheet" href="{{ .Site.Params.staticPath }}/css/projects.css" media="all">
<!-- fontawesome -->
<script defer src="/fontawesome-5/all-5.15.4.js"></script>
<script defer src="{{ .Site.Params.staticPath }}/fontawesome-5/all-5.15.4.js"></script>
{{ end }}
{{ define "title" }}
+19 -6
View File
@@ -6,12 +6,21 @@
<!-- Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="preload"
as="style"
href="https://fonts.googleapis.com/css2?family=Alata&family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap"
>
<link rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Alata&family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap"
media="print" onload="this.media='all'" />
<noscript>
<link
href="https://fonts.googleapis.com/css2?family=Alata&family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap"
rel="stylesheet">
</noscript>
<!-- font configuration -->
<link rel="stylesheet" href="/css/font.css" media="all">
<link rel="stylesheet" href="{{ .Site.Params.staticPath }}/css/font.css" media="all">
<!-- Internal templates -->
{{ template "_internal/google_analytics_async.html" . }}
@@ -19,16 +28,20 @@
{{ template "_internal/twitter_cards.html" . }}
<!-- stylesheets -->
<link rel="stylesheet" href="/bootstrap-5/css/bootstrap.min.css" media="all">
<link rel="stylesheet" href="/css/header.css" media="all">
<link rel="stylesheet" href="/css/footer.css" media="all">
{{- if (or (eq .Site.Params.UseBootstrapCDN true) (eq .Site.Params.UseBootstrapCDN "css")) -}}
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
{{- else -}}
<link rel="stylesheet" href="{{ .Site.Params.staticPath }}/bootstrap-5/css/bootstrap.min.css" media="all">
{{- end -}}
<link rel="stylesheet" href="{{ .Site.Params.staticPath }}/css/header.css" media="all">
<link rel="stylesheet" href="{{ .Site.Params.staticPath }}/css/footer.css" media="all">
<!-- theme -->
<link rel="stylesheet" href="/css/theme.css" media="all">
<link rel="stylesheet" href="{{ .Site.Params.staticPath }}/css/theme.css" media="all">
<!-- Custom Styles -->
{{ if .Site.Params.customCSS }}
<link rel="stylesheet" href="/style.css">
<link rel="stylesheet" href="{{ .Site.Params.staticPath }}/style.css">
{{ end }}
<style>
+1 -1
View File
@@ -1,7 +1,7 @@
{{ if .Site.Params.achievements.enable | default false }}
<section id="achievements" class="py-5">
<div class="container">
<h3 class="text-center">Achievements</h3>
<h3 class="text-center">{{ .Site.Params.achievements.title | default "Achievements" }}</h3>
<div class="px-0 px-md-5 px-lg-5">
<div class="row justify-content-center px-3 px-md-5 px-lg-5">
{{ range .Site.Params.achievements.items }}
+1 -1
View File
@@ -1,7 +1,7 @@
{{ if .Site.Params.contact.enable | default false }}
<section id="contact" class="py-5">
<div class="container">
<h3 class="text-center">Get In Touch</h3>
<h3 class="text-center">{{ .Site.Params.contact.title | default "Get in Touch" }}</h3>
<div class="px-0 px-md-5 px-lg-5">
<div class="row justify-content-center px-md-5">
<div class="col-md-8 py-3">
+3 -1
View File
@@ -1,7 +1,7 @@
{{ if .Site.Params.education.enable | default false }}
<section id="education" class="py-5">
<div class="container">
<h3 class="text-center">Education</h3>
<h3 class="text-center">{{ .Site.Params.education.title | default "Education" }}</h3>
<div class="row justify-content-center py-5">
{{ $indexMenu := .Site.Params.education.index }}
{{ range $index, $element := .Site.Params.education.items }}
@@ -35,12 +35,14 @@
{{ .school.name }}
{{ end }}
{{ if .GPA }}
<div class="py-1">
GPA:
<i>
<small>{{ .GPA }}</small>
</i>
</div>
{{ end }}
<div class="py-1 education-content">
{{ .content | markdownify}}
</div>
+1 -3
View File
@@ -1,7 +1,7 @@
{{ if .Site.Params.experience.enable | default false }}
<section id="experience" class="py-5">
<div class="container">
<h3 class="text-center">Experience</h3>
<h3 class="text-center">{{ .Site.Params.experience.title | default "Experience" }}</h3>
<div class="row justify-content-center">
<div class="col-sm-12 col-md-8 col-lg-8 py-5">
<div class="experience-container px-3 pt-2">
@@ -12,7 +12,6 @@
<div
class="nav-link active bg-transparent"
aria-selected="true"
type="button"
role="tab"
data-bs-toggle="pill"
id='{{ replace .company " " "-" }}-{{ replace .date " " "-" }}-tab'
@@ -27,7 +26,6 @@
<div
class="nav-link bg-transparent"
aria-selected="true"
type="button"
role="tab"
data-bs-toggle="pill"
id='{{ replace .company " " "-" }}-{{ replace .date " " "-" }}-tab'
+6 -30
View File
@@ -48,65 +48,41 @@
<!-- navbar content -->
<div class="collapse navbar-collapse text-wrap primary-font" id="navbarContent">
<ul class="navbar-nav {{ .Site.Params.navbar.align | default "ms-auto"}} text-center">
{{
if and
(.Site.Params.about.enable | default false)
(not (.Site.Params.navbar.menus.disableAbout | default false))
}}
{{ if and (.Site.Params.about.enable | default false) (not (.Site.Params.navbar.menus.disableAbout | default false)) }}
<li class="nav-item navbar-text">
<a class="nav-link" href="{{ .Site.BaseURL | relURL }}#about" aria-label="about">About</a>
</li>
{{ end }}
{{
if and
(.Site.Params.experience.enable | default false)
(not (.Site.Params.navbar.menus.disableExperience | default false))
}}
{{ if and (.Site.Params.experience.enable | default false) (not (.Site.Params.navbar.menus.disableExperience | default false)) }}
<li class="nav-item navbar-text">
<a class="nav-link" href="{{ .Site.BaseURL | relURL }}#experience"
aria-label="experience">Experience</a>
</li>
{{ end }}
{{
if and
(.Site.Params.education.enable | default false)
(not (.Site.Params.navbar.menus.disableEducation | default false))
}}
{{ if and (.Site.Params.education.enable | default false) (not (.Site.Params.navbar.menus.disableEducation | default false)) }}
<li class="nav-item navbar-text">
<a class="nav-link" href="{{ .Site.BaseURL | relURL }}#education"
aria-label="education">Education</a>
</li>
{{ end }}
{{
if and
(.Site.Params.projects.enable | default false)
(not (.Site.Params.navbar.menus.disableEducation | default false))
}}
{{/* {{ if .Site.Params.projects.enable | default false }} */}}
{{ if and (.Site.Params.projects.enable | default false) (not (.Site.Params.navbar.menus.disableEducation | default false)) }}
<li class="nav-item navbar-text">
<a class="nav-link" href="{{ .Site.BaseURL | relURL }}#projects"
aria-label="projects">Projects</a>
</li>
{{ end }}
{{
if and
(.Site.Params.achievements.enable | default false)
(not (.Site.Params.navbar.menus.disableAchievements | default false))
}}
{{ if and (.Site.Params.achievements.enable | default false) (not (.Site.Params.navbar.menus.disableAchievements | default false)) }}
<li class="nav-item navbar-text">
<a class="nav-link" href="{{ .Site.BaseURL | relURL }}#achievements"
aria-label="achievements">Achievements</a>
</li>
{{ end }}
{{ if and
(.Site.Params.contact.enable | default false)
(not (.Site.Params.navbar.menus.disableContact | default false))
}}
{{ if and (.Site.Params.contact.enable | default false) (not (.Site.Params.navbar.menus.disableContact | default false)) }}
<li class="nav-item navbar-text">
<a class="nav-link" href="{{ .Site.BaseURL | relURL }}#contact"
aria-label="contact">Contact</a>
+2 -2
View File
@@ -1,5 +1,5 @@
{{ if .Site.Params.hero.enable | default false }}
<section id="hero" class="py-5">
<section id="hero" class="py-5 align-middle">
<div class="container px-3 px-sm-5 px-md-5 px-lg-5 pt-lg-3">
<div class="row">
<div class="col-sm-12 col-md-12 col-lg-8 content" id="primary-font">
@@ -18,7 +18,7 @@
<div class="row">
<div class="col-auto h-100">
{{ if .Site.Params.hero.button.enable }}
<a href="{{ .Site.Params.hero.button.url }}" class="btn">
<a href="{{ .Site.Params.hero.button.url }}" class="btn" {{ cond .Site.Params.hero.button.download "download" "" }}>
{{ .Site.Params.hero.button.name }}
</a>
{{ end }}
+1 -1
View File
@@ -1,7 +1,7 @@
{{ if .Site.Params.projects.enable | default false }}
<section id="projects" class="py-5">
<div class="container">
<h3 class="text-center">Projects</h3>
<h3 class="text-center">{{ .Site.Params.projects.title | default "Projects" }}</h3>
<div class="row justify-content-center px-3 px-md-5">
{{ range .Site.Params.projects.items }}
<div class="col-lg-4 col-md-6 my-3">
+2 -2
View File
@@ -1,9 +1,9 @@
{{ define "head" }}
<meta name="description" content="{{ .Title }} of {{ .Site.Title }}">
<link rel="stylesheet" href="/css/projects.css" media="all">
<link rel="stylesheet" href="{{ .Site.Params.staticPath }}/css/projects.css" media="all">
<!-- fontawesome -->
<script defer src="/fontawesome-5/all-5.15.4.js"></script>
<script defer src="{{ .Site.Params.staticPath }}/fontawesome-5/all-5.15.4.js"></script>
{{ end }}
{{ define "title" }}
File diff suppressed because one or more lines are too long
+252
View File
@@ -0,0 +1,252 @@
#single {
padding: 60px 0;
line-height: 1.7em;
font-size: 17px;
}
#single .title>h1 {
opacity: 0.8;
color: var(--text-color) !important;
}
#single .title small {
opacity: 0.7;
}
#single .featured-image {
padding: 1rem;
padding-top: 0;
}
#single .featured-image img {
border-radius: 1rem;
box-shadow: 0px 8px 56px rgba(15, 80, 100, 0.16);
margin-bottom: 1rem;
}
#single .page-content a {
display: inline-block;
text-decoration: none;
color: var(--primary-color) !important;
}
#single .page-content a::after {
content: "";
display: block;
width: 0px;
height: 2px;
bottom: 0.37em;
background-color: var(--primary-color);
transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
opacity: 0.5;
}
#single .page-content a:hover::after,
#single .page-content a:focus::after,
#single .page-content a:active::after {
width: 100%;
}
#single .page-content h1,
#single .page-content h2,
#single .page-content h3,
#single .page-content h4,
#single .page-content h5,
#single .page-content h6 {
color: var(--primary-color) !important;
margin-bottom: 0.7em;
opacity: 0.9;
}
#single .page-content blockquote {
padding: 20px 30px;
border-left: 6px solid var(--primary-color) !important;
color: var(--text-secondary-color) !important;
font-weight: 600;
font-size: 20px;
margin: 30px 0;
border-radius: 5px;
}
#single .page-content blockquote,
#single .page-content blockquote * {
background-color: var(--secondary-color) !important;
}
/* table */
#single .page-content table {
width: auto;
border-radius: 5px;
padding: 0.1rem;
margin-bottom: 1.2em;
max-width: 100%;
display: block;
overflow-x: auto;
opacity: 0.8;
}
#single .page-content table>tr {
height: 40px !important;
}
#single .page-content table>thead>tr>th {
padding: 0.5rem !important;
background-color: var(--primary-color) !important;
color: var(--secondary-color) !important;
border: 1px solid var(--secondary-color);
opacity: 0.9;
}
#single .page-content table>tbody>tr>td {
padding: 0.5rem !important;
border: 1px solid var(--secondary-color);
background-color: var(--secondary-color) !important;
opacity: 0.9;
}
#single .page-content table>thead>tr {
background-color: var(--secondary-color) !important;
color: var(--secondary-color) !important;
}
/* code */
#single .page-content pre {
border-radius: 0.7em !important;
margin: 5px;
margin-bottom: 2em;
padding: 2em;
background-color: var(--secondary-color) !important;
color: var(--text-secondary-color) !important;
max-height: 450px;
}
#single .page-content pre>code {
color: var(--text-secondary-color) !important;
}
#single .page-content code {
color: var(--primary-color) !important;
}
/* kbd and mark */
#single .page-content kbd {
color: var(--primary-color) !important;
background-color: var(--secondary-color) !important;
}
#single .page-content mark {
color: var(--primary-color) !important;
background-color: var(--secondary-color) !important;
}
/* list */
#single .page-content ol,
#single .page-content ul {
margin-bottom: 1.2em;
padding-left: 1.5em;
list-style-position: inside;
opacity: 0.9;
}
#single .page-content ol li li,
#single .page-content ul li li {
margin-bottom: 0.5em;
padding-left: 1.5em;
}
/* sidebar */
#single aside {
/* background-color: var(--secondary-color); */
border-radius: .7rem;
padding: .7rem 1rem;
margin-bottom: 1em;
}
#single .sticky-sidebar {
position: sticky;
top: 150px;
}
/* aboutImg */
#single aside.aboutImg {
padding: .7rem 1rem;
}
#single aside.aboutImg img {
border-radius: 1.5rem !important;
position: relative;
/* box-shadow: 0px 5px 25px rgba(0, 0, 0, 0.2); */
max-width: 100%;
}
@media (min-width: 768px) and (max-width: 1024px) {
#single aside.aboutImg img {
width: 60%;
}
}
#single aside.aboutImg h5 {
margin: .7em 0;
margin-bottom: 1em;
color: var(--text-color);
}
#single aside.aboutImg .img-icon img {
width: 1em;
}
#single aside.aboutImg .aboutImg-content {
margin-bottom: 1em;
opacity: 0.9;
}
#single aside.aboutImg .aboutImg-content ul {
margin-bottom: 1em;
opacity: 0.9;
}
#single aside.aboutImg .aboutImg-content ul li a {
border: 1px solid var(--primary-color);
padding: .7rem;
color: var(--text-color);
border-radius: 10px;
overflow: hidden;
}
#single aside.aboutImg .aboutImg-content ul li {
margin: .7rem .5rem;
margin-left: 0;
}
#single aside.aboutImg .aboutImg-content ul li:hover a {
opacity: .8;
color: var(--primary-color);
}
/* Top scroll */
#single #topScroll {
display: none;
position: fixed;
bottom: 20px;
right: 20px;
z-index: 99;
border: none;
outline: none;
background-color: var(--secondary-color);
color: var(--primary-color);
cursor: pointer;
border-radius: 10px;
}
#single #topScroll:hover {
background-color: var(--primary-color);
color: var(--secondary-color);
transition: .5s;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}
+7
View File
@@ -1,3 +1,8 @@
header {
z-index: 10;
position: relative;
}
header .navbar .navbar-nav a {
color: var(--text-color) !important;
}
@@ -39,6 +44,8 @@ li > .dropdown-toggle:focus{
}
.dropdown-menu {
overflow: auto;
/* z-index: 100; */
background-color: var(--background-color) !important;
border-color: var(--text-secondary-color) !important;
}
+3 -1
View File
@@ -75,7 +75,6 @@ header .navbar {
line-height: 2rem;
max-width: 100%;
}
#hero .content {
animation: fade-left 1s ease-out;
}
@@ -188,6 +187,8 @@ header .navbar {
width: 100%;
}
/* about me */
#about h3 {
color: var(--text-secondary-color) !important;
@@ -293,6 +294,7 @@ header .navbar {
border-bottom: 2px solid transparent;
border-radius: 0%;
transition: none;
cursor: pointer;
}
#experience .nav-item .nav-link.active {
+2 -2
View File
@@ -264,8 +264,8 @@
#single #topScroll {
display: none;
position: fixed;
bottom: 10px;
right: 10px;
bottom: 20px;
right: 20px;
z-index: 99;
border: none;
outline: none;