0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-03-22 08:58:11 +00:00

Move snippets examples from Imgur to assets

This commit is contained in:
David Bolack
2025-12-29 11:44:15 -06:00
parent 859dbea0bc
commit ab19097521
11 changed files with 13 additions and 13 deletions

View File

@@ -40,7 +40,7 @@ module.exports = [
icon : 'fas fa-image',
gen : [
'<img ',
' src=\'https://s-media-cache-ak0.pinimg.com/736x/4a/81/79/4a8179462cfdf39054a418efd4cb743e.jpg\' ',
' src=\'https://homebrewery.naturalcrit.com/assets/4a8179462cfdf39054a418efd4cb743e.jpg\' ',
' style=\'width:325px\' />',
'Credit: Kyounghwan Kim'
].join('\n')
@@ -50,7 +50,7 @@ module.exports = [
icon : 'fas fa-tree',
gen : [
'<img ',
' src=\'http://i.imgur.com/hMna6G0.png\' ',
' src=\'https://homebrewery.naturalcrit.com/assets/hMna6G0.png\' ',
' style=\'position:absolute; top:50px; right:30px; width:280px\' />'
].join('\n')
},

View File

@@ -96,7 +96,7 @@ module.exports = {
${_.sample(footnote)}
}}
![background image](https://i.imgur.com/IwHRrbF.jpg){position:absolute,bottom:0,left:0,height:100%}
![background image](https://homebrewery.naturalcrit.com/assets/IwHRrbF.jpg){position:absolute,bottom:0,left:0,height:100%}
\page`;
},
@@ -110,7 +110,7 @@ module.exports = {
___
{{imageMaskCenter${_.random(1, 16)},--offsetX:0%,--offsetY:0%,--rotation:0
![background image](https://i.imgur.com/IsfUnFR.jpg){position:absolute,bottom:0,left:0,height:100%}
![background image](https://homebrewery.naturalcrit.com/assets/IsfUnFR.jpg){position:absolute,bottom:0,left:0,height:100%}
}}
{{logo ![](/assets/naturalCritLogoRed.svg)}}
@@ -126,7 +126,7 @@ module.exports = {
## ${_.sample(subtitles)}
{{imageMaskEdge${_.random(1, 8)},--offset:10cm,--rotation:180
![Background image](https://i.imgur.com/9TU96xY.jpg){position:absolute,bottom:0,left:0,height:100%}
![Background image](https://homebrewery.naturalcrit.com/assets/9TU96xY.jpg){position:absolute,bottom:0,left:0,height:100%}
}}
\page`;
@@ -143,7 +143,7 @@ module.exports = {
For use with any fantasy roleplaying ruleset. Play the best game of your life!
![background image](https://i.imgur.com/MJ4YHu7.jpg){position:absolute,bottom:0,left:0,height:100%}
![background image](https://homebrewery.naturalcrit.com/assets/MJ4YHu7.jpg){position:absolute,bottom:0,left:0,height:100%}
{{logo
![](/assets/naturalCritLogoWhite.svg)

View File

@@ -631,25 +631,25 @@ module.exports = [
name : 'Image',
icon : 'fas fa-image',
gen : dedent`
![cat warrior](https://s-media-cache-ak0.pinimg.com/736x/4a/81/79/4a8179462cfdf39054a418efd4cb743e.jpg) {width:325px,mix-blend-mode:multiply}`
![cat warrior](https://homebrewery.naturalcrit.com/assets/4a8179462cfdf39054a418efd4cb743e.jpg) {width:325px,mix-blend-mode:multiply}`
},
{
name : 'Image Wrap Left',
icon : 'fac image-wrap-left',
gen : dedent`
![homebrewery_mug](http://i.imgur.com/hMna6G0.png) {width:280px,margin-right:-3cm,wrapLeft}`
![homebrewery_mug](https://homebrewery.naturalcrit.com/assets/hMna6G0.png) {width:280px,margin-right:-3cm,wrapLeft}`
},
{
name : 'Image Wrap Right',
icon : 'fac image-wrap-right',
gen : dedent`
![homebrewery_mug](http://i.imgur.com/hMna6G0.png) {width:280px,margin-left:-3cm,wrapRight}`
![homebrewery_mug](https://homebrewery.naturalcrit.com/assets/hMna6G0.png) {width:280px,margin-left:-3cm,wrapRight}`
},
{
name : 'Background Image',
icon : 'fas fa-tree',
gen : dedent`
![homebrew mug](http://i.imgur.com/hMna6G0.png) {position:absolute,top:50px,right:30px,width:280px}`
![homebrew mug](https://homebrewery.naturalcrit.com/assets/hMna6G0.png) {position:absolute,top:50px,right:30px,width:280px}`
},
{
name : 'Watercolor Splatter',

View File

@@ -5,7 +5,7 @@ module.exports = {
center : ()=>{
return dedent`
{{imageMaskCenter${_.random(1, 16)},--offsetX:0%,--offsetY:0%,--rotation:0
![](https://i.imgur.com/GZfjDWV.png){height:100%}
![](https://homebrewery.naturalcrit.com/assets/GZfjDWV.png){height:100%}
}}
<!-- Use --offsetX to shift the mask left or right (can use cm instead of %)
Use --offsetY to shift the mask up or down
@@ -21,7 +21,7 @@ module.exports = {
}[side];
return dedent`
{{imageMaskEdge${_.random(1, 8)},--offset:0%,--rotation:${rotation}
![](https://i.imgur.com/GZfjDWV.png){height:100%}
![](https://homebrewery.naturalcrit.com/assets/GZfjDWV.png){height:100%}
}}
<!-- Use --offset to shift the mask away from page center (can use cm instead of %)
Use --rotation to set rotation angle in degrees. -->\n\n`;
@@ -32,7 +32,7 @@ module.exports = {
const offsetY = (y == 'top' ? '50%' : '-50%');
return dedent`
{{imageMaskCorner${_.random(1, 37)},--offsetX:${offsetX},--offsetY:${offsetY},--rotation:0
![](https://i.imgur.com/GZfjDWV.png){height:100%}
![](https://homebrewery.naturalcrit.com/assets/GZfjDWV.png){height:100%}
}}
<!-- Use --offsetX to shift the mask left or right (can use cm instead of %)
Use --offsetY to shift the mask up or down

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

BIN
themes/assets/9TU96xY.jpeg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 219 KiB

BIN
themes/assets/GZfjDWV.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

BIN
themes/assets/IsfUnFR.jpeg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 278 KiB

BIN
themes/assets/IwHRrbF.jpeg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 245 KiB

BIN
themes/assets/MJ4YHu7.jpeg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 201 KiB

BIN
themes/assets/hMna6G0.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 241 KiB