diff --git a/feature/fixes/.htaccess b/feature/fixes/.htaccess new file mode 100644 index 00000000..680e1a5e --- /dev/null +++ b/feature/fixes/.htaccess @@ -0,0 +1,16 @@ +RewriteEngine on +RewriteBase / + +# do not do anything for already existing files +RewriteCond %{REQUEST_FILENAME} -f [OR] +RewriteCond %{REQUEST_FILENAME} -l [OR] +RewriteCond %{REQUEST_FILENAME} -d +RewriteRule (.*) - [L] + +# if request is no valid file NOR directory +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +# if static asset do not do anything +RewriteRule (.*)(css|js|html|png|jpe?g|gif|bmp|ico|json|csv|otf|eot|svg|svgz|ttf|woff|woff2|ijmap|pdf|tif|map) - [NC,L,R=404] +# everything else should be redirected to /index.html so it can be routed by it +RewriteRule (.*) /index.html [L] diff --git a/feature/fixes/asset-manifest.json b/feature/fixes/asset-manifest.json new file mode 100644 index 00000000..2672f02a --- /dev/null +++ b/feature/fixes/asset-manifest.json @@ -0,0 +1,13 @@ +{ + "files": { + "main.css": "/shlink-web-client/feature/fixes/static/css/main.09af7d82.css", + "main.js": "/shlink-web-client/feature/fixes/static/js/main.e2e6f040.js", + "index.html": "/shlink-web-client/feature/fixes/index.html", + "main.09af7d82.css.map": "/shlink-web-client/feature/fixes/static/css/main.09af7d82.css.map", + "main.e2e6f040.js.map": "/shlink-web-client/feature/fixes/static/js/main.e2e6f040.js.map" + }, + "entrypoints": [ + "static/css/main.09af7d82.css", + "static/js/main.e2e6f040.js" + ] +} \ No newline at end of file diff --git a/feature/fixes/favicon.gif b/feature/fixes/favicon.gif new file mode 100644 index 00000000..dcf57c87 Binary files /dev/null and b/feature/fixes/favicon.gif differ diff --git a/feature/fixes/favicon.ico b/feature/fixes/favicon.ico new file mode 100644 index 00000000..25764c30 Binary files /dev/null and b/feature/fixes/favicon.ico differ diff --git a/feature/fixes/favicon.png b/feature/fixes/favicon.png new file mode 100644 index 00000000..25764c30 Binary files /dev/null and b/feature/fixes/favicon.png differ diff --git a/feature/fixes/favicon.svg b/feature/fixes/favicon.svg new file mode 100644 index 00000000..5a085bcb --- /dev/null +++ b/feature/fixes/favicon.svg @@ -0,0 +1 @@ + diff --git a/feature/fixes/icons/icon-1024x1024.png b/feature/fixes/icons/icon-1024x1024.png new file mode 100644 index 00000000..e468ac0a Binary files /dev/null and b/feature/fixes/icons/icon-1024x1024.png differ diff --git a/feature/fixes/icons/icon-114x114.png b/feature/fixes/icons/icon-114x114.png new file mode 100644 index 00000000..fa813ad5 Binary files /dev/null and b/feature/fixes/icons/icon-114x114.png differ diff --git a/feature/fixes/icons/icon-120x120.png b/feature/fixes/icons/icon-120x120.png new file mode 100644 index 00000000..5e84efc7 Binary files /dev/null and b/feature/fixes/icons/icon-120x120.png differ diff --git a/feature/fixes/icons/icon-128x128.png b/feature/fixes/icons/icon-128x128.png new file mode 100644 index 00000000..25764c30 Binary files /dev/null and b/feature/fixes/icons/icon-128x128.png differ diff --git a/feature/fixes/icons/icon-144x144.png b/feature/fixes/icons/icon-144x144.png new file mode 100644 index 00000000..5ca0d1e6 Binary files /dev/null and b/feature/fixes/icons/icon-144x144.png differ diff --git a/feature/fixes/icons/icon-150x150.png b/feature/fixes/icons/icon-150x150.png new file mode 100644 index 00000000..491fcba7 Binary files /dev/null and b/feature/fixes/icons/icon-150x150.png differ diff --git a/feature/fixes/icons/icon-152x152.png b/feature/fixes/icons/icon-152x152.png new file mode 100644 index 00000000..e2f866af Binary files /dev/null and b/feature/fixes/icons/icon-152x152.png differ diff --git a/feature/fixes/icons/icon-160x160.png b/feature/fixes/icons/icon-160x160.png new file mode 100644 index 00000000..b34653a9 Binary files /dev/null and b/feature/fixes/icons/icon-160x160.png differ diff --git a/feature/fixes/icons/icon-167x167.png b/feature/fixes/icons/icon-167x167.png new file mode 100644 index 00000000..d8720d36 Binary files /dev/null and b/feature/fixes/icons/icon-167x167.png differ diff --git a/feature/fixes/icons/icon-16x16.png b/feature/fixes/icons/icon-16x16.png new file mode 100644 index 00000000..81457cbf Binary files /dev/null and b/feature/fixes/icons/icon-16x16.png differ diff --git a/feature/fixes/icons/icon-180x180.png b/feature/fixes/icons/icon-180x180.png new file mode 100644 index 00000000..9b7a9547 Binary files /dev/null and b/feature/fixes/icons/icon-180x180.png differ diff --git a/feature/fixes/icons/icon-192x192.png b/feature/fixes/icons/icon-192x192.png new file mode 100644 index 00000000..36a0ac72 Binary files /dev/null and b/feature/fixes/icons/icon-192x192.png differ diff --git a/feature/fixes/icons/icon-196x196.png b/feature/fixes/icons/icon-196x196.png new file mode 100644 index 00000000..48338127 Binary files /dev/null and b/feature/fixes/icons/icon-196x196.png differ diff --git a/feature/fixes/icons/icon-228x228.png b/feature/fixes/icons/icon-228x228.png new file mode 100644 index 00000000..0edc6b54 Binary files /dev/null and b/feature/fixes/icons/icon-228x228.png differ diff --git a/feature/fixes/icons/icon-24x24.png b/feature/fixes/icons/icon-24x24.png new file mode 100644 index 00000000..0fba91d4 Binary files /dev/null and b/feature/fixes/icons/icon-24x24.png differ diff --git a/feature/fixes/icons/icon-256x256.png b/feature/fixes/icons/icon-256x256.png new file mode 100644 index 00000000..ff7c3d12 Binary files /dev/null and b/feature/fixes/icons/icon-256x256.png differ diff --git a/feature/fixes/icons/icon-310x310.png b/feature/fixes/icons/icon-310x310.png new file mode 100644 index 00000000..1a84f69d Binary files /dev/null and b/feature/fixes/icons/icon-310x310.png differ diff --git a/feature/fixes/icons/icon-32x32.png b/feature/fixes/icons/icon-32x32.png new file mode 100644 index 00000000..6255cf37 Binary files /dev/null and b/feature/fixes/icons/icon-32x32.png differ diff --git a/feature/fixes/icons/icon-384x384.png b/feature/fixes/icons/icon-384x384.png new file mode 100644 index 00000000..12f79c11 Binary files /dev/null and b/feature/fixes/icons/icon-384x384.png differ diff --git a/feature/fixes/icons/icon-40x40.png b/feature/fixes/icons/icon-40x40.png new file mode 100644 index 00000000..1718864c Binary files /dev/null and b/feature/fixes/icons/icon-40x40.png differ diff --git a/feature/fixes/icons/icon-48x48.png b/feature/fixes/icons/icon-48x48.png new file mode 100644 index 00000000..b94d23d8 Binary files /dev/null and b/feature/fixes/icons/icon-48x48.png differ diff --git a/feature/fixes/icons/icon-512x512.png b/feature/fixes/icons/icon-512x512.png new file mode 100644 index 00000000..5d3ee53a Binary files /dev/null and b/feature/fixes/icons/icon-512x512.png differ diff --git a/feature/fixes/icons/icon-60x60.png b/feature/fixes/icons/icon-60x60.png new file mode 100644 index 00000000..80ac238d Binary files /dev/null and b/feature/fixes/icons/icon-60x60.png differ diff --git a/feature/fixes/icons/icon-64x64.png b/feature/fixes/icons/icon-64x64.png new file mode 100644 index 00000000..86481ca9 Binary files /dev/null and b/feature/fixes/icons/icon-64x64.png differ diff --git a/feature/fixes/icons/icon-72x72.png b/feature/fixes/icons/icon-72x72.png new file mode 100644 index 00000000..60c1537f Binary files /dev/null and b/feature/fixes/icons/icon-72x72.png differ diff --git a/feature/fixes/icons/icon-76x76.png b/feature/fixes/icons/icon-76x76.png new file mode 100644 index 00000000..91a8ea6b Binary files /dev/null and b/feature/fixes/icons/icon-76x76.png differ diff --git a/feature/fixes/icons/icon-96x96.png b/feature/fixes/icons/icon-96x96.png new file mode 100644 index 00000000..7701826c Binary files /dev/null and b/feature/fixes/icons/icon-96x96.png differ diff --git a/feature/fixes/index.html b/feature/fixes/index.html new file mode 100644 index 00000000..403d2f0c --- /dev/null +++ b/feature/fixes/index.html @@ -0,0 +1 @@ +
`s get reset. However, we also reset the\n// bottom margin to use `rem` units instead of `em`.\n\np {\n margin-top: 0;\n margin-bottom: $paragraph-margin-bottom;\n}\n\n\n// Abbreviations\n//\n// 1. Add the correct text decoration in Chrome, Edge, Opera, and Safari.\n// 2. Add explicit cursor to indicate changed behavior.\n// 3. Prevent the text-decoration to be skipped.\n\nabbr[title] {\n text-decoration: underline dotted; // 1\n cursor: help; // 2\n text-decoration-skip-ink: none; // 3\n}\n\n\n// Address\n\naddress {\n margin-bottom: 1rem;\n font-style: normal;\n line-height: inherit;\n}\n\n\n// Lists\n\nol,\nul {\n padding-left: 2rem;\n}\n\nol,\nul,\ndl {\n margin-top: 0;\n margin-bottom: 1rem;\n}\n\nol ol,\nul ul,\nol ul,\nul ol {\n margin-bottom: 0;\n}\n\ndt {\n font-weight: $dt-font-weight;\n}\n\n// 1. Undo browser default\n\ndd {\n margin-bottom: .5rem;\n margin-left: 0; // 1\n}\n\n\n// Blockquote\n\nblockquote {\n margin: 0 0 1rem;\n}\n\n\n// Strong\n//\n// Add the correct font weight in Chrome, Edge, and Safari\n\nb,\nstrong {\n font-weight: $font-weight-bolder;\n}\n\n\n// Small\n//\n// Add the correct font size in all browsers\n\nsmall {\n @include font-size($small-font-size);\n}\n\n\n// Mark\n\nmark {\n padding: $mark-padding;\n background-color: var(--#{$prefix}highlight-bg);\n}\n\n\n// Sub and Sup\n//\n// Prevent `sub` and `sup` elements from affecting the line height in\n// all browsers.\n\nsub,\nsup {\n position: relative;\n @include font-size($sub-sup-font-size);\n line-height: 0;\n vertical-align: baseline;\n}\n\nsub { bottom: -.25em; }\nsup { top: -.5em; }\n\n\n// Links\n\na {\n color: var(--#{$prefix}link-color);\n text-decoration: $link-decoration;\n\n &:hover {\n color: var(--#{$prefix}link-hover-color);\n text-decoration: $link-hover-decoration;\n }\n}\n\n// And undo these styles for placeholder links/named anchors (without href).\n// It would be more straightforward to just use a[href] in previous block, but that\n// causes specificity issues in many other styles that are too complex to fix.\n// See https://github.com/twbs/bootstrap/issues/19402\n\na:not([href]):not([class]) {\n &,\n &:hover {\n color: inherit;\n text-decoration: none;\n }\n}\n\n\n// Code\n\npre,\ncode,\nkbd,\nsamp {\n font-family: $font-family-code;\n @include font-size(1em); // Correct the odd `em` font sizing in all browsers.\n}\n\n// 1. Remove browser default top margin\n// 2. Reset browser default of `1em` to use `rem`s\n// 3. Don't allow content to break outside\n\npre {\n display: block;\n margin-top: 0; // 1\n margin-bottom: 1rem; // 2\n overflow: auto; // 3\n @include font-size($code-font-size);\n color: $pre-color;\n\n // Account for some code outputs that place code tags in pre tags\n code {\n @include font-size(inherit);\n color: inherit;\n word-break: normal;\n }\n}\n\ncode {\n @include font-size($code-font-size);\n color: var(--#{$prefix}code-color);\n word-wrap: break-word;\n\n // Streamline the style when inside anchors to avoid broken underline and more\n a > & {\n color: inherit;\n }\n}\n\nkbd {\n padding: $kbd-padding-y $kbd-padding-x;\n @include font-size($kbd-font-size);\n color: $kbd-color;\n background-color: $kbd-bg;\n @include border-radius($border-radius-sm);\n\n kbd {\n padding: 0;\n @include font-size(1em);\n font-weight: $nested-kbd-font-weight;\n }\n}\n\n\n// Figures\n//\n// Apply a consistent margin strategy (matches our type styles).\n\nfigure {\n margin: 0 0 1rem;\n}\n\n\n// Images and content\n\nimg,\nsvg {\n vertical-align: middle;\n}\n\n\n// Tables\n//\n// Prevent double borders\n\ntable {\n caption-side: bottom;\n border-collapse: collapse;\n}\n\ncaption {\n padding-top: $table-cell-padding-y;\n padding-bottom: $table-cell-padding-y;\n color: $table-caption-color;\n text-align: left;\n}\n\n// 1. Removes font-weight bold by inheriting\n// 2. Matches default `