Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,12 @@ module.exports = {
'@docusaurus/preset-classic',
/** @type {import('@docusaurus/preset-classic').Options} */
({
googleAnalytics: {
trackingID: 'UA-41298772-2',
},
gtag: {
trackingID: 'UA-41298772-2',
},
docs: {
path: '../docs',
sidebarPath: require.resolve('./sidebars.json'),
Expand Down Expand Up @@ -353,16 +359,11 @@ module.exports = {
copyright,
},
algolia: {
apiKey: '2c98749b4a1e588efec53b2acec13025',
appId: '8TDSE0OHGQ',
apiKey: '83cd239c72f9f8b0ed270a04b1185288',
indexName: 'react-native-v2',
contextualSearch: true,
},
googleAnalytics: {
trackingID: 'UA-41298772-2',
},
gtag: {
trackingID: 'UA-41298772-2',
},
metadata: [
{
property: 'og:image',
Expand Down
6 changes: 3 additions & 3 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@
]
},
"dependencies": {
"@docusaurus/core": "^2.0.0-beta.14",
"@docusaurus/plugin-pwa": "^2.0.0-beta.14",
"@docusaurus/preset-classic": "^2.0.0-beta.14",
"@docusaurus/core": "0.0.0-4738",
"@docusaurus/plugin-pwa": "0.0.0-4738",
"@docusaurus/preset-classic": "0.0.0-4738",
Comment on lines +45 to +47
Copy link
Collaborator

@Simek Simek Mar 18, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we wait until next beta is released? The class name issue doesn't seems that crucial to stick to nightlines. 😅

Also Algolia and GA stuff should not be linked to the CSS problems, right? Saying that, I was planning to upgrade to latest beta this weekend, so if changing that to beta.17 also helps that would be fine.

"docusaurus-plugin-sass": "^0.2.1",
"esbuild-loader": "2.13.1",
"react": "^17.0.2",
Expand Down
14 changes: 7 additions & 7 deletions website/src/css/customTheme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ div[class^="blogPostData"] {
color: var(--subtle);
}

.main-wrapper.blog-wrapper .container.margin-vert--lg .col.text--right a {
.plugin-blog .main-wrapper .container.margin-vert--lg .col.text--right a {
padding: 8px 16px !important;
}

Expand All @@ -514,7 +514,7 @@ a[class*="tagRegular"] {
}
}

.blog-wrapper {
.plugin-blog .main-wrapper {
.pagination-nav__item .pagination-nav__label:before,
.pagination-nav__item--next .pagination-nav__label:after {
display: none;
Expand Down Expand Up @@ -1659,7 +1659,7 @@ html[data-theme="dark"] .docsRating {

/* Blog */

.main-wrapper.blog-wrapper {
.plugin-blog .main-wrapper {
h3[class*="sidebarItemTitle"] {
color: var(--ifm-font-color-secondary);
}
Expand Down Expand Up @@ -1735,8 +1735,8 @@ html[data-theme="dark"] .docsRating {
}
}

html[data-theme="dark"] {
.main-wrapper.blog-wrapper {
html[data-theme="dark"].plugin-blog {
.main-wrapper {
.row .col.col--3 div[class^="sidebar"] {
@extend %scrollbar-style-dark;
}
Expand All @@ -1750,8 +1750,8 @@ html[data-theme="dark"] {
}
}

html[data-theme="light"] {
.main-wrapper.blog-wrapper {
html[data-theme="light"].plugin-blog {
.main-wrapper {
.container.margin-vert--lg {
.col.text--right a:hover {
color: var(--ifm-link-color);
Expand Down
Loading