forked from Minecraft/website
README (#10)
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>main
parent
f4e3fff8f0
commit
b2103866bd
|
@ -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)
|
For development scripts, see [package.json](package.json)
|
||||||
|
|
||||||
## Development
|
## Development
|
||||||
|
|
||||||
- `npm install`
|
- `npm install`
|
||||||
- `npm run webfonts`
|
- `npm run build`
|
||||||
- `npm run sass`
|
|
||||||
|
|
||||||
## Release
|
## Release
|
||||||
|
|
||||||
`npm run dist`
|
`npm run build`
|
10
branding.js
10
branding.js
|
@ -7,15 +7,9 @@ function run() {
|
||||||
logo('small');
|
logo('small');
|
||||||
}
|
}
|
||||||
|
|
||||||
const paletteTemplate = `$palette1: #;
|
|
||||||
$palette2: #809640;
|
|
||||||
$palette3: #74873A;
|
|
||||||
$palette4: #617B30;
|
|
||||||
$palette5: #413D31;`
|
|
||||||
|
|
||||||
function palette() {
|
function palette() {
|
||||||
const options = {
|
const options = {
|
||||||
hostname: 'git.birbmc.com',
|
hostname: 'git.jojodev.com',
|
||||||
port: 443,
|
port: 443,
|
||||||
path: '/Canopy/branding/raw/branch/main/palette.json',
|
path: '/Canopy/branding/raw/branch/main/palette.json',
|
||||||
method: 'GET'
|
method: 'GET'
|
||||||
|
@ -36,7 +30,7 @@ $palette5: #${palette[0]};`);
|
||||||
function logo(size) {
|
function logo(size) {
|
||||||
fs.truncateSync(`src/images/${size}.svg`)
|
fs.truncateSync(`src/images/${size}.svg`)
|
||||||
const options = {
|
const options = {
|
||||||
hostname: 'git.birbmc.com',
|
hostname: 'git.jojodev.com',
|
||||||
port: 443,
|
port: 443,
|
||||||
path: `/Canopy/branding/raw/branch/main/${size}.svg`,
|
path: `/Canopy/branding/raw/branch/main/${size}.svg`,
|
||||||
method: 'GET'
|
method: 'GET'
|
||||||
|
|
Loading…
Reference in New Issue