Skip to content

Commit

Permalink
remove the designer section
Browse files Browse the repository at this point in the history
  • Loading branch information
myeung-vsys committed Feb 16, 2022
1 parent 441e48a commit 20aa675
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
4 changes: 2 additions & 2 deletions src/app/components/layout/CardCarousel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ type CardCarouselProps = {
};
export const CardCarousel: React.FC<CardCarouselProps> = (props): JSX.Element => {
const xs = useMediaQuery('(max-width:599px)');
const displayCount = xs ? 1 : props.slidesPerPage || 2;
const displayCount = xs ? 1 : props.slidesPerPage || 1;
const isArray = Array.isArray(props.children);
const showArrows = isArray ? (props.children as any[]).length > displayCount : false;

Expand Down Expand Up @@ -123,5 +123,5 @@ export const CardCarousel: React.FC<CardCarouselProps> = (props): JSX.Element =>
CardCarousel.displayName = 'CardCarousel';
CardCarousel.defaultProps = {
infinite: true,
slidesPerPage: 2,
slidesPerPage: 1,
};
11 changes: 0 additions & 11 deletions src/app/pages/LandingPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ import { getScheduledSiteConfig } from '../../__configuration__/themes';
// import { Spacer } from '@brightlayer-ui/react-components';

import developImage from '../assets/home/develop.jpg';
import designImage from '../assets/home/design.jpg';
import { Design as DesignIcon } from '../assets/icons';
import { usePageTitle } from '../hooks/usePageTitle';
import { useGoogleAnalyticsPageView } from '../hooks/useGoogleAnalyticsPageView';

Expand Down Expand Up @@ -118,15 +116,6 @@ export const LandingPage: React.FC = (): JSX.Element => {

{/* Carousel Section */}
<CardCarousel>
<CarouselCard
backgroundImage={designImage}
title={'Getting started as a designer'}
description={
'We have prepared numerous resources for the V Systems protocol.'
}
icon={<DesignIcon fontSize={'large'} />}
onClick={(): void => history.push('/design/intro')}
/>
<CarouselCard
backgroundImage={developImage}
title={'Getting started as a developer'}
Expand Down

1 comment on commit 20aa675

@fukvsys
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

垃圾,畜生,诈骗狗,你们在开发SK和杨狗妈逼链吗?一地鸡毛!
vsystems is the most shameless and rubbish scam dog in the entire network.
970,000 new vsys scam coins are issued, and only 30 vsys are destroyed every day.
vsys has no applications, no users, and dead chain with no on-chain transactions!

Please sign in to comment.