diff --git a/package.json b/package.json index 33928402280..2701255275c 100644 --- a/package.json +++ b/package.json @@ -85,7 +85,7 @@ "watch-cli": "0.2.3" }, "dependencies": { - "@canonical/cookie-policy": "^3.4.0", + "@canonical/cookie-policy": "3.5.0", "@canonical/global-nav": "^2.7.0", "@canonical/latest-news": "1.4.1", "@canonical/react-components": "^0.38.0", @@ -115,7 +115,7 @@ "typescript": "4.5.4", "url-polyfill": "1.1.12", "url-search-params-polyfill": "8.1.1", - "vanilla-framework": "^3.14.0", + "vanilla-framework": "4.3.0", "yup": "0.32.11" }, "resolutions": { diff --git a/static/js/src/core.js b/static/js/src/core.js index d67517ac9aa..7701c7b5755 100755 --- a/static/js/src/core.js +++ b/static/js/src/core.js @@ -5,7 +5,7 @@ import { cookiePolicy } from "@canonical/cookie-policy"; createNav({ showLogins: false, hiring: "https://canonical.com/careers/start", - maxWidth: "72rem", + maxWidth: "80rem", }); // Initalise the cookie policy notification. diff --git a/static/sass/_layout-tutorial.scss b/static/sass/_layout-tutorial.scss index 848f30c4121..16542581810 100644 --- a/static/sass/_layout-tutorial.scss +++ b/static/sass/_layout-tutorial.scss @@ -41,9 +41,17 @@ } .l-tutorial__nav-title { + // recreate circle styling from Vanilla 3.0, to unblock Vanilla 4.0 migation + // FIXME: Vanilla 4.0 doesn't use circled steps, so this needs to be redesigned and updated, possibly to use standard side navigation &::before { + border: 1px solid $colors--light-theme--text-default; + border-radius: 50%; + content: counter(li); height: $sp-large; + // line height is calculated to vertically center the number, which is size of the circle minus the border + line-height: calc($sp-large - 2px); margin-right: $sp-medium; + text-align: center; width: $sp-large; } @@ -51,8 +59,8 @@ font-weight: 400; &::before { - background-color: $color-brand; - color: $color-x-light; + background-color: $colors--light-theme--text-default; + color: $colors--dark-theme--text-default; font-weight: 300; } } diff --git a/static/sass/styles.scss b/static/sass/styles.scss index 8c46536b704..55f141b32d4 100644 --- a/static/sass/styles.scss +++ b/static/sass/styles.scss @@ -1385,3 +1385,17 @@ $color-link-dark: #69c !default; width: auto; } } + +// XXX: @bartaz: this will be covered in Vanilla +// can be removed once https://github.com/canonical/vanilla-framework/issues/4875 is done and released +.p-logo-section.has-misaligned-images { + .p-logo-section__item { + margin-bottom: $spv--x-large; + } + + .p-logo-section__logo { + max-height: 5rem; + // make sure image aspect ratio is kept + object-fit: contain; + } +} diff --git a/templates/ai/index.html b/templates/ai/index.html index 7089364770c..54b360a7631 100644 --- a/templates/ai/index.html +++ b/templates/ai/index.html @@ -35,8 +35,8 @@
Leaders in artificial intelligence choose Ubuntu
+Leaders in artificial intelligence choose Ubuntu
+The most productive tools for AI / ML development, with guides and resources available.
Effective model deployment across devices mesh. Low-latency inference serving.
Centralised or multi-cloud training infrastructure for better resource allocation and data governance.
Build large-scale data lakes optimised for machine learning on bare metal, virtual or cloud infrastructure with open source.
Enjoy full control over your firmware, in a safe environment, tested by millions.
Portable from desktop to vast multi-clouds. Fast-deploy on every major public cloud with GPU acceleration.
Develop artificial intelligence projects
on any environment with Canonical