-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
35739b9
commit dc96817
Showing
16 changed files
with
761 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,131 @@ | ||
<script lang="ts"> | ||
import type { PageData } from './$types'; | ||
export let data: PageData; | ||
import { base } from '$app/paths'; | ||
import SidebarLayout from '$lib/SidebarLayout.svelte'; | ||
import { Accordion, AccordionItem } from '@skeletonlabs/skeleton'; | ||
</script> | ||
|
||
<!-- svelte-ignore element_invalid_self_closing_tag --> | ||
<SidebarLayout> | ||
<svelte:fragment slot="sidebar"> | ||
<a | ||
class="btn btn-sm w-fit mt-2 border bg-primary-500 text-surface-900 hover:bg-surface-900 hover:text-primary-500 hover:filter-none" | ||
href="{base}/"><span><i class="fa-solid fa-arrow-left"></i></span><span>main map</span></a | ||
> | ||
<section class="overflow-scroll"> | ||
{#snippet content()} | ||
<p> | ||
This is the Mediterranean region. It includes texts set in southern Europe, Asia Minor, | ||
and Northern Africa. The Mediterranean is its function as a holiday destination, but also | ||
as a link between north and south, east and west. This is reflected in the events mainly | ||
associated with Mediterranean beaches: leisure activities, such as bathing and swimming, | ||
but also encounters, arrivals, and departures. Despite the prominence of vacationscape, | ||
literary scenes set on Mediterranean beaches are shaped by contemplative and foreboding | ||
moods. This suggests that the Mediterranean is an ambivalent space, a site of tension in | ||
which different interests grapple with each other and in which carefree holiday | ||
atmospheres can quickly tip into something more sinister. | ||
</p> | ||
{/snippet} | ||
{#snippet buttons()} | ||
<ul> | ||
<li class="mt-2"> | ||
<a | ||
href="{base}/region/black-atlantic" | ||
class="btn border bg-secondary-500 text-surface-900 hover:bg-surface-900 hover:text-secondary-500 hover:filter-none" | ||
> | ||
Black Atlantic | ||
</a> | ||
</li> | ||
<li class="mt-2"> | ||
<a | ||
href="{base}/region/northern-sea" | ||
class="btn border bg-quarternary-500 text-surface-900 hover:bg-surface-900 hover:text-quarternary-500 hover:filter-none" | ||
> | ||
Northern Seas | ||
</a> | ||
</li> | ||
</ul> | ||
{/snippet} | ||
{#snippet icons()} | ||
<dl class="my-2 flex gap-2 items-center flex-wrap lg:grid"> | ||
<div class="contents lg:flex gap-2 items-center"> | ||
<dt> | ||
<enhanced:img src="$lib/icons/mediterranean/M_death.svg" alt="death icon" /> | ||
</dt> | ||
<dd class="mr-4">Death</dd> | ||
</div> | ||
<div class="contents lg:flex gap-2 items-center"> | ||
<dt> | ||
<enhanced:img src="$lib/icons/mediterranean/M_leisure.svg" alt="leisure icon" /> | ||
</dt> | ||
<dd class="mr-4">Leisure</dd> | ||
</div> | ||
<div class="contents lg:flex gap-2 items-center"> | ||
<dt> | ||
<enhanced:img src="$lib/icons/mediterranean/M_migration.svg" alt="migration icon" /> | ||
</dt> | ||
<dd class="mr-4">Migration</dd> | ||
</div> | ||
<div class="contents lg:flex gap-2 items-center"> | ||
<dt> | ||
<enhanced:img src="$lib/icons/mediterranean/M_myth.svg" alt="myth icon" /> | ||
</dt> | ||
<dd class="mr-4">Myth</dd> | ||
</div> | ||
<div class="contents lg:flex gap-2 items-center"> | ||
<dt> | ||
<enhanced:img src="$lib/icons/mediterranean/M_pollution.svg" alt="pollution icon" /> | ||
</dt> | ||
<dd class="mr-4">Pollution</dd> | ||
</div> | ||
</dl> | ||
{/snippet} | ||
<div class="lg:hidden"> | ||
<Accordion class="fill-primary-500" padding="pl-0 pr-4 py-2"> | ||
<AccordionItem> | ||
<svelte:fragment slot="summary"> | ||
<h2 class="h3 mt-4 mb-2">Mediterranean</h2> | ||
</svelte:fragment> | ||
<svelte:fragment slot="content"> | ||
{@render content()} | ||
</svelte:fragment> | ||
</AccordionItem> | ||
<AccordionItem> | ||
<svelte:fragment slot="summary"> | ||
<h2 class="h3">Legend</h2> | ||
</svelte:fragment> | ||
<svelte:fragment slot="content"> | ||
{@render icons()} | ||
</svelte:fragment> | ||
</AccordionItem> | ||
<AccordionItem> | ||
<svelte:fragment slot="summary"> | ||
<h2 class="h3">explore more regions</h2> | ||
</svelte:fragment> | ||
<svelte:fragment slot="content"> | ||
{@render buttons()} | ||
</svelte:fragment> | ||
</AccordionItem> | ||
</Accordion> | ||
</div> | ||
<div class="hidden lg:block"> | ||
<h2 class="h3 mt-4 mb-2">Mediterranean</h2> | ||
{@render content()} | ||
</div> | ||
</section> | ||
<section class="my-4 hidden lg:block"> | ||
<h2 class="h3">Legend</h2> | ||
{@render icons()} | ||
</section> | ||
<section class="my-4 hidden lg:block"> | ||
<h2 class="h3">explore more regions</h2> | ||
{@render buttons()} | ||
</section> | ||
</svelte:fragment> | ||
<iframe | ||
title="Mediterranean map" | ||
src="https://nodegoat.unibe.ch/viewer.p/34/2703/scenario/5/geo/" | ||
width="100%" | ||
height="100%" | ||
> | ||
</iframe> | ||
</SidebarLayout> |
Oops, something went wrong.