Skip to content

Commit

Permalink
Enhance structure
Browse files Browse the repository at this point in the history
  • Loading branch information
monambike committed Mar 27, 2024
1 parent ddc71bc commit ea4a8ec
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 53 deletions.
9 changes: 4 additions & 5 deletions src/Monambike.Web/wwwroot/css/main.css

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

2 changes: 1 addition & 1 deletion src/Monambike.Web/wwwroot/css/main.css.map

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

47 changes: 6 additions & 41 deletions src/Monambike.Web/wwwroot/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@
</head>

<body>
<!-- App Body Content -->
<div id="app">
<!-- Loading -->
<!-- Loading Screen -->
<div class="app-format">
<div class="loading">
<div class="loading--background-filter">
Expand All @@ -44,54 +45,18 @@
</div>
</div>

<!-- Blazor error message -->
<div id="blazor-error-ui">
An unhandled error has occurred.
<a href="" class="reload">Reload</a>
<a class="dismiss">🗙</a>
</div>

<!-- Loads Blazor Frameswork -->
<script src="_framework/blazor.webassembly.js"></script>
<!-- JavaScript Files -->
<script src="javascript/animation-rainstorm.js"></script>
<script src="javascript/scroll.js"></script>

<script>
//// File with random loading messages
//loadingMessages = "../Resources/LoadingMessages.txt";

//// Setting a random message to the loading pager
//var loadingMessageInnerHTML = document.getElementById("loading-message").innerHTML
//loadingMessageInnerHTML = getRandomLineFromFile(loadingMessages);

//var intervalId = window.setInterval(function () {
// // call your function here
//}, 5000);

//function getRandomLineFromFile(filename, callback) {
// const fileSystem = require("fs");
// fileSystem.readFile(filename, "utf-8", function (error, data) {
// if (error) {
// throw error;
// }

// // Get all lines from file
// var lines = data.split('\n');
// // Choose one of the lines...
// var line = lines[Math.floor(Math.random() * lines.length)]

// // Invoke the callback with our line
// return line;
// })
//}

//function loadingDotAnimation() {
// var dots = window.setInterval(function () {
// var wait = document.getElementById("loading-dots");
// if (wait.innerHTML.length > 3)
// wait.innerHTML = "";
// else
// wait.innerHTML += ".";
// }, 100);
//}
</script>
</body>

</html>
12 changes: 6 additions & 6 deletions src/Monambike.Web/wwwroot/scss/pages/home/_about-me.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ For license information, please see the LICENSE file in the root directory.
padding: 0;
}
}

// Styles for Button Container
.button-container {
padding: 20px 0px;
text-align: center;
}

// Animated Purple Cross Background
@keyframes animatedBackground {
Expand Down Expand Up @@ -89,12 +95,6 @@ For license information, please see the LICENSE file in the root directory.
}
}

// Styles for Button Container
.button-container {
padding: 20px 0px;
text-align: center;
}

// Styles for Karen Kujou Image
.featured-image {
border-left: 18px double rgb(120, 20, 220, 1);
Expand Down

0 comments on commit ea4a8ec

Please sign in to comment.