title="Bring the power of **open virtualization** everywhere."
titleLevel="1"
titleClass="title-with-gradient-underline"
- media="/img/flatline/screen-with-xen-logo.webp"
- alt="Illustration of a computer monitor displaying bar charts with Xen Project Logo"
+ media=`<div class="animated-home-screen-container">
+ <img src="/img/flatline/screen-with-xen-logo.webp" class="animated-home-screen" alt="Illustration of a computer monitor displaying bar charts with Xen Project Logo">
+ <img class="animated-home-shadow-screen" src="/img/decorative/screen-with-wire.svg" alt=""/>
+ </div>
+ `
mediaPosition="right"
- mobileMediaPosition="bottom"
>}}
{{<md>}}
The Xen Project team is a global open source community that develops the Xen
{{</md>}}
{{</media-block>}}
<img class="animated-home-server" src="/img/decorative/home-servers.webp" alt=""/>
- <img class="animated-home-shadow-screen" src="/img/decorative/screen-with-wire.svg" alt=""/>
+
{{</section>}}
<!-- Section block : Content must always be between section -->
{{<section>}}
-{{<section>}}
+{{</section>}}
<!-- Mediablock : block with image and text, refer to the doc "docs/components/media-block.md" -->
"align-flex-start",
"all-pages",
"ancestor",
+ "animated-home-screen",
+ "animated-home-screen-container",
"animated-home-server",
"animated-home-shadow-screen",
"article",
"background-curve-reverse-top",
- "bg-light",
"block-space",
- "border-rounded",
"box-resources",
"box-resources__title",
"btn",
"features-list",
"features-list--cols-2",
"features-list--cols-3",
- "flex",
"footer",
"footer-content",
"footer__col",
"image-small",
"images-in-circle",
"join-button",
- "justify-center",
"latest-news",
"latest-news-template",
"latest-news_container",
"mg-v-xxl",
"mob-mg-v-xl",
"mt-2",
- "mt-4",
"next",
"no-mt",
"p1-book",
"socials",
"socials-footer",
"tag",
- "text-primary",
"title-external-link",
"title-with-gradient-underline",
"txt-c",
"youtube-video-container"
],
"ids": [
- "a-remarkable-innovation",
"a-virtualization-revolution",
"advisory-board",
"archivation-review",
:root {
- --home-shadow-screen-left: -45%;
--home-server-top: -104%;
- --home-shadow-screen-bottom: 170px;
- --home-hero-padding-bottom: 180px;
- @include tablet {
- --home-shadow-screen-left: 140px;
- --home-hero-padding-bottom: 320px;
- }
-
- @include desktop {
- --home-shadow-screen-left: 54px;
- }
+ --home-hero-padding-bottom: 0; //clamp(170px, 45%, 337px);
}
.home-hero-animated {
position: relative;
overflow: hidden;
+ padding-bottom: 10%;
margin-left: calc(var(--content-padding-horizontal) * -1);
margin-right: calc(var(--content-padding-horizontal) * -1);
.media-block {
position: relative;
- z-index: 10;
}
- .animated-home-server,
+ .media-block__media {
+ position: relative;
+ padding: 0 40px;
+ align-self: flex-end;
+ @include tablet {
+ padding: 0;
+ }
+ }
+
+ .animated-home-screen-container {
+ position: relative;
+ }
+
.animated-home-shadow-screen {
position: absolute;
z-index: 1;
}
.animated-home-server {
- top: 100%;
- left: 50%;
- transform: translateX(-50%) translateY(-50%);
+ position: relative;
+ margin: 0 auto;
+ display: block;
+ transform: translateY(100%);
z-index: 3;
opacity: 0;
animation: homeFadeInUp 1s ease forwards;
animation-delay: 0.5s;
width: 80%;
- @include tablet {
- width: auto;
- }
+ max-width: 600px;
+ margin-bottom: 10px;
}
- .animated-home-shadow-screen {
- bottom: var(--home-shadow-screen-bottom);
- left: 56%;
- transform: translateX(40px);
+ .animated-home-screen {
+ position: relative;
z-index: 2;
- opacity: 0;
- animation: homeFadeInRight 1.2s ease forwards;
+ animation: homeFadeInTopLeft 0.8s ease forwards;
animation-delay: 0s;
- width: 454px;
- }
- .animated-home-wire {
- left: 70%;
- bottom: 50px;
}
- .media-block__media {
+ .animated-home-shadow-screen {
+ padding: 6.2% 7.6% 0;
+ top: 25%;
+ left: 11%;
+ width: 100%;
+ transform: translateX(0);
+ z-index: 1;
opacity: 0;
- animation: homeFadeInTopLeft 0.8s ease forwards;
+ animation: homeFadeInRight 0.8s ease forwards;
+ animation-delay: 0s;
}
}
}
@keyframes homeFadeInUp {
- from {
- opacity: 0;
- transform: translateX(-50%) translateY(0);
- }
to {
opacity: 1;
- transform: translateX(-50%) translateY(var(--home-server-top));
+ transform: translateY(0);
}
}
.hero-block {
- --margin-top: var(--sp-xs);
- --margin-bottom: var(--sp-xxl);
+ // --margin-top: var(--sp-xs);
+ // --margin-bottom: var(--sp-xxl);
- margin-top: var(--margin-top);
- margin-bottom: var(--margin-bottom);
+ // margin-top: var(--margin-top);
+ // margin-bottom: var(--margin-bottom);
--title-font-size: clamp(1.3rem, 1.3rem + 2vw, 4rem);
@include tablet {
- --margin-top: var(--sp-xxxl);
- --margin-bottom: var(--sp-sm);
+ // --margin-top: var(--sp-xxxl);
+ // --margin-bottom: var(--sp-sm);
}
.media-block__title {