Skip to content

Commit

Permalink
Merge pull request #24 from RedHat-UX/HOTFIX-resolve-footer-cors-errors
Browse files Browse the repository at this point in the history
Implemented a way to use importmaps for footer dep files
  • Loading branch information
ryanaltvater authored Nov 20, 2024
2 parents d06f248 + 4342b03 commit 13eda76
Show file tree
Hide file tree
Showing 36 changed files with 2,336 additions and 2,195 deletions.
4 changes: 2 additions & 2 deletions docs/assets/css/design-redhat.min.css

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/img/pages/designer-stories/photo-liz-wood-sm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/assets/js/design-principles.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/assets/js/design-redhat.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

136 changes: 84 additions & 52 deletions docs/design-principles/index.html
Original file line number Diff line number Diff line change
@@ -1,73 +1,105 @@
<!doctype html>
<!DOCTYPE html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="cleartype" content="on">
<meta http-equiv="X-UA-Compatible" content="IE=Edge, chrome=1">
<meta name="viewport" content="width=device-width, minimum-scale=1, maximum-scale=1, user-scalable=no">
<meta charset="utf-8" />
<meta http-equiv="cleartype" content="on" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge, chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1" />

<!-- TITLE start -->
<!-- TITLE start -->

<title>Design at Red Hat</title>

<!-- TITLE end -->
<!-- TITLE end -->

<!-- DESCRIPTION start -->
<!-- DESCRIPTION start -->

<meta name="description" content="Design at Red Hat is created in the same way we create our technology—using open source principles as the foundation. Learn how we design collaboratively to make better experiences for real people.">
<meta
name="description"
content="Design at Red Hat is created in the same way we create our technology—using open source principles as the foundation. Learn how we design collaboratively to make better experiences for real people."
/>

<!-- DESCRIPTION end -->
<!-- DESCRIPTION end -->

<!-- SOCIAL start -->
<!-- SOCIAL start -->

<meta property="og:title" content="Design at Red Hat">
<meta property="og:site_name" content="Design at Red Hat">
<meta property="og:url" content="design.redhat.com">
<meta property="og:description" content="Design at Red Hat is created in the same way we create our technology—using open source principles as the foundation. Learn how we design collaboratively to make better experiences for real people.">
<meta property="og:type" content="Website">
<meta property="og:image" content="https://redhat-ux.github.io/red-hat-design-site/assets/img/global/social-og-design-dot-1200x675.png">
<meta property="og:title" content="Design at Red Hat" />
<meta property="og:site_name" content="Design at Red Hat" />
<meta property="og:url" content="design.redhat.com" />
<meta
property="og:description"
content="Design at Red Hat is created in the same way we create our technology—using open source principles as the foundation. Learn how we design collaboratively to make better experiences for real people."
/>
<meta property="og:type" content="Website" />
<meta
property="og:image"
content="https://redhat-ux.github.io/red-hat-design-site/assets/img/global/social-og-design-dot-1200x675.png"
/>

<!-- SOCIAL end -->
<!-- SOCIAL end -->

<!-- ICONS start -->
<!-- ICONS start -->

<link rel="shortcut icon" href="/assets/img/svg/logo-red-hat.svg">
<link rel="shortcut icon" href="/assets/img/svg/logo-red-hat.svg" />

<!-- ICONS end -->
<!-- ICONS end -->

<!-- ASSETS start -->
<!-- ASSETS start -->

<link rel="stylesheet" href="https://static.redhat.com/libs/redhat/redhat-font/4/webfonts/red-hat-font.min.css">
<link rel="stylesheet" href="https://static.redhat.com/libs/redhat/redhat-theme/6/advanced-theme.css">
<link
rel="stylesheet"
href="https://static.redhat.com/libs/redhat/redhat-font/4/webfonts/red-hat-font.min.css"
/>
<link
rel="stylesheet"
href="https://static.redhat.com/libs/redhat/redhat-theme/6/advanced-theme.css"
/>

<!-- uviversal footer style -->
<link
rel="stylesheet"
href="https://www.redhat.com/modules/contrib/red_hat_shared_libs/dist/rhds-elements/modules/rh-footer/rh-footer-lightdom.css"
/>
/>

<!-- FONTS -->
<link rel="stylesheet" href="//static.redhat.com/libs/redhat/redhat-font/latest/webfonts/red-hat-font.css">
<link
rel="stylesheet"
href="//static.redhat.com/libs/redhat/redhat-font/latest/webfonts/red-hat-font.css"
/>

<!-- CSS -->
<!-- Vendors -->
<link rel="stylesheet" href="//static.redhat.com/libs/redhat/redhat-theme/6/advanced-theme.css">
<link rel="stylesheet" href="//static.redhat.com/libs/redhat/redhat-theme/6/advanced-theme.css" />

<!-- Studio Web -->
<link rel="stylesheet" href="//www.redhat.com/ux/webdms/css/styles.min.css">
<link
rel="stylesheet"
href="//www.redhat.com/ux/webdms/css/styles.min.css"
/>

<!-- Project -->
<link rel="stylesheet" href="/assets/css/design-redhat.min.css?t=1732121064922">
<link rel="stylesheet" href="/assets/css/design-redhat.min.css?t=1732124880835" />

<!-- SCRIPTS -->
<!-- Libraries -->
<script src="//code.jquery.com/jquery-1.10.2.min.js"></script>

<!-- ASSETS end -->

<!-- Imports -->
<script type="importmap">
{
"imports": {
"@rhds/elements/": "https://www.redhatstatic.com/dx/v1-alpha/@rhds/[email protected]/elements/",
"@rhds/elements/lib/": "https://www.redhatstatic.com/dx/v1-alpha/@rhds/[email protected]/lib/"
}
}
</script>

<!-- ASSETS end -->
</head>

<body class="rh-design">
<body class="rh-design"></body>
</html>


<!-- HTML start -->

Expand Down Expand Up @@ -824,24 +856,24 @@ <h3 slot="links-secondary" data-analytics-text="Red Hat legal and privacy links"

<!-- SCRIPTS start -->

<!-- RH Components --> 
<!-- RH Components -->
<script src="//www.redhat.com/modules/contrib/webrh/js/webrh.webcomponents.min.js"></script>
<!--<script type="module">
import '//www.redhatstatic.com/dx/studio/rhds-elements/modules/rh-footer-entry.js';
</script>-->
<script type="module"> import '//www.redhat.com/modules/contrib/red_hat_shared_libs/dist/rhds-elements/modules/rh-footer/rh-footer.js'></script>
<script type="module" src="//www.redhat.com/modules/contrib/red_hat_shared_libs/dist/rhds-elements/modules/rh-footer/rh-footer-universal.js"></script>
<!-- Vendors -->       
<script src="//www.redhat.com/sites/all/libraries/webrh/dist/js/webrh.webcomponents.min.js"></script>       
<script src="//www.redhat.com/ux/webdms/js/vendors/jquery.waypoints.min.js"></script>       

<!-- Studio Web -->       
<script src="//www.redhat.com/ux/webdms/js/scripts.min.js"></script>       

<!-- Project -->       
<script src="/assets/js/design-redhat.min.js?t=1732121064922"></script>
<script src="/assets/js/design-principles.min.js?t=1732121064922"></script>

</body>
</html>
<script type="module">
import '@rhds/elements/rh-footer/rh-footer-universal.js';
</script>

<!-- Vendors -->
<script src="//www.redhat.com/sites/all/libraries/webrh/dist/js/webrh.webcomponents.min.js"></script>
<script src="//www.redhat.com/ux/webdms/js/vendors/jquery.waypoints.min.js"></script>

<!-- Studio Web -->
<script src="//www.redhat.com/ux/webdms/js/scripts.min.js"></script>

<!-- Project -->
<script src="/assets/js/design-redhat.min.js?t=1732124880835"></script>
<script src="/assets/js/design-principles.min.js?t=1732124880835"></script>

<!-- SCRIPTS end -->

</body>
</html>
136 changes: 84 additions & 52 deletions docs/designer-stories/aaron-williamson.html
Original file line number Diff line number Diff line change
@@ -1,73 +1,105 @@
<!doctype html>
<!DOCTYPE html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="cleartype" content="on">
<meta http-equiv="X-UA-Compatible" content="IE=Edge, chrome=1">
<meta name="viewport" content="width=device-width, minimum-scale=1, maximum-scale=1, user-scalable=no">
<meta charset="utf-8" />
<meta http-equiv="cleartype" content="on" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge, chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1" />

<!-- TITLE start -->
<!-- TITLE start -->

<title>Design at Red Hat</title>

<!-- TITLE end -->
<!-- TITLE end -->

<!-- DESCRIPTION start -->
<!-- DESCRIPTION start -->

<meta name="description" content="Design at Red Hat is created in the same way we create our technology—using open source principles as the foundation. Learn how we design collaboratively to make better experiences for real people.">
<meta
name="description"
content="Design at Red Hat is created in the same way we create our technology—using open source principles as the foundation. Learn how we design collaboratively to make better experiences for real people."
/>

<!-- DESCRIPTION end -->
<!-- DESCRIPTION end -->

<!-- SOCIAL start -->
<!-- SOCIAL start -->

<meta property="og:title" content="Design at Red Hat">
<meta property="og:site_name" content="Design at Red Hat">
<meta property="og:url" content="design.redhat.com">
<meta property="og:description" content="Design at Red Hat is created in the same way we create our technology—using open source principles as the foundation. Learn how we design collaboratively to make better experiences for real people.">
<meta property="og:type" content="Website">
<meta property="og:image" content="https://redhat-ux.github.io/red-hat-design-site/assets/img/global/social-og-design-dot-1200x675.png">
<meta property="og:title" content="Design at Red Hat" />
<meta property="og:site_name" content="Design at Red Hat" />
<meta property="og:url" content="design.redhat.com" />
<meta
property="og:description"
content="Design at Red Hat is created in the same way we create our technology—using open source principles as the foundation. Learn how we design collaboratively to make better experiences for real people."
/>
<meta property="og:type" content="Website" />
<meta
property="og:image"
content="https://redhat-ux.github.io/red-hat-design-site/assets/img/global/social-og-design-dot-1200x675.png"
/>

<!-- SOCIAL end -->
<!-- SOCIAL end -->

<!-- ICONS start -->
<!-- ICONS start -->

<link rel="shortcut icon" href="/assets/img/svg/logo-red-hat.svg">
<link rel="shortcut icon" href="/assets/img/svg/logo-red-hat.svg" />

<!-- ICONS end -->
<!-- ICONS end -->

<!-- ASSETS start -->
<!-- ASSETS start -->

<link rel="stylesheet" href="https://static.redhat.com/libs/redhat/redhat-font/4/webfonts/red-hat-font.min.css">
<link rel="stylesheet" href="https://static.redhat.com/libs/redhat/redhat-theme/6/advanced-theme.css">
<link
rel="stylesheet"
href="https://static.redhat.com/libs/redhat/redhat-font/4/webfonts/red-hat-font.min.css"
/>
<link
rel="stylesheet"
href="https://static.redhat.com/libs/redhat/redhat-theme/6/advanced-theme.css"
/>

<!-- uviversal footer style -->
<link
rel="stylesheet"
href="https://www.redhat.com/modules/contrib/red_hat_shared_libs/dist/rhds-elements/modules/rh-footer/rh-footer-lightdom.css"
/>
/>

<!-- FONTS -->
<link rel="stylesheet" href="//static.redhat.com/libs/redhat/redhat-font/latest/webfonts/red-hat-font.css">
<link
rel="stylesheet"
href="//static.redhat.com/libs/redhat/redhat-font/latest/webfonts/red-hat-font.css"
/>

<!-- CSS -->
<!-- Vendors -->
<link rel="stylesheet" href="//static.redhat.com/libs/redhat/redhat-theme/6/advanced-theme.css">
<link rel="stylesheet" href="//static.redhat.com/libs/redhat/redhat-theme/6/advanced-theme.css" />

<!-- Studio Web -->
<link rel="stylesheet" href="//www.redhat.com/ux/webdms/css/styles.min.css">
<link
rel="stylesheet"
href="//www.redhat.com/ux/webdms/css/styles.min.css"
/>

<!-- Project -->
<link rel="stylesheet" href="/assets/css/design-redhat.min.css?t=1732121064959">
<link rel="stylesheet" href="/assets/css/design-redhat.min.css?t=1732124880850" />

<!-- SCRIPTS -->
<!-- Libraries -->
<script src="//code.jquery.com/jquery-1.10.2.min.js"></script>

<!-- ASSETS end -->

<!-- Imports -->
<script type="importmap">
{
"imports": {
"@rhds/elements/": "https://www.redhatstatic.com/dx/v1-alpha/@rhds/[email protected]/elements/",
"@rhds/elements/lib/": "https://www.redhatstatic.com/dx/v1-alpha/@rhds/[email protected]/lib/"
}
}
</script>

<!-- ASSETS end -->
</head>

<body class="rh-design">
<body class="rh-design"></body>
</html>


<!-- HTML start -->

Expand Down Expand Up @@ -422,24 +454,24 @@ <h3 slot="links-secondary" data-analytics-text="Red Hat legal and privacy links"

<!-- SCRIPTS start -->

<!-- RH Components --> 
<!-- RH Components -->
<script src="//www.redhat.com/modules/contrib/webrh/js/webrh.webcomponents.min.js"></script>
<!--<script type="module">
import '//www.redhatstatic.com/dx/studio/rhds-elements/modules/rh-footer-entry.js';
</script>-->
<script type="module"> import '//www.redhat.com/modules/contrib/red_hat_shared_libs/dist/rhds-elements/modules/rh-footer/rh-footer.js'></script>
<script type="module" src="//www.redhat.com/modules/contrib/red_hat_shared_libs/dist/rhds-elements/modules/rh-footer/rh-footer-universal.js"></script>
<!-- Vendors -->       
<script src="//www.redhat.com/sites/all/libraries/webrh/dist/js/webrh.webcomponents.min.js"></script>       
<script src="//www.redhat.com/ux/webdms/js/vendors/jquery.waypoints.min.js"></script>       

<!-- Studio Web -->       
<script src="//www.redhat.com/ux/webdms/js/scripts.min.js"></script>       

<!-- Project -->       
<script src="/assets/js/design-redhat.min.js?t=1732121064959"></script>
<script src="/assets/js/design-principles.min.js?t=1732121064959"></script>

</body>
</html>
<script type="module">
import '@rhds/elements/rh-footer/rh-footer-universal.js';
</script>

<!-- Vendors -->
<script src="//www.redhat.com/sites/all/libraries/webrh/dist/js/webrh.webcomponents.min.js"></script>
<script src="//www.redhat.com/ux/webdms/js/vendors/jquery.waypoints.min.js"></script>

<!-- Studio Web -->
<script src="//www.redhat.com/ux/webdms/js/scripts.min.js"></script>

<!-- Project -->
<script src="/assets/js/design-redhat.min.js?t=1732124880850"></script>
<script src="/assets/js/design-principles.min.js?t=1732124880850"></script>

<!-- SCRIPTS end -->

</body>
</html>
Loading

0 comments on commit 13eda76

Please sign in to comment.