Skip to content

Commit

Permalink
fix(gh-page): fix GitHub 404 page (#6194)
Browse files Browse the repository at this point in the history
* fix(routing): fix github 404 page

* fix(routing): move js into separate files

* feat(routing): fix 404 github page

* delete extra including in angular.json

* fix(gh-pages): fix 404 gh page
  • Loading branch information
SvetlanaMuravlova authored Jul 7, 2021
1 parent 3947950 commit 976edd3
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 1 deletion.
3 changes: 2 additions & 1 deletion angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@
"tsConfig": "apps/ngx-bootstrap-docs/tsconfig.app.json",
"aot": true,
"assets": [
"apps/ngx-bootstrap-docs/src/assets"
"apps/ngx-bootstrap-docs/src/assets",
"apps/ngx-bootstrap-docs/src/404.html"
],
"styles": [
"apps/ngx-bootstrap-docs/src/assets/css/style.scss",
Expand Down
50 changes: 50 additions & 0 deletions apps/ngx-bootstrap-docs/src/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
<!DOCTYPE html>
<html lang="en">
<head><base href="/ngx-bootstrap/">
<title>Angular Bootstrap</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="Bootstrap 3 and Bootstrap 4 widgets for Angular: autocomplete, accordion, alert, buttons, carousel, collapse, dropdown, pagination, popover, progressbar, rating, tabset, timepicker, tooltip, typeahead, sortable, tabs">
<meta name="viewport" content="width=device-width, initial-scale=1">

<link rel="icon" type="image/png" sizes="32x32" href="assets/images/favicons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="assets/images/favicons/favicon-16x16.png">
<link rel="author" href="https://github.com/valor-software/ngx-bootstrap/graphs/contributors">

<!--link to bootstrap.css-->
<link rel="stylesheet" class="style-manager-theme" href="assets/css/bootstrap-4.0.0/css/bootstrap.min.css">
<!--<link rel="stylesheet" href="assets/css/style.css">-->
<!--<link rel="stylesheet" href="assets/css/prettify-angulario.css">-->

<!--<link rel="manifest" href="ngsw-manifest.json">-->

<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="application-name" content="ngx-bootstrap">
<meta name="apple-mobile-web-app-title" content="ngx-bootstrap">
<meta name="theme-color" content="#1d1d2b">
<meta name="msapplication-navbutton-color" content="#1d1d2b">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="msapplication-starturl" content="/">
<link rel="stylesheet" href="styles.css"></head>
<body>
<bs-demo>
Loading...
</bs-demo>
<noscript>Please enable JavaScript to view ngx-bootstrap documentation</noscript>
<!-- Google analytics-->
<script>
if (typeof window != 'undefined') {
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-73071494-1', 'auto');
ga('send', 'pageview');
}
</script>
<script async="" src="assets/js/prettify.min.js"></script>
<!-- script files will be inserted by html-webpack-plugin -->
<script src="runtime.js" defer></script><script src="polyfills.js" defer></script><script src="vendor.js" defer></script><script src="main.js" defer></script></body>
</html>

0 comments on commit 976edd3

Please sign in to comment.