-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- feat: format `bazel_dep` code sample with line breaks - chore: cleanup main app name (`MyApp` became `BazelCentralRegistry`) - chore: add `prism` and `prism-themes` deps for syntax highlight Signed-off-by: Sam Gammon <[email protected]>
Showing
8 changed files
with
238 additions
and
110 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
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,12 +1,13 @@ | ||
import { config as fontawesomeConfig } from '@fortawesome/fontawesome-svg-core' | ||
import '@fortawesome/fontawesome-svg-core/styles.css' | ||
import "prism-themes/themes/prism-darcula.css"; | ||
import '../styles/globals.css' | ||
import type { AppProps } from 'next/app' | ||
|
||
fontawesomeConfig.autoAddCss = false | ||
|
||
function MyApp({ Component, pageProps }: AppProps) { | ||
function BazelCentralRegistry({ Component, pageProps }: AppProps) { | ||
return <Component {...pageProps} /> | ||
} | ||
|
||
export default MyApp | ||
export default BazelCentralRegistry; |
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
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
|
||
/** Code snippet on module pages */ | ||
|
||
.control { | ||
cursor: pointer; | ||
} | ||
|
||
pre.codesample { | ||
text-align: left; | ||
background: transparent; | ||
} | ||
|
||
button pre.codesample, button pre code[class*="language-"] { | ||
color: #6E6E6E; | ||
} |
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 |
---|---|---|
|
@@ -18,3 +18,6 @@ a { | |
* { | ||
box-sizing: border-box; | ||
} | ||
|
||
@import "./page-module.css"; | ||
@import "./codesample.css"; |
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,10 @@ | ||
|
||
/** Page: modules/[module].tsx */ | ||
|
||
.selectable { | ||
user-select: all; | ||
} | ||
|
||
.decorative { | ||
user-select: none; | ||
} |