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)
|
||||
|
||||
## Development
|
||||
|
||||
- `npm install`
|
||||
- `npm run webfonts`
|
||||
- `npm run sass`
|
||||
- `npm run build`
|
||||
|
||||
## Release
|
||||
|
||||
`npm run dist`
|
||||
`npm run build`
|
10
branding.js
10
branding.js
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue