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: Select language ui updated #1275

Merged
merged 2 commits into from
Aug 2, 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
45 changes: 45 additions & 0 deletions footer.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
.footer__container {
width: 100%;
/* max-width: 1800px; */
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: flex-start;
justify-content: space-between;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
color: var(--secondary-color);
margin: 0;
padding: 0;
}

.goog-te-combo{
background: #5074cf;
color: white;
height: 40px;
border-radius: 70px;
padding: 10px;
border: #1457ff;
backdrop-filter: blur(20px);
font-size: medium;
font-weight: 400;
}

.goog-te-combo option{
background: #9fbaff;
height: 40px;
margin-top: 5px;
font-size: medium;
color: black;
}

.footer_text{
display: flex;
flex-direction: column;
gap: 10px;
}

.footer_text a{
color: white;
/* margin-top: 10px; */
}
25 changes: 13 additions & 12 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>

<link rel="stylesheet" href="styles.css" />
<link rel="stylesheet" href="footer.css">
<link rel="stylesheet" href="./Image-Gallery/style.css">
<link rel="stylesheet" href="./Image-Gallery/stylecaptions.css">
<link rel="stylesheet" href="explore.css">
Expand Down Expand Up @@ -1617,7 +1618,7 @@ <h2 class="section__title" data-aos="fade-up">Subscribe to get special prize</h2


<footer class="footer" data-aos="fade-up">
<div class="section__container footer__container">
<div class=" footer__container">
<div class="footer__col">
<h3 class="footer-head" class="footer__title" style="cursor: default;">Tourguide<span>.</span></h3>
<p>
Expand All @@ -1629,7 +1630,7 @@ <h3 class="footer-head" class="footer__title" style="cursor: default;">Tourguide
</div>
<div class="footer__col">
<h3 class="footer-head" class="footer__title">Places You May Want to Visit<span>.</span></h3>
<p class="footer__text">
<p class="footer__text footer_text">

<a href="Cultural_Exp.html">Cultural Experiences</a>

Expand Down Expand Up @@ -1730,9 +1731,17 @@ <h4>Contact Us</h4>
</div>

</div>
<div style="padding: 32px; background-color: #9fbaff; border-radius: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);">
<label for="google_translate_element" style="display: block; font-weight: bold; margin-bottom: 10px; font-size: 20px; color: #333;">Select Language:</label>
<div style="padding: 32px; background-color: transparent; border-radius: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);">
<label for="google_translate_element" style="display: block; font-weight: bold; margin-bottom: 10px; font-size: 20px; color: white;">Select Language:</label>
<div id="google_translate_element" style="display: inline-block; margin-top: 10px; padding: 20px; border: 1px solid #ff9fcf; border-radius: 5px; background-color: #fff;"></div>
</div>
</div>

<!-- New copyright code to make it dynamic and display current year -->
<div class="footer__bar">
<div>
<li>Copyright &copy;<span id="year"></span> </span> Arpan Chowdhury. All rights reserved. </li>
</div>
</div>


Expand Down Expand Up @@ -1784,14 +1793,6 @@ <h4>Contact Us</h4>
</script> -->



<!-- New copyright code to make it dynamic and display current year -->
<div class="footer__bar">
<div>
<li>Copyright &copy;<span id="year"></span> </span> Arpan Chowdhury. All rights reserved. </li>
</div>
</div>

</footer>


Expand Down
4 changes: 3 additions & 1 deletion styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -1280,15 +1280,17 @@ body, html {

.footer__container {
width: 100%;
/* max-width: 1800px; */
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: flex-start;
justify-content: space-between;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
color: var(--secondary-color);
margin: 0;
padding: 0;
padding: 0;
}

.footer__col {
Expand Down
Loading