(site) Layout changes site-info

This commit is contained in:
Viktor Lofgren 2024-12-05 18:43:27 +01:00
parent aa3c85c196
commit 97bfcd1353
3 changed files with 6 additions and 4 deletions

View File

@ -9,7 +9,7 @@
<div class="bg-white shadow-sm rounded overflow-hidden border">
<div class="px-4 py-2 bg-margeblue text-white border-b border-gray-200">
<h2 class="text-xs font-semibold">${title}</h2>
<h2 class="text-md">${title}</h2>
</div>
<div class="overflow-x-auto">

View File

@ -19,7 +19,7 @@
@for (GroupedUrlDetails group : backlinks.results())
<div class="border rounded bg-white flex flex-col overflow-hidden mx-4">
<div class="flex space-x-2 flex-row place-items-baseline bg-margeblue text-white p-2 text-sm">
<div class="flex space-x-2 flex-row place-items-baseline bg-margeblue text-white p-2 text-md">
<span class="fas fa-globe"></span>
<a href="/site/${group.domain().toString()}">${group.domain().toString()}</a>
<span class="grow"></span>

View File

@ -8,7 +8,7 @@
<div class="flex-1 p-4 space-y-4 mx-auto w-full md:w-auto">
<div class="flex border rounded bg-white flex-col space-y-4 pb-4 overflow-hidden md:max-w-lg" >
<div class="flex place-items-baseline space-x-2 p-2 text-sm border-b mb-2 bg-margeblue text-white">
<div class="flex place-items-baseline space-x-2 p-2 text-md border-b bg-margeblue text-white">
<i class="fa fa-globe"></i>
<span>${siteInfo.domain()}</span>
<div class="grow">
@ -17,7 +17,9 @@
</div>
@if (siteInfo.hasScreenshot())
<a class="mx-3 " tabindex="-1" rel="nofollow noopener external" href="${siteInfo.siteUrl()}"><img src="/screenshot/${siteInfo.domainId()}" alt="Screenshot of ${siteInfo.domain()}"></a>
<a class="mx-3 " tabindex="-1" rel="nofollow noopener external" href="${siteInfo.siteUrl()}">
<img class="border shadow-inner" src="/screenshot/${siteInfo.domainId()}" alt="Screenshot of ${siteInfo.domain()}">
</a>
@elseif (siteInfo.aliasDomain().isPresent() && siteInfo.domainInformation().getNodeAffinity() < 1)
<div class="mx-3 my-3 text-xs text-slate-800">
The search engine is also aware of links to <a class="underline text-liteblue" href="/site/${siteInfo.aliasDomain().get()}">${siteInfo.aliasDomain().get()}</a>,