Skip to content

Commit

Permalink
update frontend development interface and override stylization
Browse files Browse the repository at this point in the history
  • Loading branch information
myeung-vsys committed Jan 25, 2022
1 parent 9727a68 commit 960e360
Show file tree
Hide file tree
Showing 9 changed files with 15,423 additions and 14,450 deletions.
17 changes: 5 additions & 12 deletions src/__configuration__/landingPage/cardData.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
import components from '../../../src/app/assets/card-images/components.png';
import github from '../../../src/app/assets/card-images/github.png';
import resources from '../../../src/app/assets/card-images/resources.png';
import patterns from '../../../src/app/assets/card-images/patterns.svg';
import community from '../../../src/app/assets/card-images/community.png';
import roadmap from '../../../src/app/assets/card-images/roadmap.png';

export const cardData = [
{
title: 'Design Patterns',
description: `Learn about common interactions and designs found in Brightlayer UI applications.`,
image: patterns,
path: '/patterns',
title: 'V Systems Stack',
description: `Learn about how how to get started with developoing on VSYS Protocol.`,
image: roadmap,
path: '/get-started/vsys-stack',
},
{
title: 'SDKs',
Expand All @@ -22,7 +21,7 @@ export const cardData = [
title: 'Development Resources',
description: `Have a look at all of the code examples and packages available. We're constantly updating and adding new materials.`,
image: resources,
path: '/get-started',
path: '/get-started/where-to-begin',
},
{
title: 'GitHub',
Expand All @@ -36,10 +35,4 @@ export const cardData = [
image: community,
path: '/community',
},
{
title: 'Roadmap',
description: `See what the team is currently working on and what we have planned for future updates.`,
image: roadmap,
path: '/roadmap',
},
];
54 changes: 51 additions & 3 deletions src/__configuration__/themes/default.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,56 @@
import * as BLUIThemes from '@brightlayer-ui/react-themes';
import circles from '../../app/assets/themes/circles.svg';
import * as Colors from '@brightlayer-ui/colors';
// import circles from '../../app/assets/themes/circles.svg';
import bg from '../../app/assets/themes/vsys-docs-banner.jpg';
import { SiteConfig } from './types';

export const defaultTheme: SiteConfig = {
theme: BLUIThemes.blue,
landingPageBanner: { backgroundImage: `url(${circles})`, backgroundSize: 1200 },
theme: {
...BLUIThemes.blue,
overrides: {
MuiAppBar: {
colorDefault: {
color: Colors.white[50],
backgroundColor: '#231815',
},
colorPrimary: {
color: Colors.black[50],
backgroundColor: '#231815',
},
colorSecondary: {
color: Colors.white[200],
backgroundColor: '#231815',
},
},
MuiBackdrop: {
root: {
backgroundColor: 'rgba(0, 0, 0, 0.7)',
},
},
MuiButton: {
outlined: {},
outlinedPrimary: {},
},
MuiDrawer: {
},
MuiTabs: {
indicator: {
backgroundColor: Colors.orange[500],
},
},
MuiTab: {
selected: {},
textColorInherit: {
'&$selected': {
color: Colors.orange[500],
},
},
},
},
},
landingPageBanner: {
backgroundImage: `url(${bg})`,
backgroundRepeat: 'no-repeat',
backgroundPosition: 'center',
},
};
3 changes: 1 addition & 2 deletions src/app/assets/icons/PXBLogo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,11 @@ export const PXBlueSVG: React.FC<PXBlueSVGProps> = (props) => {
);
};

export const PXBLogo: React.FC<PXBLogoProps> = ({ tagline, color }) => {
export const PXBLogo: React.FC<PXBLogoProps> = ({ tagline }) => {
const theme = useTheme();

return (
<div style={{ textAlign: 'center', position: 'relative' }}>
<PXBlueSVG className={'rotateMe'} size={82} color={color || theme.palette.primary.contrastText} />
<Typography variant={'h3'} align={'center'} style={{ fontWeight: 300, marginBottom: theme.spacing() }}>
V Systems <b>Documentation</b>
</Typography>
Expand Down
Binary file added src/app/assets/themes/vsys-docs-banner.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 8 additions & 6 deletions src/app/pages/LandingPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,11 @@ const useStyles = makeStyles((theme: Theme) =>
flexDirection: 'column',
alignItems: 'center',
padding: `${theme.spacing(8)}px ${theme.spacing(4)}px`,
marginTop: 50,
width: '100%',
color: theme.palette.primary.contrastText,
backgroundColor: theme.palette.primary.main,
minHeight: 300,
color: '#231815',
backgroundColor: '#FF8232',
backgroundSize: 'cover',
backgroundPosition: '-240px center',
},
Expand Down Expand Up @@ -94,7 +96,7 @@ export const LandingPage: React.FC = (): JSX.Element => {
GET STARTED
</Button>
</div>
<LandingSection title={'Design and Development'} align={'left'} background={'light'}>
<LandingSection title={'V Systems Development'} align={'left'} background={'light'}>
<Grid container spacing={6} style={{ marginTop: theme.spacing(2) }}>
{cardData.map((item, ind) => (
<Grid key={`grid${ind}`} item xs={12} sm={6} md={4}>
Expand All @@ -120,7 +122,7 @@ export const LandingPage: React.FC = (): JSX.Element => {
backgroundImage={designImage}
title={'Getting started as a designer'}
description={
'We offer many resources and assets for designers getting acquainted with Brightlayer UI.'
'We have prepared numerous resources for the V Systems protocol.'
}
icon={<DesignIcon fontSize={'large'} />}
onClick={(): void => history.push('/design/intro')}
Expand All @@ -129,10 +131,10 @@ export const LandingPage: React.FC = (): JSX.Element => {
backgroundImage={developImage}
title={'Getting started as a developer'}
description={
'We have numerous guides and resources to prepare you for working with Brightlayer UI.'
'We have prepared numerous resources for the V Systems protocol.'
}
icon={<DeveloperMode fontSize={'large'} />}
onClick={(): void => history.push('/development/environment')}
onClick={(): void => history.push('/get-started/where-to-begin')}
/>
</CardCarousel>

Expand Down
1 change: 1 addition & 0 deletions src/app/pages/MarkdownPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export const MarkdownPage: React.FC<MarkdownPageProps> = (props): JSX.Element =>
wideLayout={wideLayout}
style={{
marginRight: sidebar && sidebarOpen ? (sm ? 0 : 350) : 0,
marginTop: 75,
transition: `margin ${theme.transitions.duration.standard} ${theme.transitions.easing.easeInOut}`,
minWidth: 0,
}}
Expand Down
2 changes: 1 addition & 1 deletion src/app/pages/SearchBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ export const SearchBar: React.FC<SearchbarProps> = (props) => {
{searchActive && ( // to allow autofocus
<TextField
className={classes.searchfield}
placeholder={'Search on Brightlayer UI...'}
placeholder={'Search on V Systems Documentation...'}
InputProps={{ disableUnderline: true }}
value={inputString || ''}
onChange={(e): void => onChangeHandler(e.target.value)}
Expand Down
33 changes: 13 additions & 20 deletions src/docs/overview.mdx
Original file line number Diff line number Diff line change
@@ -1,39 +1,32 @@
import { Divider, ImageGrid } from '../app/components';
import DesignSystemImage from '../app/assets/design-system.jpg';

<!-- KEYWORDS: overview Brightlayer UI design development introduction -->
<!-- KEYWORDS: Overview of V Systems Documentation -->

# Welcome to V Systems documentation
# Welcome to V Systems Documentation

<ImageGrid images={[DesignSystemImage]} regularWidth />

Brightlayer UI is a complete design system for web and mobile applications. This system will help your team build beautiful applications that adhere to our design guidelines while ensuring flexibility and code reusability.
V Systems is a blockchain platform that supports the efficient and agile development of decentralized applications.

> Check out our [Release Notes](/release-notes) to see what's new in the latest version of Brightlayer UI.
V Systems is designed for real world use cases and has a set of composable “no code” smart contract templates that cover the vast majority of real-world smart contract use cases without any need for security audits.

## Design

The goal of the Brightlayer UI design system is to ensure consistency between software products delivered by different teams. With a common aesthetic and common guidelines, we can be sure that all products feel like they belong to the same family.

Brightlayer UI is based on the [Material Design](https://material.io/) language. If you are working with our Studio Blue design team, their designs will follow this standard. If you are not utilizing Studio Blue, ensure that your designers are following the Material Guidelines as well as any additional Brightlayer UI [design patterns](/patterns).

## Development

Brightlayer UI is also a development platform. This platform is intended to help development teams work quickly and efficiently by providing recommendations for technologies, tools/libraries, approaches to common challenges, as well as re-usable components. We support a variety of technologies to give your team the flexibility to choose what will work best for you.
V Systems is a layer-1 public blockchain. Our blockchain development platform makes the technology as user-friendly as possible and greatly ease the burden for developers while exceeding project requirements.

- To learn about the technologies we support, check out our [Web](/development/frameworks-web/intro) or [Mobile](/development/frameworks-mobile/intro) technology pages.
- To learn about the different resources provided by Brightlayer UI, see our [Resources](/resources/developer) page.
- To learn about V Systems, check out our [Main Website](https://www.v.systems/).
- To dive straight into development, see our [Development Resources](/get-started/where-to-begin) page.

<Divider />

# About this site

This site will provide you with everything you need to get started with Brightlayer UI:
This site will provide you with everything you need to get started with writing applications with the V Systems Protocol:

- Information Guides, including information on starting a [New Project](/get-started/new-project) and the different types of applications you can build
- Development Guides, including how to set up a [Development Environment](/development/environment), how to start a new project in any of our supported technologies, and what tools to use for [Testing](/development/testing)
- [Design Guides](/design/intro) explaining how to use Brightlayer UI as a designer
- Code Examples/[Design Patterns](/patterns) for how to build common elements of a Brightlayer UI application
- An extensive set of [icons](/style/iconography), [colors](/style/color), and [typography](/style/typography) guidelines that you can use in your designs
- A [resources](/resources) page with links to all of the Brightlayer UI [NPM packages](https://www.npmjs.com/org/brightlayer-ui) and [GitHub repositories](https://github.com/brightlayer-ui)
- A community section with information on [reporting bugs](/community/bugs), [requesting features](/community/features), and more.
- Pre-Requisites, a breakdown of the [V Systems Stack](/get-started/vsys-stack) you will need before writing any code.
- Information Guides, including information on starting a [New Project](/get-started/where-to-begin) and the different types of applications you can build
- DevNet Guides, including how to set up a [Development Environment](/get-started/where-to-begin), how to start a new project in any of our supported technologies
- Code Examples/[Quick Tutorials](/design/intro) explaining how to use our V Systems templated smart contracts.
- A [Smart Contracts](/resources) page that describe all the different smart contracts and functionality.
Loading

1 comment on commit 960e360

@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.