Skip to content

Updated footer section #123

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

Open
wants to merge 2 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
127 changes: 127 additions & 0 deletions config/_default/footer.en.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
menu:
footer:
- name: University
url: /about/
identifier: university
weight: 100
- name: Bogazici University
url: https://www.boun.edu.tr/
identifier: bogazici-university
parent: university
weight: 101
- name: Academic Calendar
url: https://academiccalendar.boun.edu.tr/
identifier: academic-calendar
parent: university
weight: 102
- name: Library
url: https://library.bogazici.edu.tr/
identifier: library
parent: university
weight: 103
- name: Registration
url: https://registration.boun.edu.tr/
identifier: registration
parent: university
weight: 104
- name: Moodle
url: https://moodle.bogazici.edu.tr/
identifier: moodle
parent: university
weight: 105
- name: School of Foreign Languages
url: https://yadyok.bogazici.edu.tr/
identifier: school-of-foreign-languages
parent: university
weight: 106
- name: Dining Hall
url: https://yemekhane.bogazici.edu.tr/
identifier: dining-hall
parent: university
weight: 107

- name: Undergraduate
url: /undergraduate/
identifier: undergraduate-footer
weight: 200
- name: Double Major
url: /undergraduate/double-major
identifier: undergraduate-double-major-footer
parent: undergraduate-footer
weight: 201
- name: Elective Courses
url: /undergraduate/electives
identifier: undergraduate-elective-courses-footer
parent: undergraduate-footer
weight: 202
- name: Curriculum
url: /undergraduate/curriculum
identifier: undergraduate-curriculum-footer
parent: undergraduate-footer
weight: 203
- name: Industrial Training
url: /undergraduate/industrial-training
identifier: undergraduate-training-footer
parent: undergraduate-footer
weight: 204
- name: Senior Projects
url: /undergraduate/senior-projects
identifier: undergraduate-senior-projects-footer
parent: undergraduate-footer
weight: 205
- name: Graduation
url: /undergraduate/graduation
identifier: undergraduate-graduation-footer
parent: undergraduate-footer
weight: 206
- name: Exchange Programs
url: /undergraduate/exchange-programs
identifier: undergraduate-exchange-footer
parent: undergraduate-footer
weight: 207
- name: Minor Degree Programs
url: /undergraduate/minor-degree-programs
identifier: undergraduate-minor-degree-footer
parent: undergraduate-footer
weight: 208

- name: Graduate
url: /graduate/
identifier: graduate-footer
weight: 300
- name: PhD Program Overview
url: /graduate/phd-program
identifier: graduate-phd-program-footer
parent: graduate-footer
weight: 301
- name: MS Program Overview
url: /graduate/ms-program
identifier: graduate-ms-program-footer
parent: graduate-footer
weight: 302
- name: Other Affiliated Programs
url: /graduate/other-programs
identifier: graduate-affiliated-footer
parent: graduate-footer
weight: 303

- name: Staff
url: /staff/
identifier: staff-footer
weight: 400
- name: Faculty
url: /people/faculty/
identifier: faculty-footer
parent: staff-footer
weight: 401
- name: Academic Staff
url: /people/academic-staff/
identifier: academic-staff-footer
parent: staff-footer
weight: 402
- name: Support Staff
url: /people/support-staff/
identifier: support-staff-footer
parent: staff-footer
weight: 403

127 changes: 127 additions & 0 deletions config/_default/footer.tr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
menu:
footer:
- name: Üniversite
url: /about/
identifier: university
weight: 100
- name: Boğaziçi Üniversitesi
url: https://www.boun.edu.tr/
identifier: bogazici-university
parent: university
weight: 101
- name: Akademik Takvim
url: https://academiccalendar.boun.edu.tr/
identifier: academic-calendar
parent: university
weight: 102
- name: Kütüphane
url: https://library.bogazici.edu.tr/
identifier: library
parent: university
weight: 103
- name: Kayıt İşleri
url: https://registration.boun.edu.tr/
identifier: registration
parent: university
weight: 104
- name: Moodle
url: https://moodle.bogazici.edu.tr/
identifier: moodle
parent: university
weight: 105
- name: Yabancı Diller Yüksekokulu
url: https://yadyok.bogazici.edu.tr/
identifier: school-of-foreign-languages
parent: university
weight: 106
- name: Yemekhane
url: https://yemekhane.bogazici.edu.tr/
identifier: dining-hall
parent: university
weight: 107

- name: Lisans
url: /undergraduate/
identifier: undergraduate-footer
weight: 200
- name: Çift Ana Dal Programları
url: /undergraduate/double-major
identifier: undergraduate-double-major-footer
parent: undergraduate-footer
weight: 201
- name: Seçmeli Dersler
url: /undergraduate/electives
identifier: undergraduate-elective-courses-footer
parent: undergraduate-footer
weight: 202
- name: Öğretim Programı
url: /undergraduate/curriculum
identifier: undergraduate-curriculum-footer
parent: undergraduate-footer
weight: 203
- name: Endüstri Stajı
url: /undergraduate/industrial-training
identifier: undergraduate-training-footer
parent: undergraduate-footer
weight: 204
- name: Bitirme Projeleri
url: /undergraduate/senior-projects
identifier: undergraduate-senior-projects-footer
parent: undergraduate-footer
weight: 205
- name: Mezuniyet
url: /undergraduate/graduation
identifier: undergraduate-graduation-footer
parent: undergraduate-footer
weight: 206
- name: Değişim Programları
url: /undergraduate/exchange-programs
identifier: undergraduate-exchange-footer
parent: undergraduate-footer
weight: 207
- name: Yan Dal Programları
url: /undergraduate/minor-degree-programs
identifier: undergraduate-minor-degree-footer
parent: undergraduate-footer
weight: 208

- name: Lisansüstü
url: /graduate/
identifier: graduate-footer
weight: 300
- name: Doktora Programı
url: /graduate/phd-program
identifier: graduate-phd-program-footer
parent: graduate-footer
weight: 301
- name: Yüksek Lisans Programı
url: /graduate/ms-program
identifier: graduate-ms-program-footer
parent: graduate-footer
weight: 302
- name: Diğer İlişkili Programlar
url: /graduate/other-programs
identifier: graduate-affiliated-footer
parent: graduate-footer
weight: 303

- name: Kadro
url: /staff/
identifier: staff-footer
weight: 400
- name: Öğretim Üyeleri
url: /people/faculty/
identifier: faculty-footer
parent: staff-footer
weight: 401
- name: Akademik Personel
url: /people/academic-staff/
identifier: academic-staff-footer
parent: staff-footer
weight: 402
- name: İdari ve Yardımcı Personel
url: /people/support-staff/
identifier: support-staff-footer
parent: staff-footer
weight: 403

66 changes: 34 additions & 32 deletions layouts/partials/footer/footer.html
Original file line number Diff line number Diff line change
@@ -1,32 +1,34 @@
<footer class="container footer text-center p-4">
<div class="row">
{{ range site.Menus.footer }}
<div class="col-12 col-md-3 mb-3 d-none d-lg-block">
<h5 class="mb-4">{{- .Name -}}</h5>
<ul class="nav flex-column">
{{ range .Children }}
<li class="nav-item mb-2">
<a href="{{ .URL }}" class="nav-link p-0 link-light text-muted">{{- .Name -}}</a>
</li>
{{ end }}
</ul>
</div>
{{ end }}
</div>
<div class="d-flex flex-column flex-sm-row justify-content-between py-4 my-4 border-top ">
<p>{{ replace site.Copyright "{year}" now.Year }}</p>
<ul class="list-unstyled d-flex">
{{range site.Params.social }}
<li class="ms-3">
<a href="{{- .url -}}">
<img src="/icons/{{ .icon }}.svg" alt="{{- .identifier -}}" width="24"
height="24">
</a>
</li>
{{ end }}
</ul>
</div>
{{ if .Params.hasMermaid }}
{{ partial "footer/optional-scripts.html" . }}
{{ end }}
</footer>
<footer class="container footer text-center p-4 text-primary border-top mt-5">
<div class="row justify-content-start">
{{ range .Site.Menus.footer }}
<div class="col-12 col-md-3 mb-3 mt-3">
<p class="mb-2 text-start fs-6 text-dark fw-bolder">{{ .Name }}</p>
{{ if .HasChildren }}
<ul class="list-unstyled text-start fs-6 text-dark">
{{ range .Children }}
<li class="mb-2">
<a href="{{ .URL }}" class="link-opacity-75 link-opacity-100-hover">{{ .Name }}</a>
</li>
{{ end }}
</ul>
{{ end }}
</div>
{{ end }}
</div>

<div class="d-flex flex-column flex-sm-row justify-content-between text-dark py-4 my-4 border-top">
<p class="fs-6 opacity-75">{{ replace site.Copyright "{year}" now.Year }}</p>
<ul class="list-unstyled d-flex">
{{ range site.Params.social }}
<li class="ms-3">
<a href="{{ .url }}">
<img src="/icons/{{ .icon }}.svg" alt="{{ .identifier }}" width="24" height="24">
</a>
</li>
{{ end }}
</ul>
</div>
{{ if .Params.hasMermaid }}
{{ partial "footer/optional-scripts.html" . }}
{{ end }}
</footer>