Skip to content

Commit

Permalink
Fixed Navbar after Login Issue (Opentek-Org#376)
Browse files Browse the repository at this point in the history
* chat bot html code

* chatbot CSS

* successfully added chatbot v3.5

* Prettier Check

* fixed after login issue

* Prettier checked
  • Loading branch information
SyedImtiyaz-1 authored Jun 30, 2023
1 parent 531724d commit ded9cf7
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 28 deletions.
2 changes: 1 addition & 1 deletion chatBot/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const chatbotCloseBtn = document.querySelector('.chatbot__header span');
let userMessage;
// Need GPT key
const inputInitHeight = chatInput.scrollHeight;
const API_KEY = 'dbb81355ffmsh45efafb43429ff6p182be6jsnbb49b4e3833a' //Important;
const API_KEY = 'Enter API key here' //Important

const createChatLi = (message, className) => {
const chatLi = document.createElement('li');
Expand Down
56 changes: 29 additions & 27 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@
0.0 *** Common CSS START ***
=============================*/



:root{
--main-color:#aa80ff;
--clr-back-light: #E1C1F3;
--clr-back-dark: #D59CF7;
:root {
--main-color: #aa80ff;
--clr-back-light: #e1c1f3;
--clr-back-dark: #d59cf7;
}

html::-webkit-scrollbar-track {
Expand Down Expand Up @@ -332,13 +330,19 @@ p {
}

.backtotop:hover i {
background: #151f2c;
background: #151f2c;
}

@keyframes scaleBtn{
0% {transform:scale(1, 1)}
50%{transform:scale(1.1, 1.1)}
100%{transform:scale(1, 1)}
@keyframes scaleBtn {
0% {
transform: scale(1, 1);
}
50% {
transform: scale(1.1, 1.1);
}
100% {
transform: scale(1, 1);
}
}

/*===========================
Expand All @@ -354,8 +358,8 @@ p {
background-color: rgba(88, 101, 242, var(--tw-bg-opacity));
padding-top: 0.3rem;
padding-bottom: 0.3rem;
position:absolute;
z-index:2;
position: absolute;
z-index: 2;
}

.discord-banner p {
Expand All @@ -379,9 +383,9 @@ p {

/*==== hamburger-to-cross start===*/

.navbar{
.navbar {
position: fixed;
padding-top: 2rem;
padding-top: 2.5rem !important;
}

.navbar-toggler {
Expand Down Expand Up @@ -1091,11 +1095,10 @@ over-btn a i {
transition: all linear 0.3s;
} */

.about-txt a:hover{
.about-txt a:hover {
border: 2px solid var(--main-color);
color: var(--main-color);
background-color: transparent;

}

.list {
Expand Down Expand Up @@ -1163,30 +1166,30 @@ li {
}

.footer-social a:hover i.fa-discord {
background: #5865F2;
background: #5865f2;
color: #fff;
border: 1px solid #5865F2;
border: 1px solid #5865f2;
transform: scale(1.1);
}

.footer-social a:hover i.fa-twitter {
background: #1DA1F2;
background: #1da1f2;
color: #fff;
border: 1px solid #1DA1F2;
border: 1px solid #1da1f2;
transform: scale(1.1);
}

.footer-social a:hover i.fa-linkedin-in {
background: #0077B5;
background: #0077b5;
color: #fff;
border: 1px solid #0077B5;
border: 1px solid #0077b5;
transform: scale(1.1);
}

.footer-social a:hover i.fa-envelope {
background: #E4405F;
background: #e4405f;
color: #fff;
border: 1px solid #E4405F;
border: 1px solid #e4405f;
transform: scale(1.1);
}

Expand Down Expand Up @@ -1215,7 +1218,6 @@ li {
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


.links h3 {
font-size: 21px;
font-family: pb;
Expand Down Expand Up @@ -1334,6 +1336,6 @@ li {
display: none;
}

#footer-btm i{
#footer-btm i {
color: var(--main-color);
}

0 comments on commit ded9cf7

Please sign in to comment.