Skip to content

Commit

Permalink
treat all essays as one exhibit
Browse files Browse the repository at this point in the history
  • Loading branch information
mnyrop committed Apr 18, 2024
1 parent a50db94 commit e944072
Show file tree
Hide file tree
Showing 13 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions site/_data/site.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"link": "/about/library-timeline"
},
{
"label": "Exhibit Essays",
"link": "/browse/exhibits"
"label": "Explore the Exhibit",
"link": "/browse/exhibit"
},
{
"label": "Browse the Collection",
Expand Down
4 changes: 2 additions & 2 deletions site/_includes/components/heros/exhibits-carousel.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<link rel="stylesheet" href="{{ '/assets/vendor/flickity.min.css' | url }}"/>

<div class="not-prose text-neutral-content mx-[calc(50%-50vw)] my-8 w-auto">
<h2 class="text-center text-4xl tracking-tight font-bold pb-2">Exhibit Essays</h2>
<h2 class="text-center text-4xl tracking-tight font-bold pb-2">Explore the Exhibit</h2>
<div class="link text-center mb-6">
<a href="{{ '/browse/exhibits' | url }}" class="text-base-content link hover:text-secondary text-sm">View All ({{ collections.exhibit.size }})</a>
<a href="{{ '/browse/exhibit' | url }}" class="text-base-content link hover:text-secondary text-sm">View All ({{ collections.exhibit.size }})</a>
</div>
<div class="mx-auto text-center">
<button id="prev-exhibit" class="h-8 w-8 md:h-12 md:w-12 md:-mr-2 text-accent hover:text-neutral-content tooltip tooltip-left" data-tip="Previous">{% include "svg/arrow-left.svg" %}</button>
Expand Down
2 changes: 1 addition & 1 deletion site/_includes/layouts/exhibit.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
{{ content }}

{% unless number == collections.exhibit.size %}
<a href="{{ '/exhibits' | url }}/{{ number | plus: 1 }}" class="col-start-2 text-right text-base max-w-2xl leading-tight link text-accent hover:text-base-content font-sans">Read Next</a>
<a href="{{ '/exhibit' | url }}/{{ number | plus: 1 }}" class="col-start-2 text-right text-base max-w-2xl leading-tight link text-accent hover:text-base-content font-sans">Read Next</a>
{% endunless %}
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion site/_includes/layouts/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ <h1 class="text-secondary text-2xl md:text-4xl md:tracking-tight font-bold leadi
{% if number %}
<div class="lg:flex lg:gap-4 lg:justify-between lg:items-end">
<div class="lg:basis-3/5">
<h1 class="text-pretty text-secondary text-3xl md:text-4xl lg:text-5xl md:tracking-tight font-bold max-w-3xl"><span class="font-thin tracking-tighter mr-1">{{ number }}.</span>{{ title }}</h1>
<h1 class="text-pretty text-secondary text-3xl md:text-4xl lg:text-5xl md:tracking-tight font-bold max-w-2xl">{% comment %}<span class="font-thin tracking-tighter mr-1">{{ number }}.</span>{% endcomment %}{{ title }}</h1>
</div>
<div class="lg:basis-2/5 not-prose lg:text-end text-sm lg:text-base leading-snug lg:mt-0 mt-6">
{% for exhibit in collections.exhibit %}
Expand Down
2 changes: 1 addition & 1 deletion site/_includes/partials/exhibit-card.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<a href="{{ '/' | url }}exhibits/{{ exhibit.data.number }}">
<a href="{{ '/' | url }}exhibit/{{ exhibit.data.number }}">
<div class="card w-full bg-neutral relative transition-all duration-500 hover:scale-105">
<!-- <img class="absolute z-10 -top-6 right-1 h-28 text-secondary brightness-80" src="{{ '/assets/bookmark-bg.png' | url }}"/> -->
<img src="{{ exhibit.data.thumbnail }}" alt="" class="rounded-t-lg object-cover h-48 w-full mx-auto" />
Expand Down
4 changes: 2 additions & 2 deletions site/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "wax design ideas"
description: "TBD"
title: "Bibliopolítica"
description: ""
layout: "base"
permalink: "/index.html"
home: true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
title: "Exhibit Essays"
title: "Explore the Exhibit"
description: "TBD"
layout: page
permalink: "/browse/exhibits/index.html"
permalink: "/browse/exhibit/index.html"
contents:
- label: English
anchor: '#english'
Expand Down
2 changes: 1 addition & 1 deletion site/pages/exhibits/01.md → site/pages/exhibit/01.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ thumbnail: "https://k72crxgprmvffblzrwqo7atzei0xdqkx.lambda-url.us-east-1.on.aws
number: 1
date: 2024-04-01
layout: exhibit
permalink: "/exhibits/1.html"
permalink: "/exhibit/1.html"
tags: exhibit
featured_items:
- id: CSL00046
Expand Down
2 changes: 1 addition & 1 deletion site/pages/exhibits/02.md → site/pages/exhibit/02.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ thumbnail: "https://d1b7k5w7yjwpfg.cloudfront.net/iiif/2/bibliopolitica_CSL00080
number: 2
date: 2024-04-02
layout: exhibit
permalink: "/exhibits/2.html"
permalink: "/exhibit/2.html"
tags: exhibit
featured_items:
- id: CSL00053
Expand Down
2 changes: 1 addition & 1 deletion site/pages/exhibits/03.md → site/pages/exhibit/03.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ thumbnail: "https://d1b7k5w7yjwpfg.cloudfront.net/iiif/2/bibliopolitica_CSL00050
number: 3
date: 2024-04-03
layout: exhibit
permalink: "/exhibits/3.html"
permalink: "/exhibit/3.html"
tags: exhibit
featured_items:
- id: CSL00001
Expand Down
2 changes: 1 addition & 1 deletion site/pages/exhibits/04.md → site/pages/exhibit/04.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ thumbnail: "https://d1b7k5w7yjwpfg.cloudfront.net/iiif/2/bibliopolitica_CSL00108
number: 4
date: 2024-04-04
layout: exhibit
permalink: "/exhibits/4.html"
permalink: "/exhibit/4.html"
tags: exhibit
featured_items:
- id: CSL00004
Expand Down
2 changes: 1 addition & 1 deletion site/pages/exhibits/05.md → site/pages/exhibit/05.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ thumbnail: "https://d1b7k5w7yjwpfg.cloudfront.net/iiif/2/bibliopolitica_CSL00105
number: 5
date: 2024-04-05
layout: exhibit
permalink: "/exhibits/5.html"
permalink: "/exhibit/5.html"
tags: exhibit
featured_items:
- id: CSL00008
Expand Down
2 changes: 1 addition & 1 deletion site/pages/exhibits/06.md → site/pages/exhibit/06.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ thumbnail: "https://k72crxgprmvffblzrwqo7atzei0xdqkx.lambda-url.us-east-1.on.aws
number: 6
date: 2024-04-06
layout: exhibit
permalink: "/exhibits/6.html"
permalink: "/exhibit/6.html"
tags: exhibit
featured_items:
- id: CSL00012
Expand Down

0 comments on commit e944072

Please sign in to comment.