Skip to content

Commit

Permalink
fix: add path to css in base layout file and add foundations folder
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyk3941 committed Jul 21, 2023
1 parent e12a708 commit ce40a4a
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/ux-guidelines/_includes/layout.njk
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CBP UX Guidelines | {{ title }}</title>
<link rel="stylesheet" href="{{ "/assets/cbpds-vanilla.css" | url }}">
</head>
<body>
{{ content | safe }}
Expand Down
6 changes: 6 additions & 0 deletions packages/ux-guidelines/content/foundations/overview.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
layout: layout.njk
title: Foundation | Overview
---

# Overview
1 change: 1 addition & 0 deletions packages/ux-guidelines/content/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="/assets/cbpds-vanilla.css">
<title>CBP UX Guidelines</title>
</head>
<body>
Expand Down
4 changes: 4 additions & 0 deletions packages/ux-guidelines/eleventy.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
module.exports = function(eleventyConfig) {
eleventyConfig.addPassthroughCopy({
"../../node_modules/@cbpds/vanilla/dist/style.css": "assets/cbpds-vanilla.css"
})

// Return your Object options:
return {
dir: {
Expand Down

0 comments on commit ce40a4a

Please sign in to comment.