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

feat: google translate dropbox #181

Closed
wants to merge 1 commit into from
Closed
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
27 changes: 6 additions & 21 deletions src/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,7 @@ body {
background-color: var(--bg-light);
color: var(--text-light);
line-height: 1.6;
transition:
background-color 0.3s,
color 0.3s,
background-image 0.3s;
transition: background-color 0.3s, color 0.3s, background-image 0.3s;
background-image: url("../img/bgm.webp");
/* Background image for light mode */
background-repeat: no-repeat;
Expand Down Expand Up @@ -177,9 +174,7 @@ header {
cursor: pointer;
color: var(--accent-light);
font-size: 1.2rem;
transition:
transform 0.3s ease,
color 0.3s ease;
transition: transform 0.3s ease, color 0.3s ease;
}

#searchButton:hover {
Expand Down Expand Up @@ -330,10 +325,7 @@ h1 {
font-style: normal;
position: relative;
cursor: pointer;
transition:
transform 0.3s,
box-shadow 0.3s,
border-color 0.3s ease-in-out;
transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s ease-in-out;
border: 2px solid transparent;
/* Add a transparent border initially */
/*Add text-outline*/
Expand Down Expand Up @@ -362,9 +354,7 @@ h1 {
transform: translateY(-10px) scale(1.05);
/* Add a glowing border effect */
border-color: rgba(255, 255, 255, 0.6);
box-shadow:
0 0 5px rgba(255, 255, 255, 0.5),
0 0 5px rgba(255, 255, 255, 0.4),
box-shadow: 0 0 5px rgba(255, 255, 255, 0.5), 0 0 5px rgba(255, 255, 255, 0.4),
0 0 30px rgba(66, 205, 47, 0.6);
}

Expand Down Expand Up @@ -557,10 +547,7 @@ footer a:hover {
display: none;
/* Hidden by default */
z-index: 1000;
transition:
background-color 0.3s ease,
color 0.3s ease,
transform 0.3s;
transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

Expand Down Expand Up @@ -769,9 +756,7 @@ body.dark-mode .feebback-Btn {
outline: none;
border-radius: 5px;
cursor: pointer;
transition:
border-color 0.3s,
box-shadow 0.3s; /* Smooth transition effects */
transition: border-color 0.3s, box-shadow 0.3s; /* Smooth transition effects */
}

.sort-select:hover {
Expand Down
5 changes: 4 additions & 1 deletion src/data/contributors.json
Original file line number Diff line number Diff line change
Expand Up @@ -223,9 +223,12 @@
"name": "mwango"
},
{
"name":"Jaimin Viramgama"
"name": "Jaimin Viramgama"
},
{
"name": "Abhijit"
},
{
"name": "Tanchuoi"
}
]
55 changes: 36 additions & 19 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,22 @@
<a href="form.html">Contact</a>
</button>
<button id="toggleButton" class="toggle-btn" aria-label="Toggle theme">

</div>
<div id="google_translate_element"></div>

<script type="text/javascript">
// Initialize the Google Translate widget
function googleTranslateElementInit() {
new google.translate.TranslateElement({ pageLanguage: 'en' }, 'google_translate_element');
}

</script>

</header>



<!-- Ghost Image for Animation -->
<img id="flyingGhost" src="img/flying ghost.webp" alt="Flying Ghost" />

Expand Down Expand Up @@ -182,31 +194,34 @@ <h2 class="modal-title">Fun Facts</h2>
</div>

<section id="about-us-section" class="about-us">
<div class="aboutus-container">
<div class="aboutus-container">
<h2>About Us</h2>
<p>HacktoberWall was created to help beginner contributors in the open-source community participate in the Hacktoberfest event.</p>

<div class="owners">
<div id="owner-jolly" class="owner-card">
<img src="" alt="Jolly's Profile Picture" class="profile-picture" />
<div class="owner-info">
<h3>Jolly (Owner)</h3>
<p>Jolly is the creator of HacktoberWall and is passionate about open-source contributions. This project marks his first participation in Hacktoberfest!</p>
<p>HacktoberWall was created to help beginner contributors in the open-source community participate in the
Hacktoberfest event.</p>

<div class="owners">
<div id="owner-jolly" class="owner-card">
<img src="" alt="Jolly's Profile Picture" class="profile-picture" />
<div class="owner-info">
<h3>Jolly (Owner)</h3>
<p>Jolly is the creator of HacktoberWall and is passionate about open-source contributions. This project
marks his first participation in Hacktoberfest!</p>
</div>
</div>
</div>

<div id="owner-phanty" class="owner-card">
<img src="" alt="Phanty78's Profile Picture" class="profile-picture" />
<div class="owner-info">
<h3>Phanty78 (Co-Owner)</h3>
<p>Phanty78 joined Jolly to co-manage HacktoberWall and has made significant contributions to the project.</p>

<div id="owner-phanty" class="owner-card">
<img src="" alt="Phanty78's Profile Picture" class="profile-picture" />
<div class="owner-info">
<h3>Phanty78 (Co-Owner)</h3>
<p>Phanty78 joined Jolly to co-manage HacktoberWall and has made significant contributions to the project.
</p>
</div>
</div>
</div>
</div>
</div>


</section>

</main>

<footer>
Expand All @@ -228,6 +243,8 @@ <h3>Phanty78 (Co-Owner)</h3>
<script src="https://cdnjs.cloudflare.com/ajax/libs/smoothscroll/1.4.10/SmoothScroll.min.js"
integrity="sha256-huW7yWl7tNfP7lGk46XE+Sp0nCotjzYodhVKlwaNeco=" crossorigin="anonymous"></script>
<script src="js/app.min.js"></script>
<script type="text/javascript"
src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
<script>
// // Show the flying ghost and change the footer message if it's Halloween
// if (document.body.classList.contains('halloween-mode')) {
Expand Down