Commit ee5d7b31 authored by Christophe Benz's avatar Christophe Benz
Browse files

Merge branch '841-add-news' into 'master'

Move "Latest news" section above DBnomics providers and alternate background colors

See merge request !23
parents ed6c7d2f 315899e7
Pipeline #204212 passed with stages
in 2 minutes and 7 seconds
......@@ -276,24 +276,9 @@
</div>
</div>
</div>
<div class="container mx-auto px-4">
<div class="providers my-16">
<h1 class="page-title">DBnomics providers</h1>
<div class="my-8 grid gap-4 sm:grid-cols-2 md:grid-cols-3">
{#each starProviders as provider}
<Provider {provider} />
{/each}
<a rel="prefetch" href="/providers">
<div class="flex items-center justify-center py-8 h-full border-2 border-gray-100 rounded shadow-lg">
<span class="font-bold text-xl text-gray-400"> View all providers </span>
</div>
</a>
</div>
</div>
</div>
{#if newsTopics !== null}
<div class="bg-dbnomics-blue-900 py-16">
<div class="py-16">
<div class="container mx-auto px-4">
<h1 class="font-normal leading-normal text-4xl mb-8" id="news">Latest news</h1>
<ul class="list-disc list-inside leading-relaxed">
......@@ -306,6 +291,24 @@
</div>
{/if}
<div class="py-16 bg-dbnomics-blue-900">
<div class="container mx-auto px-4">
<div class="providers">
<h1 class="font-normal leading-normal text-4xl mb-8">DBnomics providers</h1>
<div class="my-8 grid gap-4 sm:grid-cols-2 md:grid-cols-3">
{#each starProviders as provider}
<Provider {provider} />
{/each}
<a rel="prefetch" href="/providers">
<div class="flex items-center justify-center py-8 h-full border-2 border-gray-100 rounded shadow-lg">
<span class="font-bold text-xl text-gray-400"> View all providers </span>
</div>
</a>
</div>
</div>
</div>
</div>
<div class="container mx-auto px-4">
<div class="partners text-center">
<div class="my-24">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment