Skip to content

Commit

Permalink
Merge branch 'main' into logo-in-statistics
Browse files Browse the repository at this point in the history
  • Loading branch information
varshith257 authored Jun 2, 2024
2 parents 73d4a04 + 358f816 commit 990520e
Show file tree
Hide file tree
Showing 2 changed files with 112 additions and 12 deletions.
28 changes: 16 additions & 12 deletions .github/workflows/greetings.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,22 @@
name: Greetings
name: 'Greetings'

on: [pull_request_target, issues]
on:
issues:
types: [opened]
pull_request_target:
types: [opened]
permissions:
issues: write
pull-requests: write

jobs:
greeting:
welcome:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: "Hi there! Thanks for opening this issue. We appreciate your contribution to this open-source project. We aim to respond or assign your issue as soon as possible."
pr-message: |
Great job, @${{ github.actor }}! 🎉 Thank you for submitting your pull request. Your contribution is valuable and we appreciate your efforts to improve our project.We will promptly review your changes and offer feedback. Keep up the excellent work! Kindly remember to check our [contributing guidelines](https://github.com/Anshika14528/RAPIDOC-HEALTHCARE-WEBSITE-/blob/main/CONTRIBUTING.md)'
- uses: actions/checkout@v1
- uses: EddieHubCommunity/gh-action-community/src/welcome@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: "Hi there! Thanks for opening this issue. We appreciate your contribution to this open-source project. We aim to respond or assign your issue as soon as possible."
pr-message: "Great job, @${{ github.actor }}! 🎉 Thank you for submitting your pull request. Your contribution is valuable and we appreciate your efforts to improve our project.We will promptly review your changes and offer feedback. Keep up the excellent work! Kindly remember to check our [contributing guidelines](https://github.com/Anshika14528/RAPIDOC-HEALTHCARE-WEBSITE-/blob/main/CONTRIBUTING.md)"

96 changes: 96 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,78 @@
right: 0;
}
}
/*Preloader CSS*/
.pre{
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
transition: opacity 2s ease-out, visibility 2s ease-out;
opacity: 1;
visibility: visible;
z-index: 9999;
}

.pre--hidden {
opacity: 0;
visibility: hidden;
}

.loader {
display: block;
position: relative;
width: 150px;
height: 150px;
border-radius: 50%;
border: 3px solid transparent;
border-top-color: #55a5ea;
animation: spin 3s linear infinite;
}

.loader:before {
content: "";
position: absolute;
top: 5px;
left: 5px;
right: 5px;
bottom: 5px;
border-radius: 50%;
border: 3px solid transparent;
border-top-color: #3fbcc0c6;
animation: spin 3s linear infinite;
}

.loader:after {
content: "";
position: absolute;
top: 15px;
left: 15px;
right: 15px;
bottom: 15px;
border-radius: 50%;
border: 3px solid transparent;
border-top-color: #fff;
animation: spin 1.5s linear infinite;
}

@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}


.loader--hidden{
opacity: 0;
visibility: hidden;
}
</style>
<link rel="stylesheet" href="chatbox.css">
<!-- Google Fonts Link For Icons chatboxx -->
Expand All @@ -125,6 +196,9 @@
</head>

<body>
<div class="pre">
<div class="loader"></div>
</div>
<!-- ############# Header ############# -->

<header class="header_container">
Expand Down Expand Up @@ -995,6 +1069,28 @@ <h4>RAPIDOC Newsletter</h4>
ScrollReveal().reveal('.col-lg-3', { delay: 500 , origin:'left' });
ScrollReveal().reveal('.feedback', { delay: 400 , origin:'left' });
ScrollReveal().reveal('.footer', { delay: 400 , origin:'bottom' });
</script>
<script>

window.addEventListener("load", () => {
const loader = document.querySelector(".pre");

loader.classList.add("pre--hidden");

loader.addEventListener("transitionend", () => {
document.body.removeChild(loader);
});
});

window.addEventListener("load", () => {
const loader = document.querySelector(".loader");

loader.classList.add("loader--hidden");

loader.addEventListener("transitionend", () => {
document.body.removeChild(loader);
});
});
</script>
</body>

Expand Down

0 comments on commit 990520e

Please sign in to comment.