Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSarah German <sgerman@gitlab.com>2023-05-30 22:43:20 +0300
committerDavid O'Regan <doregan@gitlab.com>2023-05-30 22:43:20 +0300
commitf45964fd20ff2bdfdab1c8abf653acbc11930a60 (patch)
tree992f75c488f6600b067482f2493bd08e13f21b87 /layouts/redirect.html
parentf6d2d39f2d6734877806852381cd1d9e064cb7ef (diff)
Improve bundling for global assets
Diffstat (limited to 'layouts/redirect.html')
-rw-r--r--layouts/redirect.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/layouts/redirect.html b/layouts/redirect.html
index c8285d19..b81aae60 100644
--- a/layouts/redirect.html
+++ b/layouts/redirect.html
@@ -6,7 +6,12 @@
<meta name="robots" content="noindex">
<link rel="canonical" href="<%= @item[:redirect_to] %>">
<meta http-equiv="refresh" content="0; url=<%= @item[:redirect_to] %>">
- <link rel="stylesheet" href="/frontend/shared/global_imports.css">
+ <!-- GitLab Fonts and UI -->
+ <link rel="preload" href="/assets/vendor/GitLabSans.woff2" as="font" crossorigin />
+ <link rel="prefetch" href="/assets/vendor/JetBrainsMono.woff2" as="font" crossorigin />
+ <link rel="stylesheet" href="/assets/vendor/index.css">
+ <link rel="stylesheet" href="/assets/vendor/utility_classes.css">
+
<link rel="stylesheet" href="<%= @items['/assets/stylesheets/stylesheet.*'].path %>">
<link rel="stylesheet" href="<%= @items['/assets/stylesheets/footer.*'].path %>">
<meta name="viewport" content="width=device-width, initial-scale=1">