Skip to content

Commit 9478e07

Browse files
committed
feat(content) add reference to the next opc ua / open62541 training
1 parent 2151f09 commit 9478e07

2 files changed

Lines changed: 14 additions & 2 deletions

File tree

assets/css/main.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@
99

1010
body {
1111
@apply font-sans text-gray-700 antialiased;
12+
padding-top: 11rem; /* Mobile: banner + header spacing */
13+
}
14+
15+
@media (min-width: 768px) {
16+
body {
17+
padding-top: 9rem; /* Desktop: banner (3rem) + header (6rem) */
18+
}
1219
}
1320

1421
h1, h2, h3, h4, h5, h6 {

layouts/partials/header.html

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,13 @@
99
{{ $headerConfig := .Site.Params.header }}
1010
{{ $dropdownConfig := $headerConfig.menu.dropdown }}
1111
<div class="mobile-menu-wrapper">
12+
<!-- Training Banner -->
13+
<div class="fixed w-full top-0 z-50 bg-gradient-to-r from-blue-600 to-blue-700 text-white py-4 px-4 flex items-center justify-center text-sm md:text-base font-medium">
14+
3-Days OPC UA and open62541 Developer Training 3.3.26 - 5.3.26 in Karlsruhe <a href="https://www.o6-automation.com/event/3-days-opc-ua-and-open62541-developer-training-1/register" target="_blank" rel="noopener noreferrer" class="underline hover:text-blue-100 font-bold ml-2">Register now</a>
15+
</div>
16+
1217
<input type="checkbox" id="nav-toggle" class="nav-toggle">
13-
<header class="fixed w-full top-0 z-50 {{ with $headerConfig.background }}{{ . }}{{ else }}bg-white/80 backdrop-blur-sm{{ end }} {{ with $headerConfig.border }}{{ . }}{{ else }}border-b border-gray-100{{ end }}">
18+
<header class="fixed w-full top-24 md:top-12 z-50 {{ with $headerConfig.background }}{{ . }}{{ else }}bg-white/80 backdrop-blur-sm{{ end }} {{ with $headerConfig.border }}{{ . }}{{ else }}border-b border-gray-100{{ end }}">
1419
<div class="container mx-auto px-4 sm:px-6 lg:px-8 max-w-7xl">
1520
<nav class="flex items-center justify-between h-20">
1621
<!-- Logo and Title -->
@@ -93,7 +98,7 @@
9398
</div>
9499

95100
<!-- Mobile Menu -->
96-
<div class="nav-content md:hidden w-full fixed left-0 right-0 top-20 bg-white border-t border-gray-100 shadow-lg max-h-[calc(100vh-5rem)] overflow-y-auto">
101+
<div class="nav-content md:hidden w-full fixed left-0 right-0 top-44 bg-white border-t border-gray-100 shadow-lg max-h-[calc(100vh-11rem)] overflow-y-auto">
97102
<div class="w-full px-6 py-4">
98103
{{ range .Site.Menus.main }}
99104
{{ if .Params.has_submenu }}

0 commit comments

Comments
 (0)