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 = { module.exports = {
title: 'Carousel', title: 'Carousel',
tagline: 'Lightweight carousel component for React', tagline: 'Lightweight carousel component for React',
url: 'https://trendyol.github.io/react-carousel', url: 'https://trendyol.github.io',
baseUrl: '/', baseUrl: '/react-carousel/',
favicon: 'img/icon.png', favicon: 'img/icon.png',
organizationName: 'Trendyol', organizationName: 'Trendyol',
projectName: 'carousel', projectName: 'react-carousel',
themeConfig: { themeConfig: {
navbar: { navbar: {
title: 'React Carousel', title: 'React Carousel',

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

Loading…
Cancel
Save