Skip to content

Commit

Permalink
Change Lubor Kopecký photo and adjust interview heading
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanqui committed Jan 20, 2024
1 parent b3d9dfb commit 925acd6
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 9 deletions.
23 changes: 16 additions & 7 deletions src/lib/Interview.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@
<dl>
<dt>Jméno { data.narrator.gender == "M" ? "narátora" : "narátorky" }
<dd>{ data.narrator.name }
{#if data.interview.narrator_abbrev }
({ data.interview.narrator_abbrev })
{/if}

<dt>Ročník narození
<dd>{ data.narrator.birth_year }
Expand All @@ -38,6 +41,18 @@

<dt>Místo rozhovoru
<dd>{ data.interview.place }

<dt>Jméno tazatele
<dd>{ data.interview.interviewer }
{#if data.interview.interviewer_abbrev }
({ data.interview.interviewer_abbrev })
{/if}

<dt>Délka rozhovoru
<dd>{ data.interview.length }

<dt>Projekt
<dd>{ data.interview.project }

<dt>Přepis
<dd>{ data.interview.transcriber }</dd>
Expand All @@ -47,12 +62,6 @@
<dd>{ data.interview.redaction }</dd>
{/if}

<dt>Délka rozhovoru
<dd>{ data.interview.length }

<dt>Projekt
<dd>{ data.interview.project }

</dl>

{#if data.interview.redaction }
Expand All @@ -67,7 +76,7 @@

<hr>

{#if data.narrator.photo }
{#if data.narrator.photo && data.narrator.photo.license_text }
<h4>Fotografie</h4>
<a href="{ data.narrator.photo.details_url }">
{ data.narrator.photo.license_text }
Expand Down
2 changes: 1 addition & 1 deletion src/routes/interviews/lubor-kopecky/interview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const data: InterviewData = {
photo: {
url: "/interviews/lubor-kopecky.jpg",
details_url: "",
license_text: ""
// license_text: ""
}
},
interview: {
Expand Down
4 changes: 3 additions & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ type Gender = 'M' | 'F';
export interface Photo {
url: string;
details_url: string;
license_text: string;
license_text?: string;
}

export interface InterviewData {
Expand All @@ -21,7 +21,9 @@ export interface InterviewData {
interview: {
date: Date;
place: string;
narrator_abbrev?: string;
interviewer: string;
interviewer_abbrev?: string;
length: string;
project: string;
informed_agreement: boolean;
Expand Down
Binary file modified static/interviews/lubor-kopecky.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 925acd6

Please sign in to comment.