update website settings

master
Hasan Genc 5 years ago
parent 8b00ef670a
commit 904eb154c7
  1. 6
      website/docusaurus.config.js
  2. 2
      website/src/pages/index.js

@ -1,11 +1,11 @@
module.exports = {
title: 'Carousel',
tagline: 'Lightweight carousel component for React',
url: 'https://trendyol.github.io/react-carousel',
baseUrl: '/',
url: 'https://trendyol.github.io',
baseUrl: '/react-carousel/',
favicon: 'img/icon.png',
organizationName: 'Trendyol',
projectName: 'carousel',
projectName: 'react-carousel',
themeConfig: {
navbar: {
title: 'React Carousel',

@ -66,7 +66,7 @@ function Feature({ imageUrl, title, description }) {
}
function Home() {
return <Redirect to="/docs/installation" />;
return <Redirect to="/react-carousel/docs/installation" />;
const context = useDocusaurusContext();
const { siteConfig = {} } = context;
return (

Loading…
Cancel
Save