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

I made changes in dropdown menu and made "BE" Link working. #622

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
2 changes: 1 addition & 1 deletion components/common/Navbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ const Navbar = () => {
</Link>
</li>
<li>
<Link href='/'>
<Link href='/courses/be'>
<a
onClick={() => setDropdown(false)}
className={styles.dropdownLink}
Expand Down
97 changes: 97 additions & 0 deletions pages/courses/be/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
import Header from "components/common/Header/Header";
import styles from "@styles/Btech.module.css";
import Footer from "components/common/Footer";

export default function BTech() {
const image = "/images/btech/top_bg.jpg";
return (
<>
<Header image={image} text="BE" />
{/* <!-- content of B.Sc section --> */}
<section id={styles.btcontent}>
<div className={styles.mission}>
<h2>BE</h2>
<p>
BE stands for Bachelor of Engineering. It's an undergraduate degree program typically spanning four years. BE courses offer students a comprehensive understanding of engineering disciplines such as Civil Engineering,
Mechanical Engineering, Electrical Engineering, Computer Engineering, Chemical Engineering, and more. Through theoretical studies and practical applications, BE programs equip students with the skills and knowledge necessary
for careers in various engineering fields.
</p>
</div>

<h2>Choose Your Branch</h2>
<div id={styles.branches}>

<a
href="https://drive.google.com/file/d/1SRfFI6MPyaJJXDp4LK7AgqgNGSSLP3L3/view?usp=sharing"
target="_blank"
rel="noreferrer"
>
<div className={styles.brnch} id={styles.bio}>
<p>Biology</p>
</div>
</a>
<a
href="https://drive.google.com/file/d/1E8LgRucBaV1qHVovVjJc3c0JH7IRHmye/view?usp=sharing"
target="_blank"
rel="noreferrer"
>
<div className={styles.brnch} id={styles.csc}>
<p>Computer Science</p>
</div>
</a>
<a
href="https://drive.google.com/file/d/1MSu8-ViOvVEzfOoEY75a3mJkXoudRmxB/view?usp=sharing"
target="_blank"
rel="noreferrer"
>
<div className={styles.brnch} id={styles.chem}>
<p>Chemistry</p>

</div>
</a>
<a
href="https://drive.google.com/file/d/1gSnoQhkfyrFBJQMhXZjByJrN392XXhJq/view?usp=sharing"
target="_blank"
rel="noreferrer"
>
<div className={styles.brnch} id={styles.math}>
<p>Mathematics</p>

</div>
</a>
<a
href="https://drive.google.com/file/d/1odvzfXP4HAUBeY5z89N8z66UtNGxTpsb/view?usp=sharing"
target="_blank"
rel="noreferrer"
>
<div className={styles.brnch} id={styles.phy}>
<p>Physics</p>

</div>
</a>
<a
href="https://drive.google.com/file/d/18F5QwqkYzoLZm_BOQ74_0FRK-8J2C5AY/view?usp=sharing"
target="_blank"
rel="noreferrer"
>
<div className={styles.brnch} id={styles.nur}>
<p>Nursing</p>
</div>
</a>
<a
href="https://drive.google.com/file/d/1iuxcQrntJZw5q3zoQUiVSZ_bfAbyG0Y_/view?usp=sharing"
target="_blank"
rel="noreferrer"
>
<div className={styles.brnch} id={styles.agr}>
<p>Agriculture</p>

</div>
</a>

</div>
</section>
<Footer />
</>
);
}
18 changes: 12 additions & 6 deletions styles/Navbar.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ navigation menu opens in mobile phones */
position: absolute;
top: 100%;
/* right: 10px; */
background-color: #fff;
background-color: rgb(62, 62, 252);
border-radius: 14px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
padding: 8px 0;
Expand All @@ -155,16 +155,22 @@ navigation menu opens in mobile phones */

.dropdownMenu li {
padding: 10px 16px;
border-radius: 5px;
}

.dropdownLink {
color: #333;
color: white;
text-decoration: none;

}

.dropdownLink:hover {
color: #0070f3;
text-shadow: 0 2px 4px #75b2f8;
.dropdownMenu li:hover {
color: white;
background-color:black;
transition: all 0.5s;


/* text-shadow: 0 2px 4px #75b2f8; */
}

.lnk {
Expand Down Expand Up @@ -316,4 +322,4 @@ navigation menu opens in mobile phones */

.imageContainer {
margin: 5px 1.5%;
}
}
Loading