Skip to content

Commit

Permalink
fix hero backgrounds
Browse files Browse the repository at this point in the history
  • Loading branch information
bendichter committed Nov 19, 2024
1 parent 3b6dd8d commit e967906
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 13 deletions.
6 changes: 3 additions & 3 deletions admin/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1016,9 +1016,9 @@ collections:
widget: "markdown"


- name: "privacy-policy"
label: "Privacy Policy"
file: "content/privacy-policy/_index.md"
- name: "policies"
label: "Policies"
file: "content/policies/_index.md"
create: true
fields:
- label: "Title"
Expand Down
2 changes: 1 addition & 1 deletion content/grants-and-projects/_index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Grants And Projects
title: Grants and Projects
sponsered_projects:
enable: true
boxes:
Expand Down
File renamed without changes.
3 changes: 2 additions & 1 deletion layouts/contact-us/list.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{{ define "main" }}
{{/* Hero Section */}}
<section class="hero teamSect d-flex justify-content-center align-items-center position-relative" style="background: radial-gradient(#063053e5, #062e52e5), url('/images/essentials/publicationsBg.png');">
<section class="hero teamSect d-flex justify-content-center align-items-center position-relative"
style="background: radial-gradient(#063053e5, #062e52e5), url('/images/essentials/aboutBg.png');">
<h1 class="inter-700 text-48 text-white text-center z-4">{{ .Title | markdownify }}</h1>
<div class="position-absolute ellipses">
<img src="/images/essentials/ellipses.png" alt="" class="ellipseW">
Expand Down
2 changes: 1 addition & 1 deletion layouts/converting-data-to-nwb/list.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{ define "main" }}
{{/* Hero Section */}}
<section class="hero teamSect d-flex justify-content-center align-items-center position-relative"
style="background: radial-gradient(#063053e5, #062e52e5), url('/images/essentials/usingnwbBg.png');">
style="background: radial-gradient(#063053e5, #062e52e5), url('/images/essentials/aboutBg.png');">
<div class="container-lg">
<h1 class="inter-700 text-48 text-white z-4">{{ .Title | markdownify }}</h1>
</div>
Expand Down
2 changes: 1 addition & 1 deletion layouts/grants-and-projects/list.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{ define "main" }}
{{/* Hero Section */}}
<section class="hero teamSect d-flex justify-content-center align-items-center position-relative"
style="background: radial-gradient(#063053e5, #062e52e5), url('/images/essentials/gnpBg.png');">
style="background: radial-gradient(#063053e5, #062e52e5), url('/images/essentials/aboutBg.png');">
<h1 class="inter-700 text-48 text-white text-center z-4">{{ .Title | markdownify }}</h1>
<div class="position-absolute ellipses">
<img src="/images/essentials/ellipses.png" alt="" class="ellipseW">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{ define "main" }}
{{/* Hero Section */}}
<section class="hero teamSect d-flex justify-content-center align-items-center position-relative"
style="background: radial-gradient(#063053e5, #062e52e5), url('/images/essentials/policiesBg.png');">
style="background: radial-gradient(#063053e5, #062e52e5), url('/images/essentials/aboutBg.png');">
<h1 class="inter-700 text-48 text-white text-center z-4">{{ .Title | markdownify }}</h1>
<div class="position-absolute ellipses">
<img src="/images/essentials/ellipses.png" alt="" class="ellipseW">
Expand Down
2 changes: 1 addition & 1 deletion layouts/publications/list.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{ define "main" }}
{{/* Hero Section */}}
<section class="hero teamSect d-flex justify-content-center align-items-center position-relative"
style="background: radial-gradient(#063053e5, #062e52e5), url('/images/essentials/publicationsBg.png');">
style="background: radial-gradient(#063053e5, #062e52e5), url('/images/essentials/aboutBg.png');">
<h1 class="inter-700 text-48 text-white text-center z-4">{{ .Title | markdownify }}</h1>
<div class="position-absolute ellipses">
<img src="/images/essentials/ellipses.png" alt="" class="ellipseW">
Expand Down
6 changes: 3 additions & 3 deletions layouts/team/list.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{{ define "main" }}
{{/* Hero Section */}}
<section class="hero teamSect d-flex justify-content-center align-items-center position-relative" style="background: radial-gradient(#063053e5, #062e52e5), url('/images/essentials/teamBg.png');">
<section class="hero teamSect d-flex justify-content-center align-items-center position-relative" style="background: radial-gradient(#063053e5, #062e52e5), url('/images/essentials/aboutBg.png');">
<h1 class="inter-700 text-48 text-white text-center z-4">{{ .Title | markdownify }}</h1>
<div class="position-absolute ellipses">
<img src="/images/essentials/ellipses.png" alt="" class="ellipseW">
</div>
</section>
{{/* End Hero Section */}}

{{/* Goverance Section */}}
{{/* Governance Section */}}
{{ with .Params.governance_section }}
{{ if .enable }}
<section class="section">
Expand All @@ -19,7 +19,7 @@ <h3 class="inter-700 text-40 dark-900">{{ .title | markdownify }}</h3>
</section>
{{ end }}
{{ end }}
{{/* End Goverance Section */}}
{{/* End Governance Section */}}

{{/* Executive Board Section */}}
{{ with .Params.executive_section }}
Expand Down
2 changes: 1 addition & 1 deletion layouts/working-groups/list.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{ define "main" }}
{{/* Hero Section */}}
<section class="hero teamSect d-flex justify-content-center align-items-center position-relative"
style="background: radial-gradient(#063053e5, #062e52e5), url('/images/essentials/working-groups-bg.png');">
style="background: radial-gradient(#063053e5, #062e52e5), url('/images/essentials/aboutBg.png');">
<h1 class="inter-700 text-48 text-white text-center z-4">{{ .Title | markdownify }}</h1>
<div class="position-absolute ellipses">
<img src="/images/essentials/ellipses.png" alt="" class="ellipseW">
Expand Down

0 comments on commit e967906

Please sign in to comment.