File tree Expand file tree Collapse file tree 5 files changed +3
-132
lines changed
components/HomepageFeatures Expand file tree Collapse file tree 5 files changed +3
-132
lines changed Original file line number Diff line number Diff line change @@ -76,6 +76,7 @@ const config = {
7676 navbar : {
7777 title : 'Pluto' ,
7878 logo : {
79+ href : 'docs/Introduction' ,
7980 alt : 'Pluto Logo' ,
8081 src : 'img/logo.png' ,
8182 } ,
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11import React from 'react' ;
2- import clsx from 'clsx' ;
3- import Link from '@docusaurus/Link' ;
4- import useDocusaurusContext from '@docusaurus/useDocusaurusContext' ;
5- import Layout from '@theme/Layout' ;
6- import HomepageFeatures from '@site/src/components/HomepageFeatures' ;
7-
8- import styles from './index.module.css' ;
9-
10- function HomepageHeader ( ) {
11- const { siteConfig} = useDocusaurusContext ( ) ;
12- return (
13- < header className = { clsx ( 'hero hero--primary' , styles . heroBanner ) } >
14- < div className = "container" >
15- < h1 className = "hero__title" > { siteConfig . title } </ h1 >
16- < p className = "hero__subtitle" > { siteConfig . tagline } </ p >
17- < div className = { styles . buttons } >
18- < Link
19- className = "button button--secondary button--lg"
20- to = "/docs/Introduction" >
21- Learn More
22- </ Link >
23- </ div >
24- </ div >
25- </ header >
26- ) ;
27- }
2+ import { Redirect } from '@docusaurus/router' ;
283
294export default function Home ( ) {
30- const { siteConfig} = useDocusaurusContext ( ) ;
31- return (
32- < Layout
33- title = { siteConfig . title }
34- description = "The official website for Pluto, a Lua dialect." >
35- < HomepageHeader />
36- < main >
37- < HomepageFeatures />
38- </ main >
39- </ Layout >
40- ) ;
5+ return < Redirect to = "/docs/Introduction" /> ;
416}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments