Skip to content

Commit

Permalink
favicon added
Browse files Browse the repository at this point in the history
  • Loading branch information
nachoamatt committed Jan 4, 2022
1 parent 8420bab commit e428229
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 37 deletions.
Binary file added _src/assets/favicon.ico
Binary file not shown.
67 changes: 33 additions & 34 deletions _src/layouts/intro.njk
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<script src="{{ 'https://kit.fontawesome.com/2c38f3d850.js' | url }}" crossorigin="anonymous"></script>
<script src="{{ 'https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js' | url }}" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
<link rel="icon" type="image/x-icon" href="{{'/_src/assets/favicon.ico'}}">
<link href="{{ 'https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css' | url }}" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<link rel="stylesheet" href="{{ '/_src/styles/fonts.css' | url }}">
<link rel="stylesheet" href="{{ '/_src/styles/header.css' | url }}">
Expand All @@ -16,54 +17,52 @@
<link rel="stylesheet" href="{{ '/_src/styles/code.css' | url }}">
<link rel="stylesheet" href="{{ '/_src/styles/footer.css' | url }}">
<link rel="stylesheet" href="{{ '/_src/styles/responsive.css' | url }}">
<script src="{{ 'https://kit.fontawesome.com/2c38f3d850.js' | url }}" crossorigin="anonymous"></script>

<title>{{ title }} | Prep Course</title>
</head>

<body>
<div class="headerResponsive">
<div class="leftContent">
<span><img src="{{ '/_src/assets/logo-white.png' | url }}" alt='logo Henry' height=22px class="d-inline-block align-text-top"></span><span>{{ title }}</span>
</div>
<div class="menuDiv">
<input type="checkbox">
<i class="fas fa-bars"></i>
<i class="fas fa-times"></i>
<nav>
{{ collections.all | eleventyNavigation | eleventyNavigationToHtml | safe }}
</nav>
</div>
<div class="headerResponsive">
<div class="leftContent">
<span><img src="{{ '/_src/assets/logo-white.png' | url }}" alt='logo Henry' height=22px class="d-inline-block align-text-top"></span><span>{{ title }}</span>
</div>
<div class="menuDiv">
<input type="checkbox">
<i class="fas fa-bars"></i>
<i class="fas fa-times"></i>
<nav>
{{ collections.all | eleventyNavigation | eleventyNavigationToHtml | safe }}
</nav>
</div>
</div>

<div class="headerContainer">
<div class="headerContained">
<img src="{{ '/_src/assets/logo-white.png' | url }}" alt='logo Henry' height=27px class="d-inline-block align-text-top">
<div>
<span class="lessonTitle">{{ title }}</span> | <span>Prep Course</span>
</div>
<div class="headerContainer">
<div class="headerContained">
<img src="{{ '/_src/assets/logo-white.png' | url }}" alt='logo Henry' height=27px class="d-inline-block align-text-top">
<div>
<span class="lessonTitle">{{ title }}</span> | <span>Prep Course</span>
</div>
</div>
</div>

<main>
<div class="topnav" id='myTopnav' >
{# Navigation #}
{{ collections.all | eleventyNavigation | bootstrapNav({
<main>
<div class="topnav" id='myTopnav' >
{# Navigation #}
{{ collections.all | eleventyNavigation | bootstrapNav({
listChildItemClass: "dropdown-menu shadow",
activeKey: eleventyNavigation.key,
listItemClass: "link",
activeListItemClass: "activeLink"
}) | safe }}
</div>
</div>

<div class='lesson'>
<div>
{# Lesson (markdown content) #}
{{ content | safe }}
</div>
<div class='lesson'>
<div>
{# Lesson (markdown content) #}
{{ content | safe }}
</div>
</div>

</main>
</main>

</body>
</html>
</body>
</html>
5 changes: 2 additions & 3 deletions _src/layouts/lesson.njk
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<script src="{{ 'https://kit.fontawesome.com/2c38f3d850.js' | url }}" crossorigin="anonymous"></script>
<script src="{{ 'https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js' | url }}" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
<link rel="icon" type="image/x-icon" href="{{'/_src/assets/favicon.ico'}}">
<link href="{{ 'https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css' | url }}" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<link rel="stylesheet" href="{{ '/_src/styles/fonts.css' | url }}">
<link rel="stylesheet" href="{{ '/_src/styles/header.css' | url }}">
Expand All @@ -16,8 +17,6 @@
<link rel="stylesheet" href="{{ '/_src/styles/code.css' | url }}">
<link rel="stylesheet" href="{{ '/_src/styles/footer.css' | url }}">
<link rel="stylesheet" href="{{ '/_src/styles/responsive.css' | url }}">
<script src="{{ 'https://kit.fontawesome.com/2c38f3d850.js' | url }}" crossorigin="anonymous"></script>

<title>{{ title }} | Henry Prep Course </title>
</head>

Expand Down

0 comments on commit e428229

Please sign in to comment.