Skip to content

Commit

Permalink
feat: setup apps page
Browse files Browse the repository at this point in the history
  • Loading branch information
paulovareiro29 committed Aug 23, 2024
1 parent bdda87e commit 1010f5e
Show file tree
Hide file tree
Showing 8 changed files with 182 additions and 20 deletions.
158 changes: 158 additions & 0 deletions src/pages/apps.twig
Original file line number Diff line number Diff line change
@@ -0,0 +1,158 @@
{% extends 'layouts::base.twig' %}
{% set theme = 'default' %}

{% block content %}
<nav aria-label='breadcrumb'>
<ol class='breadcrumb'>
<li class='breadcrumb-item'><a href='./'>Home</a></li>
<li class='breadcrumb-item active' aria-current='page'>Apps</li>
</ol>
</nav>

<section class='row py-4'>
<div class='col-8'>
<h1 class='mb-3'>Apps und Anwendungsbeispiele</h1>
<p>
Lorem ipsum Einleitungstext zum Thema Apps, der kurz beschreibt, wie und warum man offene Daten nutzt und der
Öffentlichkeit zum Ausprobieren zur Verfügung stellt.
</p>
</div>
</section>

<section class='row pb-5'>
<article class='col-12 mb-5'>
<div class='row'>
<div class='col-12 '>
<div class='ratio ratio-21x9 mb-3'>
<img src='https://picsum.photos/960/540' alt='Virtual Identity AG'>
</div>
</div>
<div class='col-10'>
<h2 class='h3'>App name lorem</h2>
<p>
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et
dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet
clita kasd gubergren, no sea takimata sanctus.
</p>
</div>
<div class='col-12 d-flex justify-content-end'>
{%
include 'partials::icon-link.twig' with {
href: '#',
text: 'Zur Anwendung',
icon: 'chevron-right'
}
%}
</div>
</div>
</article>
<article class='col-6 mb-5'>
<div class='row'>
<div class='col-12 '>
<div class='ratio ratio-21x9 mb-3'>
<img src='https://picsum.photos/960/540' alt='Virtual Identity AG'>
</div>
</div>
<div class='col-10'>
<div class='d-flex gap-3 align-items-center mb-2'>
<h2 class='h3 m-0'>App name lorem</h2>
<span class='badge text-bg-danger'>NOT AVAILABLE</span>
</div>

<p>
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et
dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet
clita kasd gubergren, no sea takimata sanctus.
</p>
</div>
<div class='col-12 d-flex justify-content-end'>
{%
include 'partials::icon-link.twig' with {
href: '#',
text: 'Zur Anwendung',
icon: 'chevron-right'
}
%}
</div>
</div>
</article>
<article class='col-6 mb-5'>
<div class='row'>
<div class='col-12 '>
<div class='ratio ratio-21x9 mb-3'>
<img src='https://picsum.photos/960/540' alt='Virtual Identity AG'>
</div>
</div>
<div class='col-10'>
<h2 class='h3'>App name lorem</h2>
<p>
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et
dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet
clita kasd gubergren, no sea takimata sanctus.
</p>
</div>
<div class='col-12 d-flex justify-content-end'>
{%
include 'partials::icon-link.twig' with {
href: '#',
text: 'Zur Anwendung',
icon: 'chevron-right'
}
%}
</div>
</div>
</article>
<article class='col-6 mb-5'>
<div class='row'>
<div class='col-12 '>
<div class='ratio ratio-21x9 mb-3'>
<img src='https://picsum.photos/960/540' alt='Virtual Identity AG'>
</div>
</div>
<div class='col-10'>
<h2 class='h3'>App name lorem</h2>
<p>
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et
dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet
clita kasd gubergren, no sea takimata sanctus.
</p>
</div>
<div class='col-12 d-flex justify-content-end'>
{%
include 'partials::icon-link.twig' with {
href: '#',
text: 'Zur Anwendung',
icon: 'chevron-right'
}
%}
</div>
</div>
</article>
<article class='col-6 mb-5'>
<div class='row'>
<div class='col-12 '>
<div class='ratio ratio-21x9 mb-3'>
<img src='https://picsum.photos/960/540' alt='Virtual Identity AG'>
</div>
</div>
<div class='col-10'>
<h2 class='h3'>App name lorem</h2>
<p>
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et
dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet
clita kasd gubergren, no sea takimata sanctus.
</p>
</div>
<div class='col-12 d-flex justify-content-end'>
{%
include 'partials::icon-link.twig' with {
href: '#',
text: 'Zur Anwendung',
icon: 'chevron-right'
}
%}
</div>
</div>
</article>
</section>
{% endblock %}
16 changes: 8 additions & 8 deletions src/pages/dataset-detail.twig
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@

<section class='row py-4 border-top'>
<div class='col-8'>
<h5 class='mb-3'>Dateien und Quellen</h5>
<h3 class='h5 mb-3'>Dateien und Quellen</h3>
<div class='py-3'>
<div class='d-flex gap-3 align-items-center mb-2'>
<div class='bg-body-secondary px-2'>
Expand Down Expand Up @@ -82,7 +82,7 @@
</div>
</div>
<div class='col-2'>
<h5>Herausgeber</h5>
<h3 class='h5'>Herausgeber</h3>
<div class='ratio ratio-1x1'>
<img src='https://picsum.photos/540/540' alt='Virtual Identity AG'>
</div>
Expand All @@ -92,7 +92,7 @@
<section class='row py-4 border-top'>
<div class='col-8'>
<div class='d-flex align-items-center gap-3 mb-3'>
<h5 class='m-0'>Weitere Datensätze der Datenserie</h5>
<h3 class='h5 m-0'>Weitere Datensätze der Datenserie</h3>
<span class='badge text-bg-primary'>SERIES</span>
</div>

Expand Down Expand Up @@ -126,7 +126,7 @@

<section class='row py-4 border-top'>
<div class='col-8'>
<h5 class='mb-3'>Weitere Formate</h5>
<h3 class='h5 mb-3'>Weitere Formate</h3>

<p class='mb-1'>
<span>Datensatz Inhalt:</span>
Expand All @@ -148,7 +148,7 @@

<section class='row py-4 border-top'>
<div class='col-8'>
<h5 class='mb-3'>Kategorien</h5>
<h3 class='h5 mb-3'>Kategorien</h3>

<p class='badge text-bg-primary fs-6'>Lorem</p>
<p class='badge text-bg-primary fs-6'>Lorem</p>
Expand All @@ -158,7 +158,7 @@

<section class='row py-4 border-top'>
<div class='col-8'>
<h5 class='mb-3'>Zusätzliche Informationen</h5>
<h3 class='h5 mb-3'>Zusätzliche Informationen</h3>

<div>
<p class='mb-1'><strong>Feldbeschreibung, e.g. "Veröffentlichungsdatum"</strong></p>
Expand All @@ -184,7 +184,7 @@

<section class='row py-4 border-top'>
<div class='col-8'>
<h5 class='mb-3'>DCAT-AP.de Datensatzinformation</h5>
<h3 class='h5 mb-3'>DCAT-AP.de Datensatzinformation</h3>

<div>
<p class='mb-1'><strong>Feldbeschreibung, e.g. "Herausgeber"</strong></p>
Expand All @@ -195,7 +195,7 @@

<section class='row py-4 border-top'>
<div class='col-8'>
<h5 class='mb-3'>Tags</h5>
<h3 class='h5 mb-3'>Tags</h3>

<div>
<p class='text-muted'>LOREM, LOREM, LOREM</p>
Expand Down
10 changes: 6 additions & 4 deletions src/pages/dataset-overview.twig
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,16 @@

<div class='row'>
<div class='col-8'>
<form class='form-inline d-flex gap-2 my-4'>
<form action='./dataset-overview' class='form-inline d-flex gap-2 my-4'>
<input
class='form-control mr-sm-2'
type='search'
placeholder='Datensatze suchen'
aria-label='Datensatze suchen'
>
<button class='btn btn-danger my-2 my-sm-0' type='submit'><i class='bi bi-search'></i></button>
<button class='btn btn-primary my-2 my-sm-0' type='submit' aria-label='Search'>
<i class='bi bi-search'></i>
</button>
</form>
</div>
</div>
Expand All @@ -34,7 +36,7 @@

<div class='row mt-4'>
<aside class='col-3'>
<h5 class='mb-3'>Filtern nach</h5>
<h3 class='h5 mb-3'>Filtern nach</h3>

{%
include 'partials::dataset-overview/filters.twig' with {
Expand Down Expand Up @@ -132,7 +134,7 @@
%}
</aside>
<div class='col'>
<div class='d-flex align-items-center justify-content-end'>
<div class='d-flex gap-3 align-items-center justify-content-end'>
<p class='m-0'>
<strong>Sortieren nach</strong>
</p>
Expand Down
4 changes: 3 additions & 1 deletion src/pages/index.twig
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
placeholder='Datensatze suchen'
aria-label='Datensatze suchen'
>
<button class='btn btn-danger my-2 my-sm-0' type='submit'><i class='bi bi-search'></i></button>
<button class='btn btn-primary my-2 my-sm-0' type='submit' aria-label='Search'>
<i class='bi bi-search'></i>
</button>
</form>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/partials/card.twig
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
{% endif %}

<div class='card-body'>
<h5 class='card-title'>
<h3 class='h5 card-title'>
<a href='./dataset-detail' class='text-decoration-none'>
{{ title }}
</a>
</h5>
</h3>
<p class='card-subtitle text-muted'>{{ subtitle }}</p>
<p class='card-text'>
{{ description }}
Expand Down
2 changes: 1 addition & 1 deletion src/partials/dataset-overview/filters.twig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class='d-flex flex-column gap-4'>
{% for category in data %}
<div>
<h6>{{ category.title }}</h6>
<h4 class='h6'>{{ category.title }}</h4>
<div class='d-flex flex-column gap-2 align-items-start'>
{% for filter in category.filters %}
{% set id = 'flexCheckChecked' ~ loop.parent.loop.index ~ loop.index %}
Expand Down
4 changes: 2 additions & 2 deletions src/partials/footer.twig
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</div>

<div class='col-4 mb-3'>
<h5>Seiten</h5>
<p class='h5'>Seiten</p>
<ul class='nav flex-column'>
<li class='nav-item mb-2'><a href='#' class='nav-link p-0'>Home</a></li>
<li class='nav-item mb-2'><a href='#' class='nav-link p-0'>Features</a></li>
Expand All @@ -23,7 +23,7 @@
</div>

<div class='col-4 mb-3'>
<h5>Service</h5>
<p class='h5'>Service</p>
<ul class='nav flex-column'>
<li class='nav-item mb-2'><a href='#' class='nav-link p-0'>Home</a></li>
<li class='nav-item mb-2'><a href='#' class='nav-link p-0'>Features</a></li>
Expand Down
4 changes: 2 additions & 2 deletions src/partials/header.twig
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
<li class='nav-item'><a href='./dataset-overview' class='nav-link'>Daten</a></li>
<li class='nav-item'><a href='#' class='nav-link'>News</a></li>
<li class='nav-item'><a href='#' class='nav-link'>Herausgeber</a></li>
<li class='nav-item'><a href='#' class='nav-link'>Apps</a></li>
<li class='nav-item'><a href='./apps' class='nav-link'>Apps</a></li>
<li class='nav-item'><a href='#' class='nav-link'>Anfragen</a></li>
<li class='nav-item'>
<a href='#' class='nav-link'><i class='bi bi-search'></i></a>
<a href='#' class='nav-link' aria-label='search'><i class='bi bi-search'></i></a>
</li>
</ul>
</nav>
Expand Down

0 comments on commit 1010f5e

Please sign in to comment.