Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gurusabarish/hugo-profile.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgurusabarish <gurusabarisha@gmail.com>2020-09-10 05:59:52 +0300
committergurusabarish <gurusabarisha@gmail.com>2020-09-10 05:59:52 +0300
commit202079b9b187d496e4bc7cce14c9596751d3ce6c (patch)
tree579c1a64ac828aaefa36658aac6ae4288cdb9ef0
parentc46f42e09e1ec3ef70b801a2fd16d90287c7dfa4 (diff)
projects
-rw-r--r--config.toml38
-rw-r--r--config.yaml56
-rw-r--r--data/sections/projects.yaml56
-rw-r--r--layouts/index.html1
-rw-r--r--layouts/partials/header.html10
-rw-r--r--layouts/partials/sections/projects.html18
-rw-r--r--static/css/index.css22
-rw-r--r--static/images/project.pngbin0 -> 65493 bytes
8 files changed, 157 insertions, 44 deletions
diff --git a/config.toml b/config.toml
deleted file mode 100644
index 4a9c0c4..0000000
--- a/config.toml
+++ /dev/null
@@ -1,38 +0,0 @@
-baseURL = "https://hugo-blog0.netlify.app/"
-languageCode = "en-us"
-title = "Hugo-blog"
-
-[params]
- favicon = "/images/hugo.png"
- description = "Portfolio and personal blog of gurusabarish"
-
- # Home
- name = "Gurusabarish"
- profile = "/images/avatar-370-456322.webp"
- github = "https://github.com/gurusabarish"
- linkedin = "https://linkedin.com/in/gurusabarish"
- twitter = "https://twitter.com/gurusabarishh"
- instagram = "https://instagram.com/gurusabarishh"
-
- # Do things { Please change the svg icons width="3em" height="3em" }
- thing1 = "Python"
- thing2 = "Machine learning"
- thing3 = "Build things for web"
- thing1_des = "I build something beautiful using python."
- thing2_des = "I train robust models for various tasks."
- thing3_des = "I love to build things for web."
-
- # About
- profile_image = "/images/gurusabarish.jpg"
- jop = "Web developer"
- jops_about = "web developer and ML engineer"
- resume = ""
-
-# Navbar Menus
-[[menu.main]]
-name = "Blog"
-url = "blog"
-
-[Author]
- name = "Gurusabarish"
- website = "https://github.com/gurusabarish" \ No newline at end of file
diff --git a/config.yaml b/config.yaml
new file mode 100644
index 0000000..6d47ed1
--- /dev/null
+++ b/config.yaml
@@ -0,0 +1,56 @@
+baseURL: "https://hugo-blog0.netlify.app/"
+languageCode: "en-us"
+title: "Hugo-blog"
+
+
+
+
+params:
+ favicon: "/images/hugo.png"
+ description: "Portfolio and personal blog of gurusabarish"
+
+ # Navbar Menus
+ customMenus:
+ - name: "Blog"
+ url: "blog"
+
+ # Home
+ name: "Gurusabarish"
+ profile: "/images/avatar-370-456322.webp"
+ github: "https://github.com/gurusabarish"
+ linkedin: "https://linkedin.com/in/gurusabarish"
+ twitter: "https://twitter.com/gurusabarishh"
+ instagram: "https://instagram.com/gurusabarishh"
+
+ # Do things { Please change the svg icons width="3em" height="3em" }
+ thing1: "Python"
+ thing2: "Machine learning"
+ thing3: "Build things for web"
+ thing1_des: "I build something beautiful using python."
+ thing2_des: "I train robust models for various tasks."
+ thing3_des: "I love to build things for web."
+
+ # About
+ profile_image: "/images/gurusabarish.jpg"
+ jop: "Web developer"
+ jops_about: "web developer and ML engineer"
+ resume: ""
+
+ projects:
+ - title: "Project 1"
+ image: "/images/project.png"
+ description: "this is your description"
+
+ - title: "Project 1"
+ image: "/images/project.png"
+ description: "this is your description"
+
+
+Author:
+ name: "Gurusabarish"
+ website: "https://github.com/gurusabarish"
+
+
+
+
+ \ No newline at end of file
diff --git a/data/sections/projects.yaml b/data/sections/projects.yaml
new file mode 100644
index 0000000..420d3c9
--- /dev/null
+++ b/data/sections/projects.yaml
@@ -0,0 +1,56 @@
+projects:
+
+- title: = "Project 1"
+ image: "/images/project.png"
+ description: "this is your description"
+
+- title: "Project 1"
+ image: "/images/project.png"
+ description: "this is your description"
+
+baseURL: "https://hugo-blog0.netlify.app/"
+languageCode: "en-us"
+title: "Hugo-blog"
+
+params:
+ favicon: "/images/hugo.png"
+ description: "Portfolio and personal blog of gurusabarish"
+
+ # Home
+ name: "Gurusabarish"
+ profile: "/images/avatar-370-456322.webp"
+ github: "https://github.com/gurusabarish"
+ linkedin: "https://linkedin.com/in/gurusabarish"
+ twitter: "https://twitter.com/gurusabarishh"
+ instagram: "https://instagram.com/gurusabarishh"
+
+ # Do things { Please change the svg icons width="3em" height="3em" }
+ thing1: "Python"
+ thing2: "Machine learning"
+ thing3: "Build things for web"
+ thing1_des: "I build something beautiful using python."
+ thing2_des: "I train robust models for various tasks."
+ thing3_des: "I love to build things for web."
+
+ # About
+ profile_image: "/images/gurusabarish.jpg"
+ jop: "Web developer"
+ jops_about: "web developer and ML engineer"
+ resume: ""
+
+
+
+
+# Navbar Menus
+menu.main:
+ name: "Blog"
+ url: "blog"
+
+Author:
+ name: "Gurusabarish"
+ website: "https://github.com/gurusabarish"
+
+
+
+
+ \ No newline at end of file
diff --git a/layouts/index.html b/layouts/index.html
index 8a62519..f3c0f5a 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -24,6 +24,7 @@
{{- partial "sections/about.html" . -}}
{{- partial "sections/do_things.html" . -}}
{{- partial "sections/skill.html" . -}}
+ {{- partial "sections/projects.html" . -}}
{{- partial "footer.html" . -}}
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 4cd795b..8fbc9ba 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -9,18 +9,18 @@
<div class="collapse navbar-collapse" id="navbarNavDropdown">
<ul class="navbar-nav ml-auto">
<li class="nav-item">
- <a class="nav-link" href="#home">Home</a>
+ <a class="nav-link" href="{{ .Site.BaseURL }}#home">Home</a>
</li>
<li class="nav-item">
- <a class="nav-link" href="#about">About</a>
+ <a class="nav-link" href="{{ .Site.BaseURL }}#about">About</a>
</li>
<li class="nav-item">
- <a class="nav-link" href="#skill">Skill</a>
+ <a class="nav-link" href="{{ .Site.BaseURL }}#projects">Projects</a>
</li>
- {{ range .Site.Menus.main }}
+ {{ range site.Params.customMenus }}
<li class="nav-item">
- <a class="nav-link" href="{{ .URL | absURL }}">{{ .Name }}</a>
+ <a class="nav-link" href="{{ .Site.BaseURL }}{{.url}}">{{ .name }}</a>
</li>
{{ end }}
</ul>
diff --git a/layouts/partials/sections/projects.html b/layouts/partials/sections/projects.html
new file mode 100644
index 0000000..ef926bb
--- /dev/null
+++ b/layouts/partials/sections/projects.html
@@ -0,0 +1,18 @@
+<section>
+ <div class="projects p-3" id="projects">
+ <div class="project-heading text-center container">Projects</div>
+
+ <div class="container p-2">
+ {{ range .Site.Params.projects }}
+ <div class="card mb-3">
+ <img class="card-img-top" src="{{ .image }}" alt="Card image cap">
+ <div class="card-body">
+ <h5 class="card-title">{{ .title }}</h5>
+ <p class="card-text">{{ .description }}</p>
+ <p class="card-text"><small class="text-muted">Last updated 3 mins ago</small></p>
+ </div>
+ </div>
+ {{ end }}
+ </div>
+ </div>
+</section> \ No newline at end of file
diff --git a/static/css/index.css b/static/css/index.css
index cda89ea..4a5e5c9 100644
--- a/static/css/index.css
+++ b/static/css/index.css
@@ -142,6 +142,7 @@
/* Skill */
.skill {
height: 80vh;
+ background-color: #e5e9f2;
}
.skill-heading {
@@ -149,4 +150,23 @@
font-size: 25px;
}
-/* Projects */ \ No newline at end of file
+/* Projects */
+.projects {
+ height: auto;
+}
+
+.project-heading {
+ font-family: 'Alata', sans-serif;
+ font-size: 25px;
+}
+
+.card-img-top {
+ width: 100% !important;
+ height: 350px !important;
+}
+
+@media only screen and (max-width: 600px) {
+ .card-img-top {
+ height: 180px !important;
+ }
+} \ No newline at end of file
diff --git a/static/images/project.png b/static/images/project.png
new file mode 100644
index 0000000..756f73a
--- /dev/null
+++ b/static/images/project.png
Binary files differ