Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Footer fixed on the bottom always #10

Open
wants to merge 16 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ nav a {
}

.anchor--roadmap {
margin-top: -5rem; /*-80px*/
margin-top: -5rem; /* -80px */
padding-top: 5rem; /*80px*/
}

Expand All @@ -58,7 +58,6 @@ nav a {
margin-top: 0rem; /*0px*/
padding-top: 0rem; /*0px*/
}

}

.active-bio {
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion layouts/_default/baseof.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="{{ or site.Language.LanguageCode }}" dir="{{ or site.Language.LanguageDirection `ltr` }}">
<html lang="{{ or site.LanguageCode }}" dir="{{ or site.Language.LanguageDirection `ltr` }}">
<head>
{{ partial "head.html" . }}
</head>
Expand Down
2 changes: 1 addition & 1 deletion layouts/_default/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ <h3 class="text-2xl mb-4">{{ .firstName }} {{ .lastName }}</h3>
</div>
</div>
<!-- ROADMAP -->
<div id="roadmap" class="anchor anchor--roadmap">
<div id="roadmap" class="anchor h-fit anchor--roadmap">
<div class="bg-white">
<div id="roadmap-content" class="container pt-[40px] sm:pt-[120px] sm:pb-0 grid grid-cols-1 lg:grid-cols-2 gap-10">
<div id="roadmap-intro-column">
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
<div class="container">
<p>Copyright © Hiero a Series of LF Projects, LLC | For web site terms of use, trademark policy and other project policies please see <a href="https://lfprojects.org" target="_blank" rel="noreferrer noopener" class="text-white-dark">https://lfprojects.org</a>.</p>
</div>
</div>
</div>
18 changes: 17 additions & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,20 @@ command = "hugo"
publish = "public"

[build.environment]
HUGO_VERSION = "0.133.1"
HUGO_VERSION = "0.133.1"


[[headers]]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you give some information about the additions in the netlify file. I have no idea what headers and redirects this does.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah I think netlify rule is there, we need to add, headers and redirects

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry I do not understand what you mean. Do you have a link to a documentation for that?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would help to refer to the documentation on redirect options provided by Netlify.

Netlify Redirect and Headers

As you can see in the initial stage, the Redirects and Headers columns are in a neutral state—they don't have the green check mark. At that time, I checked the documentation, and it mentioned that you need to add redirects and headers in the configuration file.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If it's not needed, I can remove it from the configuration file. Let me know what to do.

for = "/*"
[headers.values]
X-Frame-Options = "DENY"
X-Content-Type-Options = "nosniff"
X-XSS-Protection = "1; mode=block"


[[redirects]]
from = "/old-page"
to = "/new-page"
status = 301
force = true

2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 14 additions & 1 deletion static/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -633,6 +633,10 @@ video {
top: 35px;
}

.bottom-0 {
bottom: 0px;
}

.z-10 {
z-index: 10;
}
Expand All @@ -650,6 +654,10 @@ video {
margin-bottom: 2.5rem;
}

.mb-2 {
margin-bottom: 0.5rem;
}

.mb-2\.5 {
margin-bottom: 0.625rem;
}
Expand Down Expand Up @@ -750,6 +758,11 @@ video {
height: 90px;
}

.h-fit {
height: -moz-fit-content;
height: fit-content;
}

.h-full {
height: 100%;
}
Expand Down Expand Up @@ -1259,7 +1272,7 @@ nav a {

.anchor--roadmap {
margin-top: -5rem;
/*-80px*/
/* -80px */
padding-top: 5rem;
/*80px*/
}
Expand Down