www-from-model/layouts/_partials/home/page.html
Michael Hanke cef468caf3
All checks were successful
Deploy on webserver / Build site and deploy on success (push) Successful in 42s
fix: left-align graph node type controls
The copies are bad. This should be a single partial.
2026-05-21 19:43:15 +02:00

47 lines
1.5 KiB
HTML

<article class="prose max-w-full dark:prose-invert">
{{ if .Param "graphRootNodePID" | default false }}
<script>
const limitGraphRootNodeId = '{{ .Param "graphRootNodePID" }}';
</script>
{{ end }}
<script type="module" crossorigin src="/graph.js"></script>
<div class="relative">
{{ if .Param "graphDescription" | default false }}
<p>{{ .Param "graphDescription" }}</p>
{{ end }}
<div id="sigma-node-type-controls" class="absolute z-10 left-2">
<div id="sigma-controls-list" class="text-left"></div>
</div>
<a href="/explore" class="p-1 absolute left-2 bottom-2 z-20">Click to explore&hellip;</a>
<div id="sigma-container" class="w-full h-[40vh] m-0 p-0 bg-neutral-100 dark:bg-neutral-600"></div>
</div>
<section>{{ .Content | emojify }}</section>
</article>
<div class="flex flex-col m-12 mb-20 h-32 md:flex-row content-between items-center">
{{ with resources.Get "img/fzj.svg" }}
<div class="w-1/2 m-6 object-cover">
<a href="https://www.fz-juelich.de/en/inm/inm-7"
target="_blank"
><img class="w-full"
src="{{ .RelPermalink }}"
alt="Jülich Research Center Logo" /></a
></div>
{{ end }}
{{ with resources.Get "img/hhu.svg" }}
<div class="w-1/2 m-6 object-cover">
<a href="https://www.medizin.hhu.de/en/"
target="_blank"
><img class="w-full"
src="{{ .RelPermalink }}"
alt="Heinrich Heine University Logo" /></a
></div>
{{ end }}
</div>
<section>
{{ partial "recent-articles.html" . }}
</section>