-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: hxtree <[email protected]>
- Loading branch information
Showing
13 changed files
with
158 additions
and
43 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// DO NOT MODIFY THIS FILE MANUALLY BUT DO COMMIT IT. It is generated and used by Rush. | ||
{ | ||
"pnpmShrinkwrapHash": "bd75aecd3ef0ca509e178152e6b128420b56d3ac", | ||
"pnpmShrinkwrapHash": "aeee2ce0d784d1ffd96165dcb760637b0018b27d", | ||
"preferredVersionsHash": "7c6836c4ff2ee31a263e87ea93a487fc752ca3f6" | ||
} |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,14 +1,46 @@ | ||
import MUIAppBar, { AppBarProps as MUIAppBarProps } from '@mui/material/AppBar'; | ||
import './style.module.scss'; | ||
|
||
export type AppBarProps = { | ||
siteTitle?: string; | ||
theme?: 'dark' | 'light'; | ||
} & MUIAppBarProps; | ||
} | ||
|
||
export const AppBar = (props: AppBarProps) => { | ||
const { theme, ...muiProps } = props; | ||
return <MUIAppBar {...muiProps} className={ | ||
theme === 'dark' ? 'app-bar-dark' : 'app-bar-light' | ||
}/>; | ||
const { siteTitle, theme } = props; | ||
|
||
return ( | ||
<> | ||
<nav className={`navbar navbar-expand-lg navbar-light`}> | ||
<div className="container"> | ||
<a className="navbar-brand" href="#">{siteTitle || 'Your Brand'}</a> | ||
<button className="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation"> | ||
<span className="navbar-toggler-icon"></span> | ||
</button> | ||
</div> | ||
</nav> | ||
|
||
<nav className="navbar navbar-expand-lg navbar-dark app-bar-dark"> | ||
<div className="container"> | ||
<div className="collapse navbar-collapse" id="navbarNav"> | ||
<ul className="navbar-nav me-auto"> | ||
<li className="nav-item"> | ||
<a className="nav-link" href="#">Home</a> | ||
</li> | ||
<li className="nav-item"> | ||
<a className="nav-link" href="#">About Us</a> | ||
</li> | ||
<li className="nav-item"> | ||
<a className="nav-link" href="#">Services</a> | ||
</li> | ||
<li className="nav-item"> | ||
<a className="nav-link" href="#">Contact</a> | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
</nav> | ||
</> | ||
); | ||
}; | ||
|
||
export default AppBar; | ||
export default AppBar; |
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
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
41 changes: 30 additions & 11 deletions
41
services/design-system/src/components/SocialMediaBar/style.module.scss
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 |
---|---|---|
@@ -1,6 +1,42 @@ | ||
@import './utils/color-pallette'; | ||
@import './utils/bg-color'; | ||
|
||
|
||
|
||
@import "../node_modules/bootstrap/scss/bootstrap"; | ||
|
||
// // 1. Include functions first (so you can manipulate colors, SVGs, calc, etc) | ||
// @import "../node_modules/bootstrap/scss/functions"; | ||
|
||
// // 2. Include any default variable overrides here | ||
|
||
// // 3. Include remainder of required Bootstrap stylesheets (including any separate color mode stylesheets) | ||
// @import "../node_modules/bootstrap/scss/variables"; | ||
// @import "../node_modules/bootstrap/scss/variables-dark"; | ||
|
||
// // 4. Include any default map overrides here | ||
|
||
// // 5. Include remainder of required parts | ||
// @import "../node_modules/bootstrap/scss/maps"; | ||
// @import "../node_modules/bootstrap/scss/mixins"; | ||
// @import "../node_modules/bootstrap/scss/root"; | ||
|
||
// // 6. Optionally include any other parts as needed | ||
// @import "../node_modules/bootstrap/scss/utilities"; | ||
// @import "../node_modules/bootstrap/scss/reboot"; | ||
// @import "../node_modules/bootstrap/scss/type"; | ||
// @import "../node_modules/bootstrap/scss/images"; | ||
// @import "../node_modules/bootstrap/scss/containers"; | ||
// @import "../node_modules/bootstrap/scss/grid"; | ||
// @import "../node_modules/bootstrap/scss/helpers"; | ||
|
||
// // 7. Optionally include utilities API last to generate classes based on the Sass map in `_utilities.scss` | ||
// @import "../node_modules/bootstrap/scss/utilities/api"; | ||
|
||
|
||
|
||
@import '../components/Typography/style.module.scss'; | ||
@import '../components/AppBar/style.module.scss'; | ||
@import '../components/Button/style.module.scss'; | ||
@import '../components/SocialMediaBar/style.module.scss'; | ||
@import '../components/PageFooter/style.module.scss'; |