Skip to content

Commit 44063b3

Browse files
committed
-- added open source sections
-- minoor refactorings.
1 parent d86ca46 commit 44063b3

File tree

15 files changed

+144
-8
lines changed

15 files changed

+144
-8
lines changed

_data/bio.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"basics": {
33
"name": "Pradeep Kumar G",
4-
"label": "Senior Software Developer",
4+
"label": "Senior Software Engineer",
55
"picture": "https://github.com/deepPublicGit.png",
66
"email": "[email protected]",
77
"phone": "",

_includes/about/social.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
{% else %}
55
<a href="{{ url }}" target="_blank">
66
{% endif %}
7-
<svg class="tf-social">
7+
<svg class="tf-social" id="{{include.name}}">
88
<use xlink:href="{{ '/img/bootstrap-icons.svg' | prepend: site.baseurl }}#{{- include.name -}}"/>
99
</svg>
1010
<span>{{ include.label }}</span>

_includes/header.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@
33
<a class="navbar-brand" href="{{ '/' | prepend: site.baseurl }}">{{ site.data.bio.basics.name }}</a>
44
<div class="ms-auto">
55
<ul class="navbar-nav mb-2 mb-lg-0">
6+
<a class="nav-link" href="{{ '/' | prepend: site.baseurl }}">Home</a>
67
<a class="nav-link" href="{{ '/#projects' | prepend: site.baseurl }}">Projects</a>
8+
<a class="nav-link" href="{{ '/#opensource' | prepend: site.baseurl }}">Open Source</a>
79
<a class="nav-link" style="padding-right: 4px;" href="{{ '/resume.html' | prepend: site.baseurl }}" title="Resume: view page">Resume</a>
8-
<a class="nav-link" style="padding-left: 0px;" href="{{ site.data.bio.basics.resumeUrlPdf }}" target="_blank" title="Resume: download PDF"><svg class="tf-social">
10+
<a class="nav-link" style="padding-left: 4px;" href="{{ site.data.bio.basics.resumeUrlPdf }}" target="_blank" title="Resume: download PDF"><svg class="tf-social">
911
<use xlink:href="{{ '/img/bootstrap-icons.svg' | prepend: site.baseurl }}#filetype-pdf"/>
1012
</svg>
1113
</a>
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<div style="background-color: {{ include.bg-color | default: 'var(--bs-white)' }}" class="bg-gradient py-3" id="opensource">
2+
<div class="container">
3+
<div class="row mb-3">
4+
<div class="col-md-6">
5+
<h1 class="display-4 text-start">Open Source</h1>
6+
</div>
7+
</div>
8+
9+
<div class="row g-3">
10+
{% assign project_pages = site.pages | where: "type", "opensource" | sort: "date" | reverse %}
11+
{% for page in project_pages %}
12+
{% unless page.draft %}
13+
<div class="col-md-6">
14+
{% include projects/project-card.html page=page %}
15+
</div>
16+
{% endunless %}
17+
{% if forloop.index == include.limit %}
18+
{% break %}
19+
{% endif %}
20+
{% endfor %}
21+
</div>
22+
23+
{% assign not_draft = 0 %}
24+
{% for page in project_pages %}
25+
{% unless page.draft %}
26+
{% assign not_draft = not_draft | plus: 1 %}
27+
{% endunless %}
28+
{% endfor %}
29+
30+
{% if not_draft > include.limit %}
31+
<p class="text-center pt-4"><a href="{{ site.baseurl}}/opensource/">See all {{ not_draft }} contributions</a></p>
32+
{% endif %}
33+
34+
</div>
35+
</div>

_layouts/default.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
{%- endif -%}
1515
{%- endif -%}
1616

17-
<!doctype html>
1817
<html lang="en">
1918
<head>
2019
<meta charset="utf-8">

_layouts/home.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
---
44
{% include header.html %}
55
{{ content }}
6-
{% include footer.html %}
6+
{% include footer.html %}

_layouts/opensource.html

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
layout: home
3+
---
4+
5+
<div class="container py-4">
6+
<h1 class="display-4">{{ page.title }}</h1>
7+
8+
{% for label in page.labels %}
9+
<span style="background-color: var(--tf-pill-bg)" class="badge rounded-pill">{{ label }}</span>
10+
{% endfor %}
11+
</p>
12+
13+
<p><a href="{{ page.repourl }}" target="_blank">Visit my repo</a></p>
14+
15+
{{ content }}
16+
</div>
17+
18+
<p class="text-center pt-4"><a href="{{ site.baseurl}}/opensource/">See all contributions</a></p>

_layouts/project.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ <h1 class="display-4">{{ page.title }}</h1>
1010
{% endfor %}
1111
</p>
1212

13-
<p><a href="{{ page.repourl }}" target="_blank">Visit my repo</a></p>
13+
<p><a href="{{ page.repourl }}" target="_blank">Visit repo</a></p>
1414

1515
{{ content }}
1616
</div>

css/techfolio-theme/default.css

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@
55

66
/* See https://getbootstrap.com/docs/5.2/customize/css-variables/#root-variables for variables to override. */
77
:root {
8+
--linkedin-blue: #0077B5;
89
--bs-font-sans-serif: "Open Sans", sans-serif;
910
--bs-link-color: var(--bs-blue);
1011
--tf-pill-bg: var(--bs-gray);
1112
--tf-icon-fill: var(--bs-gray);
12-
--tf-icon-hover: var(--bs-gray-500);
13+
--tf-icon-hover: var(--bs-black);
14+
--tf-icon-linkedin-hover: var(--linkedin-blue);
1315
--tf-page-bg-color: var(--bs-white);
1416
--tf-footer-bg-color: var(--bs-gray-200);
1517
--tf-projects-bg-color: var(--bs-gray-100);
@@ -30,6 +32,10 @@
3032
fill: var(--tf-icon-hover);
3133
}
3234

35+
.tf-social#linkedin:hover {
36+
fill: var(--tf-icon-linkedin-hover);
37+
}
38+
3339
a {
3440
text-decoration: none;
3541
}

img/opensource/kestra-icon.png

5.36 KB
Loading

0 commit comments

Comments
 (0)