Skip to content

Commit

Permalink
#17 - Use minified css in html templates, make sure the font-awesome …
Browse files Browse the repository at this point in the history
…iconset is included in every page, removing iconsmind icon set wherever possible, enable sourcemap
  • Loading branch information
Jooseppi12 committed Jan 22, 2021
1 parent 51c32a4 commit 01b6983
Show file tree
Hide file tree
Showing 12 changed files with 107 additions and 95 deletions.
19 changes: 9 additions & 10 deletions src/Hosted/bloglist.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
<meta name="description" content="">
<script src="/themekit/scripts/jquery.min.js"></script>
<script src="/themekit/scripts/main.js"></script>
<link rel="stylesheet" href="/themekit/css/bootstrap-grid.css">
<link rel="stylesheet" href="/themekit/css/style.css">
<link rel="stylesheet" href="/themekit/css/glide.css">
<link rel="stylesheet" href="/themekit/css/content-box.css">
<link rel="stylesheet" href="/themekit/css/social.css">
<link rel="stylesheet" href="/themekit/css/contact-form.css">
<link rel="stylesheet" href="/assets/skin.css">
<link rel="stylesheet" href="/assets/custom.css">
<link rel="stylesheet" href="/themekit/css/bootstrap-grid.min.css">
<link rel="stylesheet" href="/themekit/css/style.min.css">
<link rel="stylesheet" href="/themekit/css/glide.min.css">
<link rel="stylesheet" href="/themekit/css/content-box.min.css">
<link rel="stylesheet" href="/themekit/css/social.min.css">
<link rel="stylesheet" href="/themekit/css/contact-form.min.css">
<link rel="stylesheet" href="/assets/skin.min.css">
<link rel="stylesheet" href="/assets/custom.min.css">
<link rel="shortcut icon" href="/assets/favicon.ico" type="image/x-icon">
</head>
<body>
Expand Down Expand Up @@ -244,8 +244,7 @@ <h4>Newsletter</h4>
</div>
</div>
<div class="bottom" ws-replace="Cookie"></div>
<link rel="stylesheet" href="/themekit/media/icons/iconsmind/line-icons.min.css">
<link async rel="stylesheet" href="/themekit/media/icons/fontawesome/all.css">
<link async rel="stylesheet" href="/themekit/media/icons/fontawesome/icons.css">
<script src="/themekit/scripts/parallax.min.js"></script>
<script src="/themekit/scripts/pagination.min.js"></script>
<script src="/themekit/scripts/imagesloaded.min.js"></script>
Expand Down
16 changes: 8 additions & 8 deletions src/Hosted/blogpost.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>${Title}IntelliFactory</title>
<meta name="description" content="">
<link rel="stylesheet" href="/themekit/css/bootstrap-grid.css">
<link rel="stylesheet" href="/themekit/css/style.css">
<link rel="stylesheet" href="/themekit/css/content-box.css">
<link rel="stylesheet" href="/themekit/css/media-box.css">
<link rel="stylesheet" href="/themekit/css/social.css">
<link rel="stylesheet" href="/assets/skin.css">
<link rel="stylesheet" href="/assets/custom.css">
<link rel="stylesheet" href="/themekit/css/bootstrap-grid.min.css">
<link rel="stylesheet" href="/themekit/css/style.min.css">
<link rel="stylesheet" href="/themekit/css/content-box.min.css">
<link rel="stylesheet" href="/themekit/css/media-box.min.css">
<link rel="stylesheet" href="/themekit/css/social.min.css">
<link rel="stylesheet" href="/assets/skin.min.css">
<link rel="stylesheet" href="/assets/custom.min.css">
<link rel="shortcut icon" href="/assets/favicon.ico" type="image/x-icon">
<script ws-replace="Head"></script>
<script src="/themekit/scripts/main.js"></script>
Expand Down Expand Up @@ -245,7 +245,7 @@ <h4>Follow us</h4>
</div>
</div>
<div class="bottom" ws-replace="Cookie"></div>
<link rel="stylesheet" href="/themekit/media/icons/iconsmind/line-icons.min.css">
<link async rel="stylesheet" href="/themekit/media/icons/fontawesome/icons.css">
<script src="/themekit/scripts/parallax.min.js"></script>
<script src="/themekit/scripts/imagesloaded.min.js"></script>
<script src="/themekit/scripts/pagination.min.js"></script>
Expand Down
15 changes: 7 additions & 8 deletions src/Hosted/careers.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,12 @@
<meta name="description" content="" />
<script src="themekit/scripts/jquery.min.js"></script>
<script src="themekit/scripts/main.js"></script>
<link rel="stylesheet" href="themekit/css/bootstrap-grid.css" />
<link rel="stylesheet" href="themekit/css/style.css" />
<link rel="stylesheet" href="themekit/css/magnific-popup.css" />
<link rel="stylesheet" href="themekit/css/contact-form.css" />
<link rel="stylesheet"
href="themekit/media/icons/iconsmind/line-icons.min.css" />
<link rel="stylesheet" href="assets/skin.css" />
<link rel="stylesheet" href="assets/custom.css" />
<link rel="stylesheet" href="themekit/css/bootstrap-grid.min.css" />
<link rel="stylesheet" href="themekit/css/style.min.css" />
<link rel="stylesheet" href="themekit/css/magnific-popup.min.css" />
<link rel="stylesheet" href="themekit/css/contact-form.min.css" />
<link rel="stylesheet" href="assets/skin.min.css" />
<link rel="stylesheet" href="assets/custom.min.css" />
<link rel="shortcut icon" href="assets/favicon.ico" type="image/x-icon" />
<script ws-replace="Head"></script>
</head>
Expand Down Expand Up @@ -223,6 +221,7 @@ <h3 class="text-sm">Graduation</h3>
<div ws-replace="Footer"></div>
<div class="bottom" ws-replace="Cookie"></div>
<link rel="stylesheet" href="themekit/media/icons/iconsmind/line-icons.min.css">
<link async rel="stylesheet" href="/themekit/media/icons/fontawesome/icons.css">
<script src="themekit/scripts/contact-form/contact-form.js"></script>
<script src="themekit/scripts/tab-accordion.js"></script>
<script src="themekit/scripts/maps.min.js"></script>
Expand Down
20 changes: 10 additions & 10 deletions src/Hosted/consulting.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
<meta name="description" content="" />
<script src="themekit/scripts/jquery.min.js"></script>
<script src="themekit/scripts/main.js"></script>
<link rel="stylesheet" href="themekit/css/bootstrap-grid.css" />
<link rel="stylesheet" href="themekit/css/style.css" />
<link rel="stylesheet" href="themekit/css/glide.css" />
<link rel="stylesheet" href="themekit/css/content-box.css" />
<link rel="stylesheet" href="themekit/css/social.css" />
<link rel="stylesheet" href="themekit/css/contact-form.css" />
<link rel='stylesheet' href="themekit/css/magnific-popup.css">
<link rel="stylesheet" href="assets/skin.css" />
<link rel="stylesheet" href="assets/custom.css" />
<link rel="stylesheet" href="themekit/css/bootstrap-grid.min.css" />
<link rel="stylesheet" href="themekit/css/style.min.css" />
<link rel="stylesheet" href="themekit/css/glide.min.css" />
<link rel="stylesheet" href="themekit/css/content-box.min.css" />
<link rel="stylesheet" href="themekit/css/social.min.css" />
<link rel="stylesheet" href="themekit/css/contact-form.min.css" />
<link rel='stylesheet' href="themekit/css/magnific-popup.min.css">
<link rel="stylesheet" href="assets/skin.min.css" />
<link rel="stylesheet" href="assets/custom.min.css" />
<link rel="shortcut icon" href="assets/favicon.ico" type="image/x-icon" />
<script ws-replace="Head"></script>
</head>
Expand Down Expand Up @@ -164,7 +164,7 @@ <h3 class="timeline-title">Shorter TTM</h3>
<footer class="footer light">
<div ws-replace="Footer"></div>
<div class="bottom" ws-replace="Cookie"></div>
<link rel="stylesheet" href="themekit/media/icons/iconsmind/line-icons.min.css">
<link async rel="stylesheet" href="/themekit/media/icons/fontawesome/icons.css">
<script src="themekit/scripts/contact-form/contact-form.js"></script>
<script src="themekit/scripts/tab-accordion.js"></script>
<script src="themekit/scripts/maps.min.js"></script>
Expand Down
12 changes: 6 additions & 6 deletions src/Hosted/contact.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
<meta name="description" content="">
<script src="themekit/scripts/jquery.min.js"></script>
<script src="themekit/scripts/main.js"></script>
<link rel="stylesheet" href="themekit/css/bootstrap-grid.css">
<link rel="stylesheet" href="themekit/css/style.css">
<link rel="stylesheet" href="themekit/css/contact-form.css">
<link rel="stylesheet" href="assets/skin.css">
<link rel="stylesheet" href="assets/custom.css">
<link rel="stylesheet" href="themekit/css/bootstrap-grid.min.css">
<link rel="stylesheet" href="themekit/css/style.min.css">
<link rel="stylesheet" href="themekit/css/contact-form.min.css">
<link rel="stylesheet" href="assets/skin.min.css">
<link rel="stylesheet" href="assets/custom.min.css">
<link rel="shortcut icon" href="assets/favicon.ico" type="image/x-icon">
<script ws-replace="Head"></script>
</head>
Expand Down Expand Up @@ -77,7 +77,7 @@ <h2>Contact us</h2>
<footer class="footer light">
<div ws-replace="Footer"></div>
<div class="bottom" ws-replace="Cookie"></div>
<link rel="stylesheet" href="themekit/media/icons/iconsmind/line-icons.min.css">
<link async rel="stylesheet" href="/themekit/media/icons/fontawesome/icons.css">
<script src="themekit/scripts/contact-form/contact-form.js"></script>
<script src="themekit/scripts/tab-accordion.js"></script>
<script src="themekit/scripts/maps.min.js"></script>
Expand Down
17 changes: 8 additions & 9 deletions src/Hosted/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>${Title}IntelliFactory</title>
<meta name="description" content="">
<link rel="stylesheet" href="/themekit/css/bootstrap-grid.css">
<link rel="stylesheet" href="/themekit/css/style.css">
<link rel="stylesheet" href="/themekit/css/content-box.css">
<link rel="stylesheet" href="/themekit/css/media-box.css">
<link rel="stylesheet" href="/themekit/css/social.css">
<link rel="stylesheet" href="/themekit/css/contact-form.css">
<link rel="stylesheet" href="/assets/skin.css">
<link rel="stylesheet" href="/assets/custom.css">
<link rel="stylesheet" href="/themekit/css/bootstrap-grid.min.css">
<link rel="stylesheet" href="/themekit/css/style.min.css">
<link rel="stylesheet" href="/themekit/css/content-box.min.css">
<link rel="stylesheet" href="/themekit/css/media-box.min.css">
<link rel="stylesheet" href="/themekit/css/social.min.css">
<link rel="stylesheet" href="/themekit/css/contact-form.min.css">
<link rel="stylesheet" href="/assets/skin.min.css">
<link rel="stylesheet" href="/assets/custom.min.css">
<link rel="shortcut icon" href="/assets/favicon.ico" type="image/x-icon">
<script ws-replace="Head"></script>
<script src="/themekit/scripts/main.js"></script>
Expand Down Expand Up @@ -404,7 +404,6 @@ <h4>Newsletter signup</h4>
</div>
</div>
<div class="bottom" ws-replace="Cookie"></div>
<link rel="stylesheet" href="/themekit/media/icons/iconsmind/line-icons.min.css">
<link async rel="stylesheet" href="/themekit/media/icons/fontawesome/icons.css">
<script src="/themekit/scripts/parallax.min.js"></script>
<script src="/themekit/scripts/imagesloaded.min.js"></script>
Expand Down
18 changes: 9 additions & 9 deletions src/Hosted/legal.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
<meta name="description" content="">
<script src="/themekit/scripts/jquery.min.js"></script>
<script src="/themekit/scripts/main.js"></script>
<link rel="stylesheet" href="/themekit/css/bootstrap-grid.css">
<link rel="stylesheet" href="/themekit/css/style.css">
<link rel="stylesheet" href="/themekit/css/content-box.css">
<link rel="stylesheet" href="/themekit/css/media-box.css">
<link rel="stylesheet" href="/themekit/css/social.css">
<link rel="stylesheet" href="/themekit/css/contact-form.css">
<link rel="stylesheet" href="/assets/skin.css">
<link rel="stylesheet" href="/assets/custom.css">
<link rel="stylesheet" href="/themekit/css/bootstrap-grid.min.css">
<link rel="stylesheet" href="/themekit/css/style.min.css">
<link rel="stylesheet" href="/themekit/css/content-box.min.css">
<link rel="stylesheet" href="/themekit/css/media-box.min.css">
<link rel="stylesheet" href="/themekit/css/social.min.css">
<link rel="stylesheet" href="/themekit/css/contact-form.min.css">
<link rel="stylesheet" href="/assets/skin.min.css">
<link rel="stylesheet" href="/assets/custom.min.css">
<link rel="shortcut icon" href="/assets/favicon.ico" type="image/x-icon">
<script ws-replace="Head"></script>
</head>
Expand Down Expand Up @@ -285,7 +285,7 @@ <h4>Follow us</h4>
</div>
</div>
<div class="bottom" ws-replace="Cookie"></div>
<link rel="stylesheet" href="/themekit/media/icons/iconsmind/line-icons.min.css">
<link async rel="stylesheet" href="/themekit/media/icons/fontawesome/icons.css">
<script src="/themekit/scripts/parallax.min.js"></script>
<script src="/themekit/scripts/imagesloaded.min.js"></script>
<script src="/themekit/scripts/pagination.min.js"></script>
Expand Down
16 changes: 8 additions & 8 deletions src/Hosted/openPosition.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@
<meta name="description" content="" />
<script src="themekit/scripts/jquery.min.js"></script>
<script src="themekit/scripts/main.js"></script>
<link rel="stylesheet" href="themekit/css/bootstrap-grid.css" />
<link rel="stylesheet" href="themekit/css/style.css" />
<link rel="stylesheet" href="themekit/css/magnific-popup.css" />
<link rel="stylesheet" href="themekit/css/contact-form.css" />
<link rel="stylesheet" href="themekit/css/content-box.css" />
<link rel="stylesheet" href="themekit/css/bootstrap-grid.min.css" />
<link rel="stylesheet" href="themekit/css/style.min.css" />
<link rel="stylesheet" href="themekit/css/magnific-popup.min.css" />
<link rel="stylesheet" href="themekit/css/contact-form.min.css" />
<link rel="stylesheet" href="themekit/css/content-box.min.css" />
<link
rel="stylesheet"
href="themekit/media/icons/iconsmind/line-icons.min.css"
/>
<link rel="stylesheet" href="assets/skin.css" />
<link rel="stylesheet" href="assets/custom.css" />
<link rel="stylesheet" href="assets/skin.min.css" />
<link rel="stylesheet" href="assets/custom.min.css" />
<link rel="shortcut icon" href="assets/favicon.ico" type="image/x-icon" />
</head>
<body>
Expand Down Expand Up @@ -147,7 +147,7 @@ <h3 class="text-sm">Graduation</h3>
<footer class="footer light">
<div ws-replace="Footer"></div>
<div class="bottom" ws-replace="Cookie"></div>
<link rel="stylesheet" href="themekit/media/icons/iconsmind/line-icons.min.css">
<link async rel="stylesheet" href="/themekit/media/icons/fontawesome/icons.css">
<script src="themekit/scripts/contact-form/contact-form.js"></script>
<script src="themekit/scripts/tab-accordion.js"></script>
<script src="themekit/scripts/maps.min.js"></script>
Expand Down
24 changes: 11 additions & 13 deletions src/Hosted/research.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,16 @@
<meta name="description" content="" />
<script src="themekit/scripts/jquery.min.js"></script>
<script src="themekit/scripts/main.js"></script>
<link rel="stylesheet" href="themekit/css/bootstrap-grid.css" />
<link rel="stylesheet" href="themekit/css/style.css" />
<link rel="stylesheet" href="themekit/css/glide.css" />
<link rel="stylesheet" href="themekit/css/content-box.css" />
<link rel="stylesheet" href="themekit/css/social.css" />
<link rel="stylesheet" href="themekit/css/contact-form.css" />
<link rel='stylesheet' href="themekit/css/magnific-popup.css">
<link rel="stylesheet" href="themekit/css/media-box.css">
<link rel="stylesheet"
href="themekit/media/icons/iconsmind/line-icons.min.css" />
<link rel="stylesheet" href="assets/skin.css" />
<link rel="stylesheet" href="assets/custom.css" />
<link rel="stylesheet" href="themekit/css/bootstrap-grid.min.css" />
<link rel="stylesheet" href="themekit/css/style.min.css" />
<link rel="stylesheet" href="themekit/css/glide.min.css" />
<link rel="stylesheet" href="themekit/css/content-box.min.css" />
<link rel="stylesheet" href="themekit/css/social.min.css" />
<link rel="stylesheet" href="themekit/css/contact-form.min.css" />
<link rel='stylesheet' href="themekit/css/magnific-popup.min.css">
<link rel="stylesheet" href="themekit/css/media-box.min.css">
<link rel="stylesheet" href="assets/skin.min.css" />
<link rel="stylesheet" href="assets/custom.min.css" />
<link rel="shortcut icon" href="assets/favicon.ico" type="image/x-icon" />
<script ws-replace="Head"></script>
</head>
Expand Down Expand Up @@ -169,7 +167,7 @@ <h3 class="timeline-title">Mussum ipsum cacilds</h3>
<footer class="footer light">
<div ws-replace="Footer"></div>
<div class="bottom" ws-replace="Cookie"></div>
<link rel="stylesheet" href="themekit/media/icons/iconsmind/line-icons.min.css">
<link async rel="stylesheet" href="/themekit/media/icons/fontawesome/icons.css">
<script src="themekit/scripts/contact-form/contact-form.js"></script>
<script src="themekit/scripts/tab-accordion.js"></script>
<script src="themekit/scripts/maps.min.js"></script>
Expand Down
20 changes: 19 additions & 1 deletion src/Hosted/themekit/media/icons/fontawesome/icons.css
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,22 @@

.fa-spinner:before {
content: "\f110";
}
}

/* Other icons */

.fa-user-graduate:before {
content: "\f501";
}

.fa-calendar-alt:before {
content: "\f073";
}

.fa-user-alt:before {
content: "\f406";
}

.fa-chart-bar:before {
content: "\f080";
}
22 changes: 10 additions & 12 deletions src/Hosted/trainings.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,16 @@
<meta name="description" content="">
<script src="/themekit/scripts/jquery.min.js"></script>
<script src="/themekit/scripts/main.js"></script>
<link rel="stylesheet" href="/themekit/css/bootstrap-grid.css">
<link rel="stylesheet" href="/themekit/css/style.css">
<link rel="stylesheet" href="/themekit/css/content-box.css">
<link rel="stylesheet" href="/themekit/css/media-box.css">
<link rel="stylesheet" href="/themekit/css/contact-form.css">
<link rel="stylesheet" href="/themekit/css/social.css">
<link rel="stylesheet" href="themekit/css/magnific-popup.css" />
<link rel="stylesheet" href="themekit/css/contact-form.css" />
<link rel="stylesheet"
href="themekit/media/icons/iconsmind/line-icons.min.css" />
<link rel="stylesheet" href="/assets/skin.css">
<link rel="stylesheet" href="/assets/custom.css">
<link rel="stylesheet" href="/themekit/css/bootstrap-grid.min.css">
<link rel="stylesheet" href="/themekit/css/style.min.css">
<link rel="stylesheet" href="/themekit/css/content-box.min.css">
<link rel="stylesheet" href="/themekit/css/media-box.min.css">
<link rel="stylesheet" href="/themekit/css/contact-form.min.css">
<link rel="stylesheet" href="/themekit/css/social.min.css">
<link rel="stylesheet" href="themekit/css/magnific-popup.min.css" />
<link rel="stylesheet" href="themekit/css/contact-form.min.css" />
<link rel="stylesheet" href="/assets/skin.min.css">
<link rel="stylesheet" href="/assets/custom.min.css">
<link rel="shortcut icon" href="/assets/favicon.ico" type="image/x-icon">
<script ws-replace="Head"></script>
</head>
Expand Down
3 changes: 2 additions & 1 deletion src/Hosted/wsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"$schema": "https://websharper.com/wsconfig.schema.json",
"project": "site",
"outputDir": "."
"outputDir": ".",
"sourceMap": true
}

0 comments on commit 01b6983

Please sign in to comment.