1.0.32 • Published 4 years ago

@xyo-network/web-base-bootstrap v1.0.32

Weekly downloads
15
License
UNLICENSED
Repository
github
Last release
4 years ago

logo

XY Company Base Bootstrap Website (web-base-bootstrap)

NPM

Build Status

npm

Table of Contents

Getting Started

Create package.json

Use yarn init to create a package.json file, if you do not have one already.

# Initialize a package.json file
yarn init

Install web-base-bootstrap as dependency

# install as dependency in project
yarn add @xyo-network/web-base-bootstrap

This will expose a cli named xysite to launch the tool. Use yarn xysite to run the CLI.

Install web-base-bootstrap dependencies

# add the xy web-base-bootstrap dependencies
yarn install

Initialize your first project

# Initialize project and template structure
yarn xysite init all

This will generate a new local site based on this repo. It includes:

all.scss -- use yarn xysite add brand to add a custom template for a brand override.

all.ts -- use this file to import any ts files you will create.

home.kit -- this is a single page for your new website.

src/library -- a lengthly library of items for you to use in your new website. Can be deleted, but will be the location where kits will pull HTML to display in templated pages.

Run on local server

Use gulp develop to run the site on a local server.

# use gulp to build and view your website
gulp develop

Other Commands

Currently, you can use xysite init or xysite add with different specifics. (See tables below)

###Init xysite init is broken down into all, brand, and template. The default is all.

  • xysite init all -- Initializes up an entire folder and package structure.
  • xysite init gulp -- Initializes the gulp files.
  • xysite init package -- Initializes the package.json.
  • xysite init structure -- Initializes folder structure.
  • xysite init library -- Initializes the component library that pages and templates use.
  • xysite init common -- Initializes the common components that pages and templates use.

Add

xysite add is broken down into page, gulp, package, structure, and components. The default is page custom.

# Add New Page
yarn xysite add page

# Add New Brand
yarn xysite add brand

# Add New Template
yarn xysite add template

You can specify which page, brand, or template you'd like to add. In all cases, the default is custom.

Use yarn xysite add page to add a single page with a nav and footer to your website.

# Add New Page
yarn xysite add page

You can also add a specific page with yarn xysite add page tickets

# Add New Tickets Page
yarn xysite add page

Command Options

Brand Options

NOTE: These colors are currently placeholders. Some brands are theoretical.

Page OptionsDescription
coinView Colors: https://material.io/tools/color/#!/?view.left=1&view.right=0&view.right=1&primary.color=23052c&secondary.color=ee7268
customCreate your own theme. View Colors: https://material.io/tools/color/
dataismView Colors: https://material.io/tools/color/#!/?view.left=1&view.right=0&view.right=1&primary.color=0a0a0a&secondary.color=ee7268
devzillahttps://material.io/tools/color/#!/?view.left=1&view.right=0&view.right=1&primary.color=1fbdcd&secondary.color=00b482
spatialView Colors: https://material.io/tools/color/#!/?view.left=1&view.right=0&view.right=1&primary.color=232631&secondary.color=722d59
xycoView Colors: https://material.io/tools/color/#!/?view.left=1&view.right=0&view.right=1&primary.color=0023F5&secondary.color=722d59
xyenterpriseView Colors: https://material.io/tools/color/#!/?view.left=1&view.right=0&view.right=1&primary.color=00796b&secondary.color=fb8c00
xyoView Colors: https://material.io/tools/color/#!/?view.left=1&view.right=0&view.right=1&primary.color=332657&secondary.color=8c8fc4
xyodevsView Colors: https://material.io/tools/color/#!/?view.left=1&view.right=0&view.right=1&primary.color=222659&secondary.color=4A1D5D

Template Options

Coming Soon

Page Options

Page OptionsDescription
123Simple page that explains a 3-part idea
aboutText-based page
brochureAn offset for light websites, for visual differentiation without overpower
brochure2An offset for dark websites, for visual differentiation without overpower
communityAn offset for dark websites, for visual differentiation without overpower
componentsAn offset for dark websites, for visual differentiation without overpower
contact-usAn offset for dark websites, for visual differentiation without overpower
customAn offset for dark websites, for visual differentiation without overpower
docsAn offset for dark websites, for visual differentiation without overpower
eventsAn offset for dark websites, for visual differentiation without overpower
faqAn offset for dark websites, for visual differentiation without overpower
historyAn offset for dark websites, for visual differentiation without overpower
learnAn offset for dark websites, for visual differentiation without overpower
learn-coreAn offset for dark websites, for visual differentiation without overpower
newsAn offset for dark websites, for visual differentiation without overpower
news2An offset for dark websites, for visual differentiation without overpower
overviewAn offset for dark websites, for visual differentiation without overpower
pricingAn offset for dark websites, for visual differentiation without overpower
privacyAn offset for dark websites, for visual differentiation without overpower
product1An offset for dark websites, for visual differentiation without overpower
roadmapAn offset for dark websites, for visual differentiation without overpower
teamAn offset for dark websites, for visual differentiation without overpower
ticketsAn offset for dark websites, for visual differentiation without overpower
visionAn offset for dark websites, for visual differentiation without overpower

Developer Guide

Install dependencies

This project uses yarn as a package manager

  # install dependencies
  yarn install

Developers should conform to git flow workflow. Additionally, we should try to make sure every commit builds. Commit messages should be meaningful serve as a meta history for the repository. Please squash meaningless commits before submitting a pull-request.

There is git hook on commits to validate the project builds. If you'd like to commit your changes while developing locally and want to skip this step you can use the --no-verify commit option.

i.e.

  git commit --no-verify -m "COMMIT MSG"

License

Only for internal XY Company use at this time.

Credits

Made with ❤️ by XY

1.0.32

4 years ago

1.0.31

4 years ago

1.0.29

4 years ago

1.0.30

4 years ago

1.0.28

4 years ago

1.0.27

4 years ago

1.0.26

4 years ago

1.0.24

4 years ago

1.0.22

4 years ago

1.0.21

4 years ago

1.0.20

4 years ago

1.0.19

4 years ago

1.0.18

4 years ago

1.0.17

4 years ago

1.0.16

4 years ago

1.0.13

4 years ago

1.0.12

4 years ago

1.0.11

4 years ago

1.0.10

4 years ago

1.0.9

4 years ago

1.0.7

4 years ago

1.0.5

4 years ago

0.1.105

5 years ago

0.1.104

5 years ago

0.1.98

5 years ago

0.1.97

5 years ago

0.1.96

5 years ago

0.1.95

5 years ago

0.1.94

5 years ago

0.1.93

5 years ago

0.1.92

5 years ago

0.1.91

5 years ago

0.1.90

5 years ago

0.1.88

5 years ago

0.1.87

5 years ago

0.1.86

5 years ago

0.1.85

5 years ago

0.1.82

5 years ago

0.1.81

5 years ago

0.1.80

5 years ago

0.1.79

5 years ago

0.1.78

5 years ago

0.1.77

5 years ago

0.1.76

5 years ago

0.1.75

5 years ago

0.1.74

5 years ago

0.1.73

5 years ago

0.1.71

5 years ago

0.1.70

5 years ago

0.1.69

5 years ago

0.1.68

5 years ago

0.1.67

5 years ago

0.1.66

5 years ago

0.1.65

5 years ago

0.1.64

5 years ago

0.1.63

5 years ago

0.1.62

5 years ago

0.1.61

5 years ago

0.1.60

5 years ago

0.1.59

5 years ago

0.1.58

5 years ago

0.1.57

5 years ago

0.1.56

5 years ago

0.1.55

5 years ago

0.1.54

5 years ago

0.1.51

5 years ago

0.1.49

5 years ago

0.1.46

5 years ago

0.1.43

5 years ago

0.1.40

5 years ago

0.1.37

5 years ago

0.1.34

5 years ago

0.1.32

5 years ago

0.1.30

5 years ago

0.1.28

5 years ago

0.1.25

5 years ago

0.1.23

5 years ago

0.1.21

5 years ago

0.1.19

5 years ago

0.1.17

5 years ago

0.1.15

5 years ago

0.1.13

5 years ago

0.1.10

5 years ago

0.1.9

5 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago