Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
valentin-vogel committed Mar 5, 2021
1 parent 1d28791 commit dcbd8f5
Showing 1 changed file with 22 additions and 10 deletions.
32 changes: 22 additions & 10 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,18 @@ const Departures = ({ stop, title }) => {
<table class="table-auto w-full">
<thead>
<tr class="">
<th class="p-1 text-left bg-secondary border-4 border-black">Typ</th>
<th class="p-1 text-right bg-secondary border-4 border-black">Linie</th>
<th class="p-1 text-left bg-secondary border-4 border-black">Richtung</th>
<th class="p-1 text-right bg-secondary border-4 border-black">in Min</th>
<th class="p-1 text-left bg-secondary border-4 border-black">
Typ
</th>
<th class="p-1 text-right bg-secondary border-4 border-black">
Linie
</th>
<th class="p-1 text-left bg-secondary border-4 border-black">
Richtung
</th>
<th class="p-1 text-right bg-secondary border-4 border-black">
in Min
</th>
</tr>
</thead>
<tbody>
Expand All @@ -100,9 +108,15 @@ const Departures = ({ stop, title }) => {
/>
)}
</td>
<td class="p-1 text-right bg-secondary border-4 border-black">{departure.line}</td>
<td class="p-1 text-left bg-secondary border-4 border-black">{departure.direction}</td>
<td class="p-1 text-right bg-secondary border-4 border-black">{departure.arrivalTimeRelative}</td>
<td class="p-1 text-right bg-secondary border-4 border-black">
{departure.line}
</td>
<td class="p-1 text-left bg-secondary border-4 border-black">
{departure.direction}
</td>
<td class="p-1 text-right bg-secondary border-4 border-black">
{departure.arrivalTimeRelative}
</td>
</tr>
))}
</tbody>
Expand All @@ -113,9 +127,7 @@ const Departures = ({ stop, title }) => {

const BoardLayout = ({ children }) => (
<div class="relative block h-screen overflow-hidden">
<div class="grid grid-flow-col bg-black h-full px-1">
{children}
</div>
<div class="grid grid-flow-col bg-black h-full px-1">{children}</div>
<div class="absolute left-0 bottom-0 right-0 flex flex-row justify-between items-center h-12 px-2 bg-primary">
<div class="flex flex-row items-center">
<svg
Expand Down

1 comment on commit dcbd8f5

@vercel
Copy link

@vercel vercel bot commented on dcbd8f5 Mar 5, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.