mirror of
https://github.com/Findus23/lw1.at.git
synced 2024-09-08 02:53:46 +02:00
change icon
This commit is contained in:
parent
e14bd84a93
commit
449e268657
5 changed files with 6936 additions and 8961 deletions
15817
package-lock.json
generated
15817
package-lock.json
generated
File diff suppressed because it is too large
Load diff
34
package.json
34
package.json
|
@ -11,7 +11,6 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"balloon-css": "^1.0.4",
|
||||
"copy-webpack-plugin": "^9.0.1",
|
||||
"highlight.js": "^11.2.0",
|
||||
"markdown-it": "^12.0.4",
|
||||
"mathjax-node-page": "^3.0.1",
|
||||
|
@ -28,38 +27,39 @@
|
|||
"@babel/core": "^7.0.0-beta.40",
|
||||
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
|
||||
"@babel/preset-env": "^7.0.0-beta.40",
|
||||
"@types/compression-webpack-plugin": "^6.0.1",
|
||||
"@types/copy-webpack-plugin": "^8.0.1",
|
||||
"@types/compression-webpack-plugin": "^9.1.1",
|
||||
"@types/copy-webpack-plugin": "^10.1.0",
|
||||
"@types/mini-css-extract-plugin": "^2.2.0",
|
||||
"@types/node": "^16.4.13",
|
||||
"@types/node": "^17.0.14",
|
||||
"@types/webpack": "^5.28.0",
|
||||
"@types/webpack-dev-server": "^3.11.1",
|
||||
"@types/webpack-subresource-integrity": "^1.2.0",
|
||||
"@typescript-eslint/eslint-plugin": "^4.10.0",
|
||||
"@typescript-eslint/parser": "^4.10.0",
|
||||
"@types/webpack-dev-server": "^4.7.2",
|
||||
"@types/webpack-subresource-integrity": "^5.0.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.10.2",
|
||||
"@typescript-eslint/parser": "^5.10.2",
|
||||
"autoprefixer": "^10.0.1",
|
||||
"babel-eslint": "^10.0.1",
|
||||
"babel-loader": "^8.0.0-beta.0",
|
||||
"blurhash": "^1.1.3",
|
||||
"clean-webpack-plugin": "^4.0.0-alpha.0",
|
||||
"compression-webpack-plugin": "^8.0.1",
|
||||
"compression-webpack-plugin": "^9.2.0",
|
||||
"copy-webpack-plugin": "^10.2.4",
|
||||
"cross-env": "^7.0.0",
|
||||
"css-loader": "^6.2.0",
|
||||
"eslint": "^7.16.0",
|
||||
"eslint-loader": "^4.0.2",
|
||||
"eslint": "^8.8.0",
|
||||
"eslint-plugin-html": "^6.0.0",
|
||||
"eslint-plugin-vue": "^7.3.0",
|
||||
"eslint-plugin-vue": "^8.4.0",
|
||||
"eslint-webpack-plugin": "^3.1.1",
|
||||
"file-loader": "^6.0.0",
|
||||
"html-webpack-plugin": "^5.3.2",
|
||||
"image-webpack-loader": "^7.0.1",
|
||||
"image-webpack-loader": "^8.1.0",
|
||||
"js-yaml": "^4.1.0",
|
||||
"license-webpack-plugin": "^2.0.0-alpha.7",
|
||||
"license-webpack-plugin": "^4.0.1",
|
||||
"mini-css-extract-plugin": "^2.2.0",
|
||||
"node-sass": "^6.0.1",
|
||||
"node-sass": "^7.0.1",
|
||||
"postcss-loader": "^6.1.1",
|
||||
"prerender-spa-plugin-next": "^4.1.8",
|
||||
"sass-loader": "^12.1.0",
|
||||
"sharp": "^0.28.3",
|
||||
"sharp": "^0.30.0",
|
||||
"ts-loader": "^9.2.5",
|
||||
"ts-node": "^10.2.0",
|
||||
"typescript": "^4.3.5",
|
||||
|
@ -67,7 +67,7 @@
|
|||
"vue-template-compiler": "^2.5.13",
|
||||
"webpack": "^5.49.0",
|
||||
"webpack-cli": "^4.2.0",
|
||||
"webpack-dev-server": "^3.1.1",
|
||||
"webpack-dev-server": "^4.7.3",
|
||||
"webpack-subresource-integrity": "^5.0.0-rc.1"
|
||||
},
|
||||
"eslintConfig": {
|
||||
|
|
|
@ -62,22 +62,12 @@
|
|||
d="M26.6 49.3L2.4 31.7c-.3-.2-.6-.6-.7-1-.1-.4-.1-.8 0-1.2L4.5 21l22.1 28.3zM11.9 3.9L17.4 21H4.5L10 3.9c.1-.4.5-.6.9-.6.6-.1.9.2 1 .6zM17.4 21h18.4l-9.2 28.3L17.4 21zm34.2 8.6c.1.4.1.8 0 1.2-.1.4-.4.7-.7 1L26.6 49.3 48.7 21l2.9 8.6zM48.7 21H35.9l5.5-17.1c.1-.4.5-.6.9-.6.5 0 .8.2.9.6L48.7 21z"></path>
|
||||
</svg>
|
||||
</a>
|
||||
<a me noopener href="https://guides.lw1.at/" target="_blank" :aria-label="guidesText" data-balloon-pos="up">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 230.39711 218.6199">
|
||||
<!-- From https://www.bookstackapp.com/ -->
|
||||
<a rel="me noopener" href="https://guides.lw1.at/" target="_blank" :aria-label="guidesText" data-balloon-pos="up">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-journal-text" viewBox="0 0 16 16">
|
||||
<title>{{guidesText}}</title>
|
||||
<g id="layer1" stroke-linejoin="round" fill-rule="evenodd" transform="translate(-245.27 -58.434)"
|
||||
stroke="currentColor" stroke-width="13" fill="white">
|
||||
<g stroke-linecap="round">
|
||||
<path d="m343.79 238.6 128.88-74.409-92.058-53.15-128.88 74.409z"></path>
|
||||
<path d="m251.73 185.45v21.26l92.058 53.15 128.88-74.409v-21.26"></path>
|
||||
<path d="m343.79 274.03-92.058-53.15s-7.5-16.918 0-28.346l92.058 53.15 128.88-74.409v28.346l-128.88 74.409"></path>
|
||||
<path d="m343.79 188.99 128.88-74.41-92.06-53.146-128.88 74.406z"></path>
|
||||
<path d="m343.79 188.99 128.88-74.409 0.00001 28.346-128.88 74.409-92.058-53.15s-6.0714-17.632 0-28.346z"></path>
|
||||
<path d="m343.79 245.69-92.058-53.15s-7.5-16.918 0-28.346l92.058 53.15 128.88-74.409-0.00001 28.346-128.88 74.409"></path>
|
||||
</g>
|
||||
<path d="m402.09 73.836-55.234 31.89 21.48 1.7716 3.0686 12.402 55.235-31.89z"></path>
|
||||
</g>
|
||||
<path fill="currentColor" d="M5 10.5a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5zm0-2a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5zm0-2a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5zm0-2a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5z"/>
|
||||
<path fill="currentColor" d="M3 0h10a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2v-1h1v1a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v1H1V2a2 2 0 0 1 2-2z"/>
|
||||
<path fill="currentColor" d="M1 5v-.5a.5.5 0 0 1 1 0V5h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1zm0 3v-.5a.5.5 0 0 1 1 0V8h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1zm0 3v-.5a.5.5 0 0 1 1 0v.5h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1z"/>
|
||||
</svg>
|
||||
</a>
|
||||
<a rel="me noopener" href="mailto:hi@lw1.at" target="_blank" :aria-label="emailText" data-balloon-pos="up">
|
||||
|
@ -158,7 +148,8 @@ export default Vue.extend({
|
|||
}
|
||||
|
||||
a:hover svg {
|
||||
outline: 1px solid $consoleBackground;
|
||||
color: $consoleFocus;
|
||||
outline: 1px solid $consoleFocus;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -3,6 +3,7 @@ import * as webpack from 'webpack';
|
|||
import HtmlWebpackPlugin from "html-webpack-plugin";
|
||||
import MiniCssExtractPlugin from "mini-css-extract-plugin";
|
||||
import {VueLoaderPlugin} from "vue-loader";
|
||||
import {default as ESLintPlugin} from "eslint-webpack-plugin";
|
||||
|
||||
const commitHash = require('child_process').execSync('git rev-parse --short HEAD').toString();
|
||||
|
||||
|
@ -15,7 +16,8 @@ const config: webpack.Configuration = {
|
|||
filename: "[name].[contenthash].js",
|
||||
chunkFilename: "[name].[contenthash].js",
|
||||
path: path.resolve(__dirname, "dist"),
|
||||
crossOriginLoading: "anonymous"
|
||||
crossOriginLoading: "anonymous",
|
||||
assetModuleFilename:'[folder]/[name].[ext]?hash=[contenthash]'
|
||||
},
|
||||
resolve: {
|
||||
extensions: [".ts", ".tsx", ".js", ".json"]
|
||||
|
@ -24,6 +26,7 @@ const config: webpack.Configuration = {
|
|||
new HtmlWebpackPlugin({
|
||||
template: "my-index.ejs",
|
||||
}),
|
||||
new ESLintPlugin(),
|
||||
// new webpack.IgnorePlugin(/^jquery/),
|
||||
new webpack.DefinePlugin({
|
||||
"process.env": {
|
||||
|
@ -38,20 +41,6 @@ const config: webpack.Configuration = {
|
|||
],
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
test: /\.(ts|tsx|vue)$/,
|
||||
enforce: 'pre',
|
||||
use: [
|
||||
{
|
||||
options: {
|
||||
eslintPath: require.resolve('eslint'),
|
||||
|
||||
},
|
||||
loader: require.resolve('eslint-loader'),
|
||||
},
|
||||
],
|
||||
exclude: /node_modules/,
|
||||
},
|
||||
{
|
||||
test: /\.vue$/,
|
||||
loader: 'vue-loader',
|
||||
|
@ -72,7 +61,7 @@ const config: webpack.Configuration = {
|
|||
exclude: /node_modules/,
|
||||
options: {
|
||||
appendTsSuffixTo: [/\.vue$/],
|
||||
transpileOnly:true
|
||||
transpileOnly: true
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
@ -8,8 +8,6 @@ const config = merge(common, {
|
|||
devtool: "eval-cheap-source-map",
|
||||
devServer: {
|
||||
historyApiFallback: true,
|
||||
noInfo: true,
|
||||
overlay: true
|
||||
},
|
||||
plugins: [
|
||||
new webpack.HotModuleReplacementPlugin()
|
||||
|
|
Loading…
Reference in a new issue