Skip to content

Commit

Permalink
Merge branch 'main' into new_branch
Browse files Browse the repository at this point in the history
  • Loading branch information
haseebzaki-07 authored Nov 5, 2024
2 parents f476d2e + 18add59 commit 5050c1a
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 158 deletions.
20 changes: 20 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,5 +238,25 @@ git push -u origin <your_branch_name>

<a href="https://github.com/SurajPratap10/Imagine_AI/graphs/contributors"><img src="https://contrib.rocks/image?repo=SurajPratap10/Imagine_AI"></a>

---

## Stargazers ❤️

<div align='left'>

[![Stargazers repo roster for SurajPratap10/Imagine_AI](https://reporoster.com/stars/dark/SurajPratap10/Imagine_AI)](https://github.com/SurajPratap10/Imagine_AI/stargazers)

</div>

## Forkers ❤️

[![Forkers repo roster for SurajPratap10/Imagine_AI](https://reporoster.com/forks/dark/SurajPratap10/Imagine_AI)](https://github.com/SurajPratap10/Imagine_AI/network/members)

---

<h3 align="center"> Happy Coding ❤️🚀</h3>

---

<p align="right"><a href="#top">Back to Top</a></p>
</div>
162 changes: 4 additions & 158 deletions views/contactUs.ejs
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
<%- include('includes/PRE.ejs') %>
<%- include('includes/header.ejs') %>
<%- include('includes/navbar.ejs') %>
<%- include('includes/sidebar.ejs') %>

<link rel="stylesheet" href="../public/css/style.css">
<script src="https://kit.fontawesome.com/c4254e24a8.js"></script>
Expand Down Expand Up @@ -98,161 +94,11 @@
</style>
</head>
<main>
<header>
<div class="navbar">
<div class="nav-container">
<!-- Dark mode toggle button -->
<div id="dark-mode-icon-mobile" class="dark-mode-toggle dark-mode-icon" onclick="toggleDarkMode()">
<i class="fa-sharp fa-solid fa-sun"></i>
</div>
<div class="logo-image">
<a href="/"><img src="imagine-ai-low-resolution-logo-color-on-transparent-background.png"
class="home-logo" alt="home-logo" loading="lazy" />
</a>
</div>
<div class="nav-links hide-sm nav-style" id="mainNav">
<div class="left-nav-links navs">
<div class="logo">
<a class="AI white-color hover-effect <%= path === '/' ? 'active' : '' %>" href="/">HOME</a>
</div>
<div class="imagh">
<a class="AI white-color hover-effect <%= path === '/generateImg' ? 'active' : '' %>"
href="/generateImg">IMAGINE - AI</a>
</div>
<div class="abth">
<a class="AI white-color hover-effect <%= path === '/aboutUs' ? 'active' : '' %>"
class="AI white-color hover-effect <%= path === '/contactUs' ? 'active' : '' %>"
href="/aboutUs">ABOUT - US</a>
</div>
<div class="conh">
<a class="AI white-color hover-effect <%= path === '/contactUs' ? 'active' : '' %>"
href="/contactUs">CONTACT - US</a>
</div>
<!-- Rest of the nav links -->
<div class="team">
<a class="AI white-color hover-effect <%= path === '/team' ? 'active' : '' %>"
href="/team">COMMUNITY</a>
</div>
<!-- Rest of the right-nav-links -->

</div>
<div class="right-nav-links">
<!-- Dark mode toggle button -->
<div id="dark-mode-icon-desktop" class="dark-mode-toggle dark-mode-icon" onclick="toggleDarkMode()">
<i class="fa-sharp fa-solid fa-sun"></i>
</div>
<div>
<a class="AI white-color hover-effect" href="https://openai.com/dall-e-2/" target="_blank">DALL.E
2 - OpenAI API</a>
</div>
</div>
</div>
<div>
<a class="login AI white-color" id="header-btn2" href="/login">Login</a>
</div>
<div onclick="toggleNavbar()" class="barIcon hide-lg hover-effect">
<i class="fa-solid fa-bars"></i>
</div>
</div>
</div>
</header>

<style>
/*adjusting nav-bar elements*/
.nav-style {
display: flex;
justify-content: space-between;
}
.navs {
justify-content: space-evenly;
}
/*adding hover effects to each nav elements*/
.nav-container {
display: flex;
justify-content: space-evenly;
align-items: center;
width: 100%;
}
/* Light mode styles */
/* .light-mode { } */
.AI {
display: inline-block;
padding: 10px;
margin-left: 25px;
}
/* Light mode styles
.light-mode {
} */
/* Dark mode styles */
.dark-mode {
background-color: #121212;
color: #ffffff;
}
/* Dark mode styles for navbar */
.dark-mode #navbar {
background-color: #121212;
color: #ffffff;
}
/* Dark mode styles for the about section */
.dark-mode .about {
background-color: #121212;
color: #ffffff;
}
/* Styles for the dark mode toggle button */
.dark-mode-toggle {
width: fit-content;
backdrop-filter: blur(4px);
padding: 5px;
border-radius: 50%;
cursor: pointer;
z-index: 999;
}
<%- include('includes/PRE.ejs') %>
<%- include('includes/header.ejs') %>
<%- include('includes/navbar.ejs') %>
<%- include('includes/sidebar.ejs') %>

.dark-mode-toggle i {
transition: transform 0.3s ease-in-out;
font-size: 1.1em;
}
#dark-mode-icon-mobile {
position: absolute;
right: 20%;
display: none;
}
#dark-mode-icon-desktop {
font-size: 1.1rem;
display: block;
}
@media (max-width: 989px) {
#dark-mode-icon-mobile {
display: block;
}
#dark-mode-icon-desktop {
display: none;
}
}
@media (max-width: 900px) {
.navbar {
display: none;
}
#dark-mode-icon-mobile {
display: block;
}
}
</style>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.5/gsap.min.js"></script>
<section class="Contact-Us">
<div class="contact-top" id="slide">
Expand Down

0 comments on commit 5050c1a

Please sign in to comment.