Skip to content

Commit

Permalink
Merge pull request #770 from wazo-platform/upgrade-deps
Browse files Browse the repository at this point in the history
Upgrade deps and use docusaurus/faster
  • Loading branch information
chartrandf authored Nov 13, 2024
2 parents cc73a90 + 7aad21a commit 78f52e9
Show file tree
Hide file tree
Showing 8 changed files with 3,235 additions and 918 deletions.
3 changes: 0 additions & 3 deletions website/babel.config.js

This file was deleted.

3 changes: 3 additions & 0 deletions website/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ const config: Config = {
tagline: 'An Open Source project to build your own IP telecom platform',
favicon: 'images/favicon.ico',
staticDirectories: ['static'],
future: {
experimental_faster: true,
},
markdown: {
mermaid: true,
},
Expand Down
31 changes: 16 additions & 15 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,24 +21,25 @@
"typecheck": "tsc"
},
"dependencies": {
"@docusaurus/core": "^3.5.2",
"@docusaurus/plugin-client-redirects": "^3.5.2",
"@docusaurus/preset-classic": "^3.5.2",
"@docusaurus/theme-mermaid": "^3.5.2",
"@iconify/react": "^5.0.1",
"@mdx-js/react": "^3.0.0",
"clsx": "^2.0.0",
"prism-react-renderer": "^2.3.0",
"react": "^18.0.0",
"react-dom": "^18.0.0"
"@docusaurus/core": "^3.6.1",
"@docusaurus/faster": "^3.6.1",
"@docusaurus/plugin-client-redirects": "^3.6.1",
"@docusaurus/preset-classic": "^3.6.1",
"@docusaurus/theme-mermaid": "^3.6.1",
"@iconify/react": "^5.0.2",
"@mdx-js/react": "^3.1.0",
"clsx": "^2.1.1",
"prism-react-renderer": "^2.4.0",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@biomejs/biome": "1.8.3",
"@docusaurus/module-type-aliases": "^3.5.2",
"@docusaurus/tsconfig": "^3.5.2",
"@docusaurus/types": "^3.5.2",
"@biomejs/biome": "1.9.4",
"@docusaurus/module-type-aliases": "^3.6.1",
"@docusaurus/tsconfig": "^3.6.1",
"@docusaurus/types": "^3.6.1",
"@lottiefiles/react-lottie-player": "^3.5.4",
"typescript": "~5.2.2"
"typescript": "~5.6.3"
},
"browserslist": {
"production": [
Expand Down
2 changes: 2 additions & 0 deletions website/release-notes/sprint-review-2411.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ For more details about the aforementioned topics, please see the [changelog](htt

See you at the next sprint review!

<!-- truncate -->

## Resources

- [Install Wazo Platform](https://wazo-platform.org/use-cases)
Expand Down
8 changes: 5 additions & 3 deletions website/src/components/Card/Card.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@
}

a.override {
transition: border-color var(--ifm-transition-fast) var(--ifm-transition-timing-default),
color var(--ifm-transition-fast) var(--ifm-transition-timing-default);
transition: border-color var(--ifm-transition-fast)
var(--ifm-transition-timing-default), color var(--ifm-transition-fast)
var(--ifm-transition-timing-default);
color: var(--ifm-color-content);
text-decoration: none;
}
a.override:hover, a.override:active {
a.override:hover,
a.override:active {
color: var(--ifm-pagination-nav-color-hover);
border-color: var(--ifm-pagination-nav-color-hover);
}
Expand Down
62 changes: 31 additions & 31 deletions website/src/components/Showcase/styles.module.css
Original file line number Diff line number Diff line change
@@ -1,44 +1,44 @@
.demo {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
padding: 2rem;
width: 100%;
max-width: 1280px;
margin: 0 auto;
gap: 1rem;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
padding: 2rem;
width: 100%;
max-width: 1280px;
margin: 0 auto;
gap: 1rem;
}

.description {
margin: 0 0 10rem 0;
flex: 0 0 70ch;
text-wrap: pretty;
margin: 0 0 10rem 0;
flex: 0 0 70ch;
text-wrap: pretty;
}

.animation {
flex: 0 0 640px;
height: 640px;
width: 100%;
max-width: 640px;
margin-top: -96px !important;
flex: 0 0 640px;
height: 640px;
width: 100%;
max-width: 640px;
margin-top: -96px !important;
}

@media (max-width: 1280px) {
.demo {
flex-direction: column;
padding: 2rem;
justify-content: center;
}
.demo {
flex-direction: column;
padding: 2rem;
justify-content: center;
}

.description {
flex: 1;
margin: 2rem;
max-width: 70ch;
text-align: center;
}
.description {
flex: 1;
margin: 2rem;
max-width: 70ch;
text-align: center;
}

.animation {
margin-top: -192px !important;
}
.animation {
margin-top: -192px !important;
}
}
3 changes: 1 addition & 2 deletions website/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
}


/* For readability concerns, you should choose a lighter palette in dark mode. */
[data-theme='dark'] {
[data-theme="dark"] {
--ifm-color-primary: #98c451;
--ifm-color-primary-dark: #89b149;
--ifm-color-primary-darker: #7ea042;
Expand Down
Loading

0 comments on commit 78f52e9

Please sign in to comment.