-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Muhammad Fahim Tajwar
committed
Dec 1, 2024
1 parent
93af259
commit a697d72
Showing
3 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import styles from "@/styles/topBar.module.css"; | ||
|
||
const TopBar = (props) => { | ||
const folders = ["Reacta", "Manufacturing", "Process Autodetector", "Trainer"]; | ||
return ( | ||
<div className="topBar"> | ||
{folders.map((folder, index) => ( | ||
<span key={index} className="folder"> | ||
{folder} | ||
{index < folders.length - 1 && <span className="separator"> > </span>} | ||
</span> | ||
))} | ||
</div> | ||
); | ||
}; | ||
|
||
|
||
export default TopBar; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
.topBar { | ||
flex-direction: row; | ||
width: 100vw; | ||
height: 100px; | ||
background-color: azure; | ||
margin-left: -100px; | ||
margin-top: -100px; | ||
margin-right: -100px; | ||
top: 0; /* Position it at the top of the viewport */ | ||
left: 0; /* Start from the leftmost edge */ | ||
/* z-index: 1000; Ensure it stays above other elements */ | ||
} |