rebrand generic 5e
|
|
@ -1,6 +1,6 @@
|
|||
module.exports = {
|
||||
title: 'Héros & Dragons DRS',
|
||||
description: 'Document de Référence Système pour le jeu de rôle Héros & Dragons',
|
||||
title: '5E DRS',
|
||||
description: 'Document de Référence Système pour jeux de rôle en OGL 5E',
|
||||
head: [
|
||||
['link', { rel: 'icon', href: '/favicon-32x32.png' }],
|
||||
['link', { rel: 'manifest', crossorigin:"use-credentials", href: '/manifest.json' }],
|
||||
|
|
@ -86,7 +86,7 @@ module.exports = {
|
|||
[
|
||||
'sitemap',
|
||||
{
|
||||
hostname: 'https://heros-et-dragons.fr'
|
||||
hostname: 'https://5e-drs.fr'
|
||||
}
|
||||
],
|
||||
// [
|
||||
|
|
@ -194,14 +194,14 @@ module.exports = {
|
|||
}
|
||||
],
|
||||
themeConfig: {
|
||||
domain: 'https://heros-et-dragons.fr',
|
||||
repository: 'https://github.com/em-squared/heros-et-dragons-drs',
|
||||
domain: 'https://5e-drs.fr',
|
||||
repository: 'https://github.com/em-squared/5e-drs',
|
||||
kofi: 'https://ko-fi.com/S6S410PB8',
|
||||
forum: 'https://www.black-book-editions.fr/forums.php?board_id=115',
|
||||
discord: 'https://discord.gg/mp6ECCs',
|
||||
discordHDNO: 'https://discord.gg/KMZkEQhe8a',
|
||||
primaryColor: '#435a3f', // Hero
|
||||
accentColor: '#9b1c47', // Dragon
|
||||
accentColor: '#4c6477', // Dragon
|
||||
searchPlaceholder: 'Recherche',
|
||||
nav: [
|
||||
{ text: 'Home', link: '/' },
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 8.5 KiB After Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 8.7 KiB |
|
|
@ -1,58 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
id="svg3411"
|
||||
version="1.1"
|
||||
inkscape:version="0.91 r13725"
|
||||
width="20.1"
|
||||
height="20.1"
|
||||
viewBox="0 0 20.1 20.1"
|
||||
sodipodi:docname="dragon.svg">
|
||||
<metadata
|
||||
id="metadata3417">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs3415" />
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1029"
|
||||
id="namedview3413"
|
||||
showgrid="false"
|
||||
inkscape:zoom="42.537313"
|
||||
inkscape:cx="7.2407019"
|
||||
inkscape:cy="10.05"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg3411" />
|
||||
<path
|
||||
style="fill:#000000"
|
||||
d="M 6.0582228,19.481747 C 5.006205,17.797199 6.0879678,15.536726 8.7077148,13.945313 11.960909,11.969103 13.408058,9.5242749 12.051378,8.2964964 10.721427,7.0929069 9.2411214,8.141793 8.4981294,10.814189 L 8.0016294,12.6 6.5875482,12.6 C 5.6965722,12.6 5.0353119,12.766467 4.8,13.05 4.5709686,13.325966 3.947643,13.49084 3.1882665,13.476316 L 1.95,13.452632 2.85,13.13717 C 3.345,12.963665 3.980721,12.620904 4.2627132,12.375477 4.5447054,12.13005 5.2150983,11.839324 5.7524754,11.729418 L 6.7295241,11.529591 7.1112186,10.211252 C 7.5952107,8.5395867 7.444674,8.385756 6.6473082,9.7371906 6.1616754,10.560277 5.8267479,10.8 5.1624117,10.8 c -0.529722,0 -1.1304144,0.29016 -1.5705147,0.758625 -0.3919806,0.417245 -0.9440854,0.720995 -1.2268999,0.675 -0.2828145,-0.04599 -0.8466093,0.228132 -1.2528774,0.609168 L 0.37345038,13.535585 0.17396512,12.472238 C -0.04876449,11.284987 0.35519604,9.4390407 1.0343228,8.5407306 L 1.480918,7.95 1.4904589,8.6072949 C 1.5064987,9.7122975 1.9846611,9.6503868 3.1173347,8.3966526 3.8508171,7.5847752 4.2,6.9098073 4.2,6.3038688 c 0,-0.571953 0.3212973,-1.247616 0.8912061,-1.8741357 0.7072668,-0.7775229 0.8930208,-0.867204 0.9,-0.4345167 C 6.0037101,4.7705523 7.1772948,4.3855854 7.95,3.3526791 9.8251944,0.84603015 11.653614,-0.09406429 13.4089,0.54594897 L 14.25,0.85263159 13.491752,0.87631578 C 12.473809,0.90811167 11.4,1.6990339 11.4,2.4170112 c 0,0.3206438 0.03375,0.5809562 0.075,0.5784719 0.04125,-0.00248 0.615,-0.1990588 1.275,-0.4368321 1.606587,-0.5787934 3.055916,-0.5525742 4.465699,0.080787 l 1.165699,0.5237038 -1.907672,0.3940233 C 14.45928,3.973242 14.487164,4.2500844 16.581414,4.6263291 17.649605,4.8182361 19.8,6.3542454 19.8,6.9253386 c 0,0.1447506 -0.6075,0.179916 -1.35,0.078145 -1.628242,-0.2231757 -1.679548,-0.0059 -0.286832,1.2147231 0.771536,0.6761979 1.111941,1.2609588 1.240974,2.1317931 l 0.177805,1.2 -0.882389,-0.825 c -1.219347,-1.1400423 -1.498769,-1.043913 -1.744045,0.6 -0.452256,3.031162 -1.615425,4.377449 -4.698493,5.43818 -2.118617,0.728911 -3.8564278,1.622624 -4.9587379,2.550157 L 6.4164459,20.055353 6.0582228,19.481747 Z"
|
||||
id="path3421"
|
||||
inkscape:connector-curvature="0" />
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 3.7 KiB |
|
Before Width: | Height: | Size: 57 KiB |
|
Before Width: | Height: | Size: 57 KiB |
|
Before Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 906 B After Width: | Height: | Size: 5.7 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 6.9 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 10 KiB |
BIN
docs/.vuepress/public/fonts/srd.eot
Normal file
11
docs/.vuepress/public/fonts/srd.svg
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<metadata>Generated by IcoMoon</metadata>
|
||||
<defs>
|
||||
<font id="srd" horiz-adv-x="1024">
|
||||
<font-face units-per-em="1024" ascent="960" descent="-64" />
|
||||
<missing-glyph horiz-adv-x="1024" />
|
||||
<glyph unicode=" " horiz-adv-x="512" d="" />
|
||||
<glyph unicode="" glyph-name="bookmark" d="M322.44 920.874l-5-10.75-214.88-455.186c-48.986-56.416-69.834-117.174-67.186-176.38 2.76-61.704 30.24-120.776 72.752-173.62l5.624-7h99.44c9.634 7.672 17.86 15.634 24.81 24.060 3.516 4.264 6.76 8.716 9.75 13.312h-115.81c-35.626 46.374-57.052 95.696-59.252 144.876-2.246 50.22 14.674 101.188 59.874 152.25h863.752l-10.5 25.748-188.438 462.686h-474.936zM346.126 883.5h354.686l105.312-83.188 76.814-188.56-117.69-141.88h-614.308l195.184 413.628zM150.312 394.75c-30.62-37.96-41.95-75.556-40.25-112.876 1.68-36.796 16.552-73.9 41-108.936h114.38c8.784 27.034 12.688 59.694 13.56 100.872h-32.376v37.376h32.626v0.374h231.498v-0.372h34.312v-37.376h-34.5c-0.574-35.6-2.894-69.276-8-100.874h443.252c-18.068 73.744-18.224 148.012-0.060 221.81h-795.444zM316.312 274.19c-1.54-75.396-12.92-131.66-49.44-175.94-29.19-35.4-72.38-61.494-134.56-85.626 17.38-3.316 34.428-6.45 53.060-10.5 28.096-6.104 55.824-12.676 78.066-18.5 11.12-2.91 20.88-5.652 28.748-8.124 3.88-1.22 7.066-2.148 10.060-3.25 70.49 26.928 111.56 65.794 136.69 117.44 23.888 49.1 32.574 111.426 33.872 184.5h-156.5zM494.812 135.31c-3.264-12.85-7.064-25.336-11.624-37.372h514.060v37.372h-502.434z" />
|
||||
</font></defs></svg>
|
||||
|
After Width: | Height: | Size: 1.6 KiB |
BIN
docs/.vuepress/public/fonts/srd.ttf
Normal file
BIN
docs/.vuepress/public/fonts/srd.woff
Normal file
BIN
docs/.vuepress/public/logo.png
Normal file
|
After Width: | Height: | Size: 25 KiB |
1
docs/.vuepress/public/logo.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" style="height: 512px; width: 512px;"><path d="M0 0h512v512H0z" fill="#000" fill-opacity="0"></path><g class="" transform="translate(0,0)" style=""><path d="M161.22 19.563l-2.5 5.375-106.44 225.5-1 2.093c-24.493 28.208-34.917 58.587-33.593 88.19 1.38 30.852 15.12 60.388 36.376 86.81l2.812 3.5h49.72c4.817-3.836 8.93-7.817 12.405-12.03 1.758-2.132 3.38-4.358 4.875-6.656H65.97c-17.813-23.187-28.526-47.848-29.626-72.438-1.123-25.11 7.337-50.594 29.937-76.125H498.157l-5.25-12.874-91.844-225.5-2.375-5.843H161.22zm11.843 18.687h177.343l52.656 41.594 38.407 94.28-58.845 70.94H75.47L173.062 38.25zM75.156 282.625c-15.31 18.98-20.975 37.778-20.125 56.438.84 18.398 8.276 36.95 20.5 54.468h57.19c4.392-13.517 6.344-29.847 6.78-50.436h-16.188v-18.688h16.313v-.187h115.749v.186h17.156v18.688h-17.25c-.287 17.8-1.447 34.638-4 50.437h221.626c-9.034-36.872-9.112-74.006-.03-110.905H75.155zm83 60.28c-.77 37.698-6.46 65.83-24.72 87.97-14.595 17.7-36.19 30.747-67.28 42.813 8.69 1.658 17.214 3.225 26.53 5.25 14.048 3.052 27.912 6.338 39.033 9.25 5.56 1.455 10.44 2.826 14.374 4.062 1.94.61 3.533 1.074 5.03 1.625 35.245-13.464 55.78-32.897 68.345-58.72 11.944-24.55 16.287-55.713 16.936-92.25h-78.25zm89.25 69.44c-1.632 6.425-3.532 12.668-5.812 18.686h257.03v-18.686H247.407z" fill="#bdb76b" fill-opacity="1"></path></g></svg>
|
||||
|
After Width: | Height: | Size: 1.3 KiB |
|
|
@ -1,13 +1,13 @@
|
|||
{
|
||||
"dir" : "ltr",
|
||||
"lang" : "fr",
|
||||
"name" : "Héros & Dragons DRS",
|
||||
"name" : "5E DRS",
|
||||
"scope" : "/",
|
||||
"display" : "standalone",
|
||||
"start_url" : "/index.html",
|
||||
"short_name" : "H&D DRS",
|
||||
"short_name" : "5E DRS",
|
||||
"theme_color" : "#435a3f",
|
||||
"description" : "Document de référence système pour le jeu de rôle Héros & Dragons",
|
||||
"description" : "Document de référence système pour jeux de rôle en OGL 5E",
|
||||
"orientation" : "any",
|
||||
"background_color" : "#ffffff",
|
||||
"icons" : [
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 6.2 KiB After Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 14 KiB |
|
|
@ -1,51 +1 @@
|
|||
<?xml version="1.0" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
|
||||
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
|
||||
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
|
||||
width="700.000000pt" height="700.000000pt" viewBox="0 0 700.000000 700.000000"
|
||||
preserveAspectRatio="xMidYMid meet">
|
||||
<metadata>
|
||||
Created by potrace 1.11, written by Peter Selinger 2001-2013
|
||||
</metadata>
|
||||
<g transform="translate(0.000000,700.000000) scale(0.100000,-0.100000)"
|
||||
fill="#000000" stroke="none">
|
||||
<path d="M4190 6872 c-126 -11 -312 -66 -435 -130 -316 -163 -598 -415 -910
|
||||
-813 -149 -190 -249 -291 -359 -363 -135 -88 -251 -118 -325 -85 -49 21 -69
|
||||
57 -75 134 -9 111 -46 109 -167 -8 -305 -296 -437 -525 -454 -784 -4 -54 -14
|
||||
-127 -22 -163 -29 -122 -120 -292 -237 -440 -74 -95 -90 -112 -206 -233 -307
|
||||
-319 -446 -338 -475 -64 -4 31 -7 113 -8 181 l-1 124 -40 -52 c-22 -28 -56
|
||||
-71 -76 -96 -83 -104 -156 -236 -217 -393 -36 -95 -98 -322 -109 -403 -3 -27
|
||||
-8 -52 -10 -55 -9 -16 -18 -159 -19 -304 0 -153 6 -227 26 -325 5 -25 16 -82
|
||||
24 -126 8 -45 20 -105 26 -134 l11 -52 42 39 c22 22 77 74 121 115 195 185
|
||||
352 282 474 293 25 3 70 7 98 9 104 9 221 79 376 225 186 174 338 253 515 266
|
||||
159 12 183 16 234 36 106 42 189 123 285 279 180 292 237 370 274 370 16 0 19
|
||||
-8 19 -46 0 -64 -31 -210 -86 -399 -25 -88 -47 -164 -48 -170 -14 -52 -33
|
||||
-117 -61 -210 l-34 -111 -163 -33 c-199 -40 -292 -64 -383 -98 -114 -42 -242
|
||||
-110 -323 -171 -90 -67 -158 -112 -170 -112 -5 0 -20 -8 -33 -18 -41 -31 -203
|
||||
-101 -362 -156 -84 -30 -168 -60 -187 -68 l-35 -15 45 0 c535 -6 617 -2 736
|
||||
32 87 25 144 55 200 106 83 75 169 112 324 138 111 18 185 22 493 22 l298 0 9
|
||||
22 c5 12 52 175 104 362 135 487 194 645 314 845 48 80 156 221 194 255 59 53
|
||||
125 105 132 105 4 0 20 8 34 19 45 32 161 62 237 62 249 0 520 -226 560 -466
|
||||
47 -292 -124 -648 -492 -1020 -216 -219 -432 -391 -730 -580 -315 -201 -412
|
||||
-270 -558 -399 -447 -393 -671 -865 -601 -1264 27 -155 61 -231 215 -480 20
|
||||
-32 37 -49 44 -45 7 4 91 73 187 153 96 80 202 167 235 192 75 56 271 188 281
|
||||
188 4 0 15 6 23 14 52 45 467 257 686 351 109 47 431 175 450 180 6 1 17 5 25
|
||||
8 8 4 90 33 181 66 500 178 798 348 1044 596 128 129 218 256 301 425 81 165
|
||||
75 152 118 283 32 96 75 259 90 342 20 105 46 256 51 292 2 23 14 82 25 132
|
||||
83 372 192 371 596 -6 23 -21 92 -85 153 -143 62 -58 117 -107 122 -108 6 -2
|
||||
8 7 5 20 -5 23 -13 74 -22 138 -2 19 -8 60 -14 90 -5 30 -12 78 -15 105 -41
|
||||
337 -160 546 -465 815 -200 177 -320 315 -320 367 0 52 106 71 290 52 149 -16
|
||||
184 -21 193 -26 15 -9 331 -10 374 -1 62 13 69 33 33 105 -53 105 -237 274
|
||||
-477 437 -62 42 -115 76 -118 76 -3 0 -24 11 -46 25 -71 46 -252 132 -329 158
|
||||
-41 14 -113 33 -160 42 -490 93 -617 163 -445 244 45 21 227 78 280 87 16 3
|
||||
46 9 65 14 19 5 82 19 140 30 58 12 112 23 120 25 8 2 116 24 240 50 124 25
|
||||
231 48 239 51 16 5 -3 18 -69 44 -19 8 -81 35 -138 62 -57 26 -105 48 -107 48
|
||||
-2 0 -32 13 -67 29 -153 70 -363 133 -502 151 -45 6 -97 13 -116 16 -44 7
|
||||
-311 6 -354 0 -17 -3 -53 -8 -81 -11 -27 -3 -84 -13 -125 -22 -41 -8 -82 -16
|
||||
-90 -18 -53 -11 -154 -41 -266 -79 -71 -24 -203 -70 -293 -100 -90 -31 -169
|
||||
-55 -174 -53 -15 5 -20 42 -21 162 -1 101 1 115 27 165 54 109 189 238 307
|
||||
294 25 11 47 24 48 29 2 4 11 7 21 7 9 0 21 4 27 8 12 12 149 51 199 58 51 7
|
||||
168 13 269 13 44 1 77 3 75 6 -3 2 -79 31 -169 64 -158 58 -241 83 -325 96
|
||||
-45 8 -212 12 -265 7z"/>
|
||||
</g>
|
||||
</svg>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" style="height: 875px; width: 875px;"><path d="M0 0h512v512H0z" fill="#000" fill-opacity="0"></path><g class="" transform="translate(0,0)" style=""><path d="M161.22 19.563l-2.5 5.375-106.44 225.5-1 2.093c-24.493 28.208-34.917 58.587-33.593 88.19 1.38 30.852 15.12 60.388 36.376 86.81l2.812 3.5h49.72c4.817-3.836 8.93-7.817 12.405-12.03 1.758-2.132 3.38-4.358 4.875-6.656H65.97c-17.813-23.187-28.526-47.848-29.626-72.438-1.123-25.11 7.337-50.594 29.937-76.125H498.157l-5.25-12.874-91.844-225.5-2.375-5.843H161.22zm11.843 18.687h177.343l52.656 41.594 38.407 94.28-58.845 70.94H75.47L173.062 38.25zM75.156 282.625c-15.31 18.98-20.975 37.778-20.125 56.438.84 18.398 8.276 36.95 20.5 54.468h57.19c4.392-13.517 6.344-29.847 6.78-50.436h-16.188v-18.688h16.313v-.187h115.749v.186h17.156v18.688h-17.25c-.287 17.8-1.447 34.638-4 50.437h221.626c-9.034-36.872-9.112-74.006-.03-110.905H75.155zm83 60.28c-.77 37.698-6.46 65.83-24.72 87.97-14.595 17.7-36.19 30.747-67.28 42.813 8.69 1.658 17.214 3.225 26.53 5.25 14.048 3.052 27.912 6.338 39.033 9.25 5.56 1.455 10.44 2.826 14.374 4.062 1.94.61 3.533 1.074 5.03 1.625 35.245-13.464 55.78-32.897 68.345-58.72 11.944-24.55 16.287-55.713 16.936-92.25h-78.25zm89.25 69.44c-1.632 6.425-3.532 12.668-5.812 18.686h257.03v-18.686H247.407z" fill="#000000" fill-opacity="1"></path></g></svg>
|
||||
|
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 7.6 KiB After Width: | Height: | Size: 26 KiB |
|
|
@ -30,7 +30,6 @@ export default new Vuex.Store({
|
|||
hasRightDrawer: false,
|
||||
inRightDrawer: null,
|
||||
isThemeDark: false,
|
||||
isOpenAboutDialog: false,
|
||||
isOpenSupportDialog: false,
|
||||
isOpenShareHomebrewDialog: false,
|
||||
shareURI: '',
|
||||
|
|
@ -46,7 +45,6 @@ export default new Vuex.Store({
|
|||
hasRightDrawer: state => state.hasRightDrawer,
|
||||
inRightDrawer: state => state.inRightDrawer,
|
||||
isThemeDark: state => state.isThemeDark,
|
||||
isOpenAboutDialog: state => state.isOpenAboutDialog,
|
||||
isOpenSupportDialog: state => state.isOpenSupportDialog,
|
||||
isOpenShareHomebrewDialog: state => state.isOpenShareHomebrewDialog,
|
||||
shareURI: state => state.shareURI,
|
||||
|
|
@ -73,9 +71,6 @@ export default new Vuex.Store({
|
|||
isThemeDark: ({ commit }, payload) => {
|
||||
commit('setIsThemeDark', payload)
|
||||
},
|
||||
isOpenAboutDialog: ({ commit }, payload) => {
|
||||
commit('setIsOpenAboutDialog', payload)
|
||||
},
|
||||
isOpenSupportDialog: ({ commit }, payload) => {
|
||||
commit('setIsOpenSupportDialog', payload)
|
||||
},
|
||||
|
|
@ -109,10 +104,7 @@ export default new Vuex.Store({
|
|||
setIsThemeDark: (state, payload) => {
|
||||
state.isThemeDark = payload
|
||||
// console.log(payload)
|
||||
Cookies.set('heros-et-dragons-is-dark', state.isThemeDark, { expires: 365 })
|
||||
},
|
||||
setIsOpenAboutDialog: (state, payload) => {
|
||||
state.isOpenAboutDialog = payload
|
||||
Cookies.set('5e-drs-is-dark', state.isThemeDark, { expires: 365 })
|
||||
},
|
||||
setIsOpenSupportDialog: (state, payload) => {
|
||||
state.isOpenSupportDialog = payload
|
||||
|
|
@ -136,7 +128,7 @@ export default new Vuex.Store({
|
|||
},
|
||||
setL5r: (state, payload) => {
|
||||
state.l5r = payload
|
||||
Cookies.set('heros-et-dragons-l5r', state.l5r, { expires: 365 })
|
||||
Cookies.set('5e-drs-l5r', state.l5r, { expires: 365 })
|
||||
}
|
||||
},
|
||||
})
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
// colors
|
||||
$accentColor = #9b1c47
|
||||
$accentColor = #4c6477
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
<template v-slot:item="{ item }">
|
||||
<v-breadcrumbs-item :to="item.to" :exact="true" :disabled="item.disabled">
|
||||
<template v-if="item.to == '/'">
|
||||
<img src="/dragon_rouge.svg" />
|
||||
<span class="icon-bookmark breadcrumb-logo"></span>
|
||||
</template>
|
||||
<template v-else>
|
||||
{{ item.text }}
|
||||
|
|
@ -12,7 +12,9 @@
|
|||
</v-breadcrumbs-item>
|
||||
</template>
|
||||
</v-breadcrumbs>
|
||||
<v-row v-else justify="center"><img class="d-block home-logo" src="/dragon_rouge.svg" /></v-row>
|
||||
<v-row v-else justify="center">
|
||||
<span class="icon-bookmark home-logo"></span>
|
||||
</v-row>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
<Content v-if="!magicItem.custom" :pageKey="magicItem.key" class="mt-4" />
|
||||
<div v-else v-html="md.render(magicItem.content)" class="mt-4"></div>
|
||||
|
||||
<p v-if="$page.frontmatter.source" class="source">Source : <em>{{ $page.frontmatter.source }}</em></p>
|
||||
<!-- <p v-if="$page.frontmatter.source" class="source">Source : <em>{{ $page.frontmatter.source }}</em></p> -->
|
||||
<p v-if="magicItem.author" class="source">Auteur : <em>{{ magicItem.author }}</em></p>
|
||||
|
||||
</main>
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
<Content v-if="!magicItem.custom" :pageKey="magicItem.key" class="mt-4" />
|
||||
<div v-else v-html="md.render(magicItem.content)" class="mt-4"></div>
|
||||
|
||||
<p v-if="magicItem.frontmatter.source" class="source">Source : <em>{{ magicItem.frontmatter.source }}</em></p>
|
||||
<!-- <p v-if="magicItem.frontmatter.source" class="source">Source : <em>{{ magicItem.frontmatter.source }}</em></p> -->
|
||||
</v-card-text>
|
||||
</v-card>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -152,7 +152,7 @@
|
|||
<Content v-if="!monster.custom" :pageKey="monster.key" class="mt-4" />
|
||||
<div v-else v-html="md.render(monster.content)" class="mt-4"></div>
|
||||
|
||||
<p v-if="$page.frontmatter.source" class="source">Source : <em>{{ monsterStats.source }}</em><template v-if="monsterStats.source_page">, page {{ monsterStats.source_page }}</template></p>
|
||||
<!-- <p v-if="$page.frontmatter.source" class="source">Source : <em>{{ monsterStats.source }}</em><template v-if="monsterStats.source_page">, page {{ monsterStats.source_page }}</template></p> -->
|
||||
<p v-if="monster.author" class="source">Auteur : <em>{{ monster.author }}</em></p>
|
||||
|
||||
</main>
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
<v-divider class="mt-3" />
|
||||
|
||||
<p v-if="monster.frontmatter.source" class="source">Source : <em>{{ monster.frontmatter.source }}</em></p>
|
||||
<!-- <p v-if="monster.frontmatter.source" class="source">Source : <em>{{ monster.frontmatter.source }}</em></p> -->
|
||||
</v-card-text>
|
||||
</v-card>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
<v-list dense nav>
|
||||
<v-list-item class="hidden-md-and-up site-title" link :to="{path: '/'}">
|
||||
<v-list-item-avatar>
|
||||
<img :src="$vuetify.theme.dark ? '/dragon_blanc.svg' : '/dragon_pourpre.svg'">
|
||||
<span class="icon-bookmark sidebar-logo"></span>
|
||||
</v-list-item-avatar>
|
||||
|
||||
<v-list-item-content>
|
||||
|
|
@ -106,7 +106,7 @@
|
|||
</v-list-item-icon>
|
||||
<v-list-item-content>
|
||||
<v-list-item-title>
|
||||
Discord H&D Non Officiel
|
||||
Discord Communautaire
|
||||
</v-list-item-title>
|
||||
</v-list-item-content>
|
||||
</v-list-item>
|
||||
|
|
@ -116,7 +116,7 @@
|
|||
</v-list-item-icon>
|
||||
<v-list-item-content>
|
||||
<v-list-item-title>
|
||||
Discord H&D DRS
|
||||
Discord 5E DRS
|
||||
</v-list-item-title>
|
||||
</v-list-item-content>
|
||||
</v-list-item>
|
||||
|
|
@ -168,32 +168,6 @@
|
|||
</template>
|
||||
</v-navigation-drawer>
|
||||
|
||||
<v-dialog v-model="isOpenAboutDialog" @click:outside="toggleAboutDialog" max-width="600">
|
||||
<v-card>
|
||||
<v-card-title class="headline">À propos de H&D DRS</v-card-title>
|
||||
|
||||
<v-card-text>
|
||||
<p class="title-2">
|
||||
<strong>La personne derrière ce site</strong><br>
|
||||
Ce site a été développé par <strong>Maxime Moraine</strong> alias <strong>Em-squared</strong>.<br>
|
||||
Développeur web passionné de jeux de rôle, j'aime mettre l'un au service de l'autre.<br>
|
||||
Les sources de ce site sont disponibles sur <a :href="$site.themeConfig.repository" target="_blank">GitHub</a> sous Licence <a href="https://github.com/em-squared/heros-et-dragons-drs/blob/master/LICENSE" target="_blank">GPLv3</a>.
|
||||
</p>
|
||||
<p>Vous souhaitez participer aux frais d'hébergement ou m'encourager ?</p>
|
||||
<p class="text-center">
|
||||
<v-btn depressed dark color="#BDB76B" link :href="$site.themeConfig.kofi" target="_blank"><v-icon class="mr-2">mdi-glass-mug-variant</v-icon>Jeter un sou au développeur</v-btn>
|
||||
</p>
|
||||
<p><strong><em>Héros & Dragons</em></strong> est un jeu de rôle basé sur les mécaniques de l'<a href="/licence-ogl">OGL5</a> et développé par les talents de la rédaction de <em><a href="https://www.black-book-editions.fr/catalogue.php?id=40" target="_blank">Casus Belli</a></em>, le magazine de référence des jeux de rôle.</p>
|
||||
<p>Les textes de cette documentation appartiennent à <a href="https://www.black-book-editions.fr/catalogue.php?id=365" target="_blank">Black Book Éditions</a>.</p>
|
||||
<p>Casus Belli et Black Book Éditions sont des marques déposées par <a href="https://www.black-book-editions.fr/" target="_blank">Black Book Éditions</a>. Tous droits réservés.</p>
|
||||
</v-card-text>
|
||||
|
||||
<v-card-actions>
|
||||
<v-btn color="primary" text @click="toggleAboutDialog">Fermer</v-btn>
|
||||
</v-card-actions>
|
||||
</v-card>
|
||||
</v-dialog>
|
||||
|
||||
<v-dialog v-model="isOpenSupportDialog" @click:outside="toggleSupportDialog" max-width="600">
|
||||
<v-card>
|
||||
<v-card-title class="headline d-flex justify-space-between">
|
||||
|
|
@ -235,9 +209,6 @@ export default {
|
|||
this.$store.commit('setDrawer', newValue)
|
||||
}
|
||||
},
|
||||
isOpenAboutDialog () {
|
||||
return this.$store.state.isOpenAboutDialog
|
||||
},
|
||||
isOpenSupportDialog () {
|
||||
return this.$store.state.isOpenSupportDialog
|
||||
}
|
||||
|
|
@ -281,9 +252,6 @@ export default {
|
|||
}
|
||||
return false
|
||||
},
|
||||
toggleAboutDialog () {
|
||||
this.$store.commit('setIsOpenAboutDialog', !this.$store.state.isOpenAboutDialog)
|
||||
},
|
||||
toggleSupportDialog () {
|
||||
this.$store.commit('setIsOpenSupportDialog', !this.$store.state.isOpenSupportDialog)
|
||||
},
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<v-app-bar :clipped-left="$vuetify.breakpoint.lgAndUp" :clipped-right="$vuetify.breakpoint.lgAndUp" :hide-on-scroll="$vuetify.breakpoint.mdAndDown" scroll-threshold="60" app color="#435a3f" dark>
|
||||
<v-app-bar-nav-icon @click.stop="setDrawer" />
|
||||
<v-toolbar-title class="ml-0 mr-4 pl-4">
|
||||
<v-btn class="hidden-sm-and-down site-title" text link :to="{ path: '/' }"><img src="/dragon_blanc.svg" /> {{ $site.title }}</v-btn>
|
||||
<v-btn class="hidden-sm-and-down site-title" text link :to="{ path: '/' }"><span class="icon-bookmark brand-logo"></span> {{ $site.title }}</v-btn>
|
||||
</v-toolbar-title>
|
||||
<SRDSearchBox v-if="$site.themeConfig.search !== false && $page.frontmatter.search !== false" />
|
||||
<v-spacer class="hidden-sm-and-down" />
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
</template>
|
||||
<div v-else v-html="spell.frontmatter.description" class="mt-4"></div>
|
||||
|
||||
<p v-if="spell.frontmatter.source" class="source">Source : <em>{{ spell.frontmatter.source }}</em></p>
|
||||
<!-- <p v-if="spell.frontmatter.source" class="source">Source : <em>{{ spell.frontmatter.source }}</em></p> -->
|
||||
<p v-if="spell.author" class="source">Auteur : <em>{{ spell.author }}</em></p>
|
||||
|
||||
</main>
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@
|
|||
<template>{{ spell.frontmatter.customClasses }}</template>
|
||||
</template>
|
||||
</div>
|
||||
<p v-if="spell.frontmatter.source" class="source">Source : <em>{{ spell.frontmatter.source }}</em></p>
|
||||
<!-- <p v-if="spell.frontmatter.source" class="source">Source : <em>{{ spell.frontmatter.source }}</em></p> -->
|
||||
</v-card-text>
|
||||
</v-card>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -36,12 +36,12 @@ export default ({
|
|||
},
|
||||
themes: {
|
||||
light: {
|
||||
primary: '#9b1c47', // Dragons
|
||||
primary: '#4c6477', // Dragons
|
||||
navbar: '#435a3f', // Héros
|
||||
accent: '#435a3f', // Héros
|
||||
},
|
||||
dark: {
|
||||
primary: '#c38dcc', // Héros
|
||||
primary: '#4c6477', // Dragons
|
||||
navbar: '#435a3f', // Héros
|
||||
accent: '#e02867', // Dragons
|
||||
}
|
||||
|
|
|
|||
|
|
@ -117,19 +117,19 @@ export default {
|
|||
this.$store.commit('setDrawer', this.$vuetify.breakpoint.lgAndUp)
|
||||
|
||||
// Cookie consent
|
||||
const COOKIECONSENT = Cookies.get('heros-et-dragons-cookies')
|
||||
const COOKIECONSENT = Cookies.get('5e-drs-cookies')
|
||||
if (COOKIECONSENT == 'compris') {
|
||||
this.cookieConsentDialog = false
|
||||
}
|
||||
|
||||
// Dark theme
|
||||
const THEMEISDARK = Cookies.get('heros-et-dragons-is-dark')
|
||||
const THEMEISDARK = Cookies.get('5e-drs-is-dark')
|
||||
if (THEMEISDARK === 'true') {
|
||||
this.$vuetify.theme.dark = true
|
||||
}
|
||||
|
||||
// Variante 5 royaumes pour les monstres
|
||||
const L5R = Cookies.get('heros-et-dragons-l5r')
|
||||
const L5R = Cookies.get('5e-drs-l5r')
|
||||
if (L5R === 'true') {
|
||||
this.$store.state.l5r = true
|
||||
}
|
||||
|
|
@ -154,7 +154,7 @@ export default {
|
|||
|
||||
methods: {
|
||||
setCookieConsent () {
|
||||
Cookies.set('heros-et-dragons-cookies', 'compris', { expires: 365 })
|
||||
Cookies.set('5e-drs-cookies', 'compris', { expires: 365 })
|
||||
this.cookieConsentDialog = false
|
||||
},
|
||||
|
||||
|
|
|
|||
|
|
@ -436,7 +436,7 @@ export default {
|
|||
},
|
||||
|
||||
setShowColumn () {
|
||||
Cookies.set('heros-et-dragons-grimoire-colonnes', this.showColumn, { expires: 365 })
|
||||
Cookies.set('5e-drs-grimoire-colonnes', this.showColumn, { expires: 365 })
|
||||
},
|
||||
},
|
||||
|
||||
|
|
@ -456,7 +456,7 @@ export default {
|
|||
}
|
||||
|
||||
// Choix des colonnes à afficher
|
||||
const showColumn = Cookies.get('heros-et-dragons-grimoire-colonnes')
|
||||
const showColumn = Cookies.get('5e-drs-grimoire-colonnes')
|
||||
if (showColumn) {
|
||||
this.showColumn = JSON.parse(showColumn)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
$color-background: #e8e4dd;
|
||||
$color-hero: #435a3f;
|
||||
$color-dragon: #9b1c47;
|
||||
$color-dragon: #4C6477;
|
||||
$color-gray: #6f6f6f;
|
||||
$color-light-gray: #ededed;
|
||||
$color-table-header-bg: #b5aab9;
|
||||
$color-table-header-bg: #6f6f6f;
|
||||
$color-gold: rgb(189, 183, 107);
|
||||
|
|
|
|||
|
|
@ -13,15 +13,70 @@
|
|||
font-style: normal;
|
||||
}
|
||||
|
||||
$srd-font-family: "srd" !default;
|
||||
$srd-font-path: "/fonts" !default;
|
||||
|
||||
$icon-bookmark: "\e900";
|
||||
|
||||
@font-face {
|
||||
font-family: '#{$srd-font-family}';
|
||||
src: url('#{$srd-font-path}/#{$srd-font-family}.eot?u95p4y');
|
||||
src: url('#{$srd-font-path}/#{$srd-font-family}.eot?u95p4y#iefix') format('embedded-opentype'),
|
||||
url('#{$srd-font-path}/#{$srd-font-family}.ttf?u95p4y') format('truetype'),
|
||||
url('#{$srd-font-path}/#{$srd-font-family}.woff?u95p4y') format('woff'),
|
||||
url('#{$srd-font-path}/#{$srd-font-family}.svg?u95p4y##{$srd-font-family}') format('svg');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-display: block;
|
||||
}
|
||||
|
||||
[class^="icon-"], [class*=" icon-"] {
|
||||
/* use !important to prevent issues with browser extensions that change fonts */
|
||||
font-family: '#{$srd-font-family}' !important;
|
||||
speak: never;
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-variant: normal;
|
||||
text-transform: none;
|
||||
line-height: 1;
|
||||
|
||||
/* Better Font Rendering =========== */
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
.icon-bookmark {
|
||||
&:before {
|
||||
content: $icon-bookmark;
|
||||
}
|
||||
}
|
||||
|
||||
.home-logo {
|
||||
max-width: 300px;
|
||||
width: 100%;
|
||||
font-size: 20rem;
|
||||
color: $color-gold;
|
||||
display: block;
|
||||
margin: 1rem;
|
||||
}
|
||||
.breadcrumb-logo {
|
||||
color: $color-gold;
|
||||
}
|
||||
.brand-logo {
|
||||
font-size: 2rem;
|
||||
}
|
||||
.sidebar-logo {
|
||||
color: $color-hero;
|
||||
font-size: 2rem;
|
||||
}
|
||||
.theme--dark {
|
||||
.sidebar-logo {
|
||||
color: $color-gold;
|
||||
}
|
||||
}
|
||||
|
||||
.srd {
|
||||
.content {
|
||||
a {
|
||||
//color: #9b1c47;
|
||||
//color: #4c6477;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||