Skip to content

Commit

Permalink
Simplify style: hide page titles.
Browse files Browse the repository at this point in the history
  • Loading branch information
feitosa-daniel committed Oct 12, 2024
1 parent fbdac1d commit 2d97fc5
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 3 deletions.
5 changes: 3 additions & 2 deletions _layouts/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
layout: default
---

<div class="container mx-auto px-4 pt-[100px] mb-6">
<h1 class="text-4xl lg:text-5xl mt-0">{{page.title}}</h1>
<!-- If h1 is not hidden, use pt-[100px] -->
<div class="container mx-auto px-4 pt-[60px] mb-6">
<h1 class="text-4xl hidden lg:text-5xl mt-0">{{page.title}}</h1>
{{content}}
</div>
2 changes: 2 additions & 0 deletions _pages/education.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
- link to finalized BSc/MSc theses (RuG link)
{% endcomment %}

{% comment %}
{% include section-scroll-buttons.html sections=page.sections %}
{% endcomment %}

<section class="space-y-3">
<h2>Courses</h2>
Expand Down
2 changes: 2 additions & 0 deletions _pages/research.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
- Datasets
---

{% comment %}
{% include section-scroll-buttons.html sections=page.sections %}
{% endcomment %}

<section class="space-y-3">
{% assign active_projects = site.projects | where: "archived", "false" %}
Expand Down
6 changes: 6 additions & 0 deletions _pages/team.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,18 @@
description: People at the Software Engineering and Architecture group (SEARCH), University of Groningen (RuG)
---


<section class="pt-4 space-y-3">
<h2 class="hidden">Team Members</h2>
<div class="grid sm:grid-cols-2 md:grid-cols-3 xl:grid-cols-4 gap-8">
{% assign members = site.team | where: "status.former", false | sort: "weight" %}
{% for member in members %}
{% include team-card-detailed.html member=member %}
{% endfor %}
</div>
</section>

<section class="space-y-3">
<h2>Former Members</h2>
<ul class="list-disc list-inside space-y-1">
{% assign exmembers = site.team | where: "status.former", true | sort: "weight" %}
Expand All @@ -28,3 +33,4 @@ <h2>Former Members</h2>
</li>
{% endfor %}
</ul>
</section>
2 changes: 1 addition & 1 deletion assets/css/dist-style.css

Large diffs are not rendered by default.

0 comments on commit 2d97fc5

Please sign in to comment.