Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

page loader added #382

Merged
merged 1 commit into from
Jun 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 22 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,29 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<script >
window.addEventListener("load", function () {
const loader = document.getElementById("loading");
loader.style.display = "none";
});
</script>
<title>FitBody</title>
<style>
#loading {
background : url(./src/assets/img/Circle\ Loader.gif);
background-repeat: no-repeat;
background-position: center;
position: fixed;
z-index: 999;
height: 100vh;
width: 100%;


}
</style>
</head>
<body>
<body class="load">
<div id="loading"></div>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>

Expand All @@ -41,5 +61,6 @@
To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->

</body>
</html>
Binary file added src/assets/img/Circle Loader.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading