Skip to content

Commit

Permalink
Update navbar.js
Browse files Browse the repository at this point in the history
  • Loading branch information
wheatsnackbread authored Sep 7, 2024
1 parent 864d654 commit c9c2783
Showing 1 changed file with 79 additions and 79 deletions.
158 changes: 79 additions & 79 deletions build/NavBar/navbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,86 +61,86 @@ var NavBar = function (_React$Component) {
},
React.createElement(
"a",
{ className: "nav-link ms-lg-4", href: "./" },
"Home"
{ className: "nav-link ms-lg-4", href: "https://iveytechclub.ca" },
"Home (Return to Main Site)"
)
),
React.createElement(
"li",
{
className: this.state.active == "events" ? "nav-item active" : "nav-item"
},
React.createElement(
"a",
{ className: "nav-link ms-lg-4", href: "events" },
"Events"
)
),
React.createElement(
"li",
{
className: this.state.active == "resources" ? "nav-item active" : "nav-item"
},
React.createElement(
"a",
{ className: "nav-link ms-lg-4", href: "resources" },
"Resources"
)
),
React.createElement(
"li",
{
className: this.state.active == "people" ? "nav-item dropdown active" : "nav-item dropdown"
},
React.createElement(
"a",
{
className: "nav-link ms-lg-4",
id: "navbarDropdownMenuLink",
role: "button",
"data-bs-toggle": "dropdown",
"aria-expanded": "false"
},
"People ",
React.createElement("i", { className: "fas fa-caret-down" })
),
React.createElement(
"ul",
{
className: "dropdown-menu",
"aria-labelledby": "navbarDropdownMenuLink"
},
React.createElement(
"li",
null,
React.createElement(
"a",
{ className: "dropdown-item", href: "team" },
"Our Team"
)
),
React.createElement(
"li",
null,
React.createElement(
"a",
{ className: "dropdown-item", href: "alumni" },
"Alumni"
)
)
)
),
React.createElement(
"li",
{
className: this.state.active == "contact" ? "nav-item active" : "nav-item"
},
React.createElement(
"a",
{ className: "nav-link ms-lg-4", href: "contact" },
"Contact"
)
)
// React.createElement(
// "li",
// {
// className: this.state.active == "events" ? "nav-item active" : "nav-item"
// },
// React.createElement(
// "a",
// { className: "nav-link ms-lg-4", href: "events" },
// "Events"
// )
// ),
// React.createElement(
// "li",
// {
// className: this.state.active == "resources" ? "nav-item active" : "nav-item"
// },
// React.createElement(
// "a",
// { className: "nav-link ms-lg-4", href: "resources" },
// "Resources"
// )
// ),
// React.createElement(
// "li",
// {
// className: this.state.active == "people" ? "nav-item dropdown active" : "nav-item dropdown"
// },
// React.createElement(
// "a",
// {
// className: "nav-link ms-lg-4",
// id: "navbarDropdownMenuLink",
// role: "button",
// "data-bs-toggle": "dropdown",
// "aria-expanded": "false"
// },
// "People ",
// React.createElement("i", { className: "fas fa-caret-down" })
// ),
// React.createElement(
// "ul",
// {
// className: "dropdown-menu",
// "aria-labelledby": "navbarDropdownMenuLink"
// },
// React.createElement(
// "li",
// null,
// React.createElement(
// "a",
// { className: "dropdown-item", href: "team" },
// "Our Team"
// )
// ),
// React.createElement(
// "li",
// null,
// React.createElement(
// "a",
// { className: "dropdown-item", href: "alumni" },
// "Alumni"
// )
// )
// )
// ),
// React.createElement(
// "li",
// {
// className: this.state.active == "contact" ? "nav-item active" : "nav-item"
// },
// React.createElement(
// "a",
// { className: "nav-link ms-lg-4", href: "contact" },
// "Contact"
// )
// )
)
)
)
Expand All @@ -152,4 +152,4 @@ var NavBar = function (_React$Component) {
}(React.Component);

var domTarget = document.querySelector("#react-navbar");
ReactDOM.render(React.createElement(NavBar, null), domTarget);
ReactDOM.render(React.createElement(NavBar, null), domTarget);

0 comments on commit c9c2783

Please sign in to comment.