File tree Expand file tree Collapse file tree 2 files changed +7
-13
lines changed Expand file tree Collapse file tree 2 files changed +7
-13
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ import pluginSitemap from 'rspress-plugin-sitemap';
88import { defineConfig } from 'rspress/config' ;
99
1010const PUBLISH_URL = 'https://rspack.dev' ;
11- const COPYRIGHT = '© 2022-present ByteDance Inc. All Rights Reserved.' ;
1211
1312export default defineConfig ( {
1413 root : path . join ( __dirname , 'docs' ) ,
@@ -63,9 +62,6 @@ export default defineConfig({
6362 } ) ,
6463 ] ,
6564 themeConfig : {
66- footer : {
67- message : COPYRIGHT ,
68- } ,
6965 socialLinks : [
7066 {
7167 icon : 'github' ,
Original file line number Diff line number Diff line change 1- import { usePageData } from 'rspress/runtime' ;
21import { HomeFooter } from '../components/HomeFooter/index' ;
32import LandingPage from '../components/Landingpage' ;
43
54const CopyRight = ( ) => {
6- const { siteData } = usePageData ( ) ;
7- const { message } = siteData . themeConfig . footer || { } ;
8-
9- if ( ! message ) {
10- return null ;
11- }
12-
135 return (
146 < footer className = "bottom-0 mt-12 py-8 px-6 sm:p-8 w-full border-t border-solid border-divider-light" >
157 < div className = "m-auto w-full text-center" >
16- < div className = "font-medium text-sm text-text-2" > { message } </ div >
8+ < div className = "font-medium text-sm text-text-2" >
9+ < p className = "mb-2" >
10+ Rspack is free and open source software released under the MIT
11+ license.
12+ </ p >
13+ < p > © 2022-present ByteDance Inc.</ p >
14+ </ div >
1715 </ div >
1816 </ footer >
1917 ) ;
You can’t perform that action at this time.
0 commit comments