diff --git a/assets/css/custom.css b/assets/css/custom.css index d4271703..548ad1df 100644 --- a/assets/css/custom.css +++ b/assets/css/custom.css @@ -361,7 +361,7 @@ img { .features { width: 960px; - margin: -100px auto 20px; + margin: 0 auto 20px auto; } .feature { float: left; diff --git a/assets/css/summit.css b/assets/css/summit.css new file mode 100644 index 00000000..98a36cb3 --- /dev/null +++ b/assets/css/summit.css @@ -0,0 +1,46 @@ +#summit-banner-container { + padding: 0 20px; + max-width: 990px; + margin: 60px auto 60px auto; +} +#summit-banner { + display: flex; + flex-wrap: wrap; + align-items: stretch; + border-radius: 16px; + background: #171226; + color: #EEE; + overflow: hidden; +} +#summit-banner > div { + position: relative; +} +#summit-banner > div:first-child { + width: 62%; +} +#summit-banner > div:first-child > a { + display: block; + position: absolute; + inset: 0; +} +#summit-banner > div:first-child > a > img { + object-fit: cover; + width: 100%; + height: 100%; +} +#summit-banner > div:last-child { + width: 38%; + padding: 40px; +} +#summit-banner > div:last-child h2 { + margin-top: 0; +} +@media(max-width: 580px) { + #summit-banner > div:first-child { + min-height: 230px; + } + #summit-banner > div { + width: 100%!important; + text-align: center; + } +} \ No newline at end of file diff --git a/assets/img/summit-2024.png b/assets/img/summit-2024.png new file mode 100644 index 00000000..b0704384 Binary files /dev/null and b/assets/img/summit-2024.png differ diff --git a/content/index.html b/content/index.html index c8baa6eb..6f544f0b 100644 --- a/content/index.html +++ b/content/index.html @@ -37,6 +37,26 @@

Nextflow

+
+
+
+ + Nextflow SUMMIT 2024 + +
+
+

+ Join us for the latest developments and innovations from the Nextflow world! +

+

+ With training, a hackathon and talks from pioneers in the field, the Nextflow Summits are essential events for anyone using Nextflow. +

+ Register now +
+
+
+ +
diff --git a/templates/header.ftl b/templates/header.ftl index b74c528d..2b79bb0e 100644 --- a/templates/header.ftl +++ b/templates/header.ftl @@ -50,6 +50,7 @@ +