Skip to content

Commit

Permalink
Update contactUs.ejs
Browse files Browse the repository at this point in the history
Signed-off-by: Neeru  <[email protected]>
  • Loading branch information
neeru24 authored Oct 13, 2024
1 parent 3188b32 commit 04963ca
Showing 1 changed file with 74 additions and 1 deletion.
75 changes: 74 additions & 1 deletion views/contactUs.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,71 @@
transition: background-color 0.3s ease, color 0.3s ease;
}
body {
position: relative; /* Ensure positioning context for absolute elements */
margin: 0; /* Remove default margin */
padding: 0; /* Remove default padding */
height: 100vh; /* Full height to demonstrate button positioning */
background-color: #f0f0f0; /* Optional: background color for visibility */
}
.button {
position: absolute;
top: 20px;
right: 20px;
width: 120px;
height: 40px;
background-color: #000;
display: flex;
align-items: center;
color: white;
flex-direction: column;
justify-content: center;
border: none;
padding: 12px;
gap: 12px;
border-radius: 8px;
cursor: pointer;
}
.button::before {
content: '';
position: absolute;
inset: 0;
left: -4px;
top: -1px;
margin: auto;
width: 128px;
height: 48px;
border-radius: 10px;
background: linear-gradient(-45deg, #e81cff 0%, #40c9ff 100% );
z-index: -10;
pointer-events: none;
transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.button::after {
content: "";
z-index: -1;
position: absolute;
inset: 0;
background: linear-gradient(-45deg, #fc00ff 0%, #00dbde 100% );
transform: translate3d(0, 0, 0) scale(0.95);
filter: blur(20px);
}
.button:hover::after {
filter: blur(30px);
}
.button:hover::before {
transform: rotate(-180deg);
}
.button:active::before {
scale: 0.7;
}
input,
textarea {
background-color: #f5f5f5;
Expand Down Expand Up @@ -88,6 +153,10 @@
</head>
<%- include('includes/navbar.ejs') %>
<main>
<button class="button" id="homeButton">
Home
</button>

<section class="Contact-Us">
<div class="contact-top" id="slide">
<h1>Contact Us</h1>
Expand Down Expand Up @@ -745,10 +814,14 @@
chatbotId: "fZnpFqGqi_Ol7GFejzNXo",
domain: "www.chatbase.co"
}
document.getElementById('homeButton').onclick = function() {
window.open('https://imagine-ai-17zf.vercel.app/', '_self'); // Opens the URL in the same tab
};
</script>
<script
src="https://www.chatbase.co/embed.min.js"
chatbotId="fZnpFqGqi_Ol7GFejzNXo"
domain="www.chatbase.co"
defer>
</script>
</script>

0 comments on commit 04963ca

Please sign in to comment.