File tree Expand file tree Collapse file tree 7 files changed +46
-148
lines changed Expand file tree Collapse file tree 7 files changed +46
-148
lines changed Original file line number Diff line number Diff line change 11{
2- "$schema" : " https://biomejs.dev/schemas/2.2.4 /schema.json" ,
2+ "$schema" : " https://biomejs.dev/schemas/2.2.5 /schema.json" ,
33 "files" : {
44 "includes" : [
55 " **" ,
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -11,7 +11,16 @@ const config = {
1111 url : 'https://spicetify.app' ,
1212 baseUrl : '/' ,
1313 onBrokenLinks : 'throw' ,
14- onBrokenMarkdownLinks : 'warn' ,
14+ future : {
15+ experimental_faster : true ,
16+ v4 : true ,
17+ } ,
18+ markdown : {
19+ hooks : {
20+ onBrokenMarkdownImages : 'throw' ,
21+ onBrokenMarkdownLinks : 'throw' ,
22+ } ,
23+ } ,
1524 favicon : 'images/favicon.ico' ,
1625 organizationName : 'spicetify' ,
1726 projectName : 'spicetify-docs' ,
@@ -158,9 +167,6 @@ const config = {
158167 indexName : 'spicetify' ,
159168 } ,
160169 } ) ,
161- future : {
162- experimental_faster : true ,
163- } ,
164170} ;
165171
166172module . exports = config ;
Original file line number Diff line number Diff line change 11{
22 "name" : " spicetify-docs" ,
3- "type" : " module" ,
43 "version" : " 1.0.0" ,
54 "private" : true ,
65 "scripts" : {
2221 "dependencies" : {
2322 "@algolia/client-search" : " ^5.39.0" ,
2423 "@docusaurus/core" : " ^3.9.1" ,
25- "@docusaurus/faster" : " ^3.9.1" ,
2624 "@docusaurus/preset-classic" : " ^3.9.1" ,
2725 "@docusaurus/theme-common" : " ^3.9.1" ,
2826 "@docusaurus/types" : " ^3.9.1" ,
2927 "@mdx-js/react" : " ^3.1.1" ,
3028 "clsx" : " ^2.1.1" ,
3129 "prism-react-renderer" : " ^2.4.1" ,
32- "react" : " ^ 19.2.0" ,
33- "react-dom" : " ^ 19.2.0" ,
30+ "react" : " 19.2.0" ,
31+ "react-dom" : " 19.2.0" ,
3432 "swiper" : " ^12.0.2"
3533 },
3634 "devDependencies" : {
3735 "@biomejs/biome" : " ^2.2.5" ,
36+ "@docusaurus/module-type-aliases" : " ^3.9.1" ,
37+ "@docusaurus/tsconfig" : " ^3.9.1" ,
3838 "@types/node" : " ^24.6.2" ,
3939 "husky" : " ^9.1.7" ,
4040 "lint-staged" : " ^16.2.3" ,
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ const data = [
5454] ;
5555
5656export default ( ) => {
57- const slides = data . map ( ( item , index ) => (
57+ const slides = data . map ( ( item ) => (
5858 < SwiperSlide key = { item . title } >
5959 < img src = { item . cover } alt = { item . title } />
6060 </ SwiperSlide >
Original file line number Diff line number Diff line change 1+ import BrowserOnly from '@docusaurus/BrowserOnly' ;
2+ import Head from '@docusaurus/Head' ;
13import Link from '@docusaurus/Link' ;
24import useDocusaurusContext from '@docusaurus/useDocusaurusContext' ;
35import Layout from '@theme/Layout' ;
@@ -16,7 +18,9 @@ function HomepageHeader() {
1618 </ div >
1719
1820 < div className = { styles . heroCarousel } >
19- < SwiperCarousel />
21+ < BrowserOnly fallback = { < div > Loading...</ div > } >
22+ { ( ) => < SwiperCarousel /> }
23+ </ BrowserOnly >
2024 </ div >
2125
2226 < div className = { styles . buttons } >
@@ -33,7 +37,13 @@ function HomepageHeader() {
3337
3438export default function Home ( ) {
3539 return (
36- < Layout description = "Powerful CLI tool to take control of the Spotify client." >
40+ < Layout >
41+ < Head >
42+ < meta
43+ name = "description"
44+ content = "Powerful CLI tool to take control of the Spotify client."
45+ />
46+ </ Head >
3747 < div className = { styles . sponsor } >
3848 Find Cheap Discord Nitro & Server Boosts in { ' ' }
3949 < a href = "https://boostmania.gg?ref=spicetify" > boostmania.gg</ a >
Original file line number Diff line number Diff line change 11{
22 "extends" : " @docusaurus/tsconfig" ,
3+ "compilerOptions" : {
4+ "types" : [" @docusaurus/module-type-aliases" , " node" ]
5+ },
36 "include" : [" src/" ]
47}
You can’t perform that action at this time.
0 commit comments