0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-15 17:02:38 +00:00

Add cloned files.

Reduce CC license to just the wording and badges needed to display
Reduce the Orc license to just the Text needed to display
This commit is contained in:
David Bolack
2024-07-17 11:30:48 -05:00
parent 5b02132e57
commit 1b67c69f0f
5 changed files with 835 additions and 1 deletions

View File

@@ -3,6 +3,10 @@
const WatercolorGen = require('./snippets/watercolor.gen.js');
const ImageMaskGen = require('./snippets/imageMask.gen.js');
const FooterGen = require('./snippets/footer.gen.js');
const LicenseGenWotC = require('./snippets/licenseWotC.gen.js');
const LicenseGenGNU = require('./snippets/licenseGNU.gen.js');
const LicenseGen = require('./snippets/license.gen.js');
const dedent = require('dedent-tabs').default;
module.exports = [
@@ -128,6 +132,182 @@ module.exports = [
}
]
},
{
groupName : 'License',
icon : 'fas fa-copyright',
view : 'text',
snippets : [
{
name : 'Creative Commons',
icon : 'fab fa-creative-commons',
subsnippets : [
{
name : 'Text Declarations',
icon : 'fab fa-creative-commons',
subsnippets : [
{
name : 'CC0 4.0',
icon : 'fab fa-creative-commons',
gen : LicenseGen.cczero,
},
{
name : 'CC-BY-4.0',
icon : 'fab fa-creative-commons',
gen : LicenseGen.ccby,
},
{
name : 'CC-BY-SA 4.0',
icon : 'fab fa-creative-commons',
gen : LicenseGen.ccbysa,
},
{
name : 'CC-BY-NC 4.0',
icon : 'fab fa-creative-commons',
gen : LicenseGen.ccbync,
},
{
name : 'CC-BY-NC-SA 4.0',
icon : 'fab fa-creative-commons',
gen : LicenseGen.ccbyncsa,
},
{
name : 'CC-BY-ND 4.0',
icon : 'fab fa-creative-commons',
gen : LicenseGen.ccbynd,
},
{
name : 'CC-BY-NC-ND 4.0',
icon : 'fab fa-creative-commons',
gen : LicenseGen.ccbyncnd,
},
]
},
{
name : 'Badges',
icon : 'fab fa-creative-commons',
subsnippets : [
{
name : 'CC0 4.0',
icon : 'fab fa-creative-commons',
gen : LicenseGen.cczeroBadge,
},
{
name : 'CC-BY-4.0',
icon : 'fab fa-creative-commons',
gen : LicenseGen.ccbyBadge,
},
{
name : 'CC-BY-SA 4.0',
icon : 'fab fa-creative-commons',
gen : LicenseGen.ccbysaBadge,
},
{
name : 'CC-BY-NC 4.0',
icon : 'fab fa-creative-commons',
gen : LicenseGen.ccbyncBadge,
},
{
name : 'CC-BY-NC-SA 4.0',
icon : 'fab fa-creative-commons',
gen : LicenseGen.ccbyncsaBadge,
},
{
name : 'CC-BY-ND 4.0',
icon : 'fab fa-creative-commons',
gen : LicenseGen.ccbyndBadge,
},
{
name : 'CC-BY-NC-ND 4.0',
icon : 'fab fa-creative-commons',
gen : LicenseGen.ccbyncndBadge,
},
]
},
]
},
{
name : 'GNU',
icon : 'fas fa-w',
subsnippets : [
{
name : 'GNU Free Documentation License',
icon : 'fas fa-w',
gen : LicenseGenGNU.gfdl,
},
{
name : 'GNU FDL Title Page',
icon : 'fas fa-w',
gen : LicenseGenGNU.gfdltitle,
},
{
name : 'GNU FDL Title Page w/alterations',
icon : 'fas fa-w',
gen : LicenseGenGNU.gfdltitleinvariant,
},
{
name : 'GNU General Public License v3',
icon : 'fas fa-w',
gen : LicenseGenGNU.gpl3,
},
{
name : 'GNU GPLv3 Title Page',
icon : 'fas fa-w',
gen : LicenseGenGNU.gpl3title,
},
]
},
{
name : 'Wizards of the Coast',
icon : 'fab fa-wizards-of-the-coast',
subsnippets : [
{
name : 'OGL 1.0 A',
icon : 'fab fa-wizards-of-the-coast',
gen : LicenseGenWotC.ogl1a,
},
{
name : 'WoTC Fan Content Policy',
icon : 'fas fa-w',
gen : LicenseGenWotC.fcp,
},
]
},
{
name : 'MIT License',
icon : 'fas fa-mit',
gen : LicenseGen.mit,
},
{
name : 'ORC Notice',
icon : 'fas fa-Paizo',
gen : LicenseGen.orc1,
},
]
},
{
groupName : 'Style Editor',
icon : 'fas fa-pencil-alt',
@@ -140,7 +320,6 @@ module.exports = [
},
]
},
/*********************** IMAGES *******************/
{
groupName : 'Images',