Enabled home page and reduced landing page's image size

This commit is contained in:
Sharwin Patil 2025-01-01 20:13:49 -08:00
parent 7769520f21
commit 9c45815cdf
5 changed files with 13 additions and 12 deletions

View file

@ -1,5 +1,5 @@
.home {
height: 100vh;
height: 70vh;
padding: 0;
margin: 0;
color: get-light-color('text-over-accent-color');

View file

@ -1,9 +1,10 @@
# some information about you
name: "Sharwin Patil"
# nickname: "Sharwin"
nickname: "Sharwin"
# greeting message before your name. it will default to "Hi! I am" if not provided
# greeting: "Hey I'm"
# image: "images/author/sharwin_portrait.jpg"
greeting: "Hey! I'm"
subtitle: "Currently pursuing a Master's in Robotics at Northwestern University"
image: "images/sharwin_portrait.jpg"
# give your some contact information. they will be used in the footer
contactInfo:
email: "sharwin24@gmail.com"
@ -13,7 +14,7 @@ contactInfo:
# researchgate: john-doe
# some summary about what you do
# summary:
# - a Software Developer
# - an Open Source Contributor
# - a Roboticist
summary:
- a Roboticist
- a Software Developer
- an Open Source Contributor

View file

@ -33,6 +33,8 @@ module:
# Site parameters
params:
# Background image of the landing page
background: /images/kavar_background.jpg
# Provide logos for your site. The inverted logo will be used in the initial
# transparent navbar and the main logo will be used in the non-transparent navbar.
logo:

View file

@ -31,7 +31,7 @@
{{- partial "navigators/navbar.html" . -}}
<!--- ADD HOME SECTION ---------------->
<!-- {{- partial "sections/home.html" . -}} -->
{{- partial "sections/home.html" . -}}
<!--- ADD OPTIONAL SECTIONS ----------->
{{ $sections:= site.Data.sections }}

View file

@ -146,9 +146,7 @@ namespaced by their corresponding feature.
{{ $params := dict }}
{{/* set NODE_ENV depending on if we are building for production use. */}}
{{ $defines = $defines | merge (dict
"process.env.NODE_ENV" (cond hugo.IsProduction `"production"` `"development"` )
)}}
{{ $defines = $defines | merge (dict "process.env.NODE_ENV" (cond hugo.IsProduction `"production"` `"development"` ))}}
{{/* Go through each feature defined in our config.yml/config.toml/config.json file. */}}
{{ range $feature, $featureDef := site.Params.features }}