Skip to content

Commit 2050049

Browse files
committed
announcementBar
1 parent 4e452a4 commit 2050049

File tree

4 files changed

+20
-62
lines changed

4 files changed

+20
-62
lines changed

docusaurus.config.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,14 @@ const config = {
5151
themeConfig:
5252
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
5353
({
54+
announcementBar: {
55+
id: 'lancamento',
56+
content:
57+
'Lançamento do Flutter Bootcamp! <a target="_blank" rel="noopener noreferrer" href="https://flutterbootcamp.com.br/">Saiba mais</a>',
58+
backgroundColor: '#ffcc3d',
59+
textColor: '#091E42',
60+
isCloseable: false,
61+
},
5462
navbar: {
5563
title: "Flutter para iniciantes",
5664
logo: {

package-lock.json

Lines changed: 9 additions & 46 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"dependencies": {
1717
"@docusaurus/core": "^2.0.1",
1818
"@docusaurus/preset-classic": "^2.0.1",
19-
"@mdx-js/react": "^2.1.3",
19+
"@mdx-js/react": "^1.6.22",
2020
"clsx": "^1.2.1",
2121
"prism-react-renderer": "^1.3.5",
2222
"react": "^17.0.1",

yarn.lock

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1698,14 +1698,6 @@
16981698
"resolved" "https://registry.npmjs.org/@mdx-js/react/-/react-1.6.22.tgz"
16991699
"version" "1.6.22"
17001700

1701-
"@mdx-js/react@^2.1.3":
1702-
"integrity" "sha512-11n4lTvvRyxq3OYbWJwEYM+7q6PE0GxKbk0AwYIIQmrRkxDeljIsjDQkKOgdr/orgRRbYy5zi+iERdnwe01CHQ=="
1703-
"resolved" "https://registry.npmjs.org/@mdx-js/react/-/react-2.1.3.tgz"
1704-
"version" "2.1.3"
1705-
dependencies:
1706-
"@types/mdx" "^2.0.0"
1707-
"@types/react" ">=16"
1708-
17091701
17101702
"integrity" "sha512-H1rQc1ZOHANWBvPcW+JpGwr+juXSxM8Q8YCkm3GhZd8REu1fHR3z99CErO1p9pkcfcxZnMdIZdIsXkOHY0NilA=="
17111703
"resolved" "https://registry.npmjs.org/@mdx-js/util/-/util-1.6.22.tgz"
@@ -1990,11 +1982,6 @@
19901982
dependencies:
19911983
"@types/unist" "*"
19921984

1993-
"@types/mdx@^2.0.0":
1994-
"integrity" "sha512-mJGfgj4aWpiKb8C0nnJJchs1sHBHn0HugkVfqqyQi7Wn6mBRksLeQsPOFvih/Pu8L1vlDzfe/LidhVHBeUk3aQ=="
1995-
"resolved" "https://registry.npmjs.org/@types/mdx/-/mdx-2.0.2.tgz"
1996-
"version" "2.0.2"
1997-
19981985
"@types/mime@*":
19991986
"integrity" "sha512-Y4XFY5VJAuw0FgAqPNd6NNoV44jbq9Bz2L7Rh/J6jLTiHBSBJa9fxqQIvkIld4GsoDOcCbvzOUAbLPsSKKg+uA=="
20001987
"resolved" "https://registry.npmjs.org/@types/mime/-/mime-3.0.1.tgz"
@@ -2056,7 +2043,7 @@
20562043
"@types/history" "^4.7.11"
20572044
"@types/react" "*"
20582045

2059-
"@types/react@*", "@types/react@>= 16.8.0 < 19.0.0", "@types/react@>=16":
2046+
"@types/react@*", "@types/react@>= 16.8.0 < 19.0.0":
20602047
"integrity" "sha512-YfhQ22Lah2e3CHPsb93tRwIGNiSwkuz1/blk4e6QrWS0jQzCSNbGLtOEYhPg02W0yGTTmpajp7dCTbBAMN3qsg=="
20612048
"resolved" "https://registry.npmjs.org/@types/react/-/react-17.0.45.tgz"
20622049
"version" "17.0.45"
@@ -6096,7 +6083,7 @@
60966083
"use-composed-ref" "^1.3.0"
60976084
"use-latest" "^1.2.1"
60986085

6099-
"react@*", "react@^0.14.0 || ^15.0.0 || ^16.0.0 || ^17.0.0", "react@^15.0.2 || ^16.0.0 || ^17.0.0", "react@^16.13.1 || ^17.0.0", "react@^16.6.0 || ^17.0.0 || ^18.0.0", "react@^16.8.0 || ^17.0.0 || ^18.0.0", "react@^16.8.4 || ^17.0.0", "react@^17.0.0 || ^16.3.0 || ^15.5.4", "react@^17.0.1", "react@>= 16.8.0 < 19.0.0", "react@>=0.14.9", "react@>=15", "react@>=16", "react@17.0.2":
6086+
"react@*", "react@^0.14.0 || ^15.0.0 || ^16.0.0 || ^17.0.0", "react@^15.0.2 || ^16.0.0 || ^17.0.0", "react@^16.13.1 || ^17.0.0", "react@^16.6.0 || ^17.0.0 || ^18.0.0", "react@^16.8.0 || ^17.0.0 || ^18.0.0", "react@^16.8.4 || ^17.0.0", "react@^17.0.0 || ^16.3.0 || ^15.5.4", "react@^17.0.1", "react@>= 16.8.0 < 19.0.0", "react@>=0.14.9", "react@>=15", "[email protected]":
61006087
"integrity" "sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA=="
61016088
"resolved" "https://registry.npmjs.org/react/-/react-17.0.2.tgz"
61026089
"version" "17.0.2"

0 commit comments

Comments
 (0)