readme

Signed-off-by: Etzelia <etzelia@hotmail.com>

Reviewed-on: https://git.canopymc.net/Canopy/canopymc.net/pulls/10
Co-Authored-By: Etzelia <etzelia@hotmail.com>
Co-Committed-By: Etzelia <etzelia@hotmail.com>
pull/1/head
Etzelia 2021-12-06 21:05:20 +00:00
parent f4e3fff8f0
commit b2103866bd
2 changed files with 6 additions and 13 deletions

View File

@ -1,15 +1,14 @@
# birbmc.com
# canopymc.net
The home page for BirbMC.
The home page for The Canopy.
For development scripts, see [package.json](package.json)
## Development
- `npm install`
- `npm run webfonts`
- `npm run sass`
- `npm run build`
## Release
`npm run dist`
`npm run build`

View File

@ -7,15 +7,9 @@ function run() {
logo('small');
}
const paletteTemplate = `$palette1: #;
$palette2: #809640;
$palette3: #74873A;
$palette4: #617B30;
$palette5: #413D31;`
function palette() {
const options = {
hostname: 'git.birbmc.com',
hostname: 'git.jojodev.com',
port: 443,
path: '/Canopy/branding/raw/branch/main/palette.json',
method: 'GET'
@ -36,7 +30,7 @@ $palette5: #${palette[0]};`);
function logo(size) {
fs.truncateSync(`src/images/${size}.svg`)
const options = {
hostname: 'git.birbmc.com',
hostname: 'git.jojodev.com',
port: 443,
path: `/Canopy/branding/raw/branch/main/${size}.svg`,
method: 'GET'