Merge pull request #817 from jonnybarnes/develop

MTM Remove Mapbox links
This commit is contained in:
Jonny Barnes 2023-05-04 18:49:21 +01:00 committed by GitHub
commit 9383ed8d0b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 1125 additions and 1355 deletions

601
composer.lock generated

File diff suppressed because it is too large Load diff

1682
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -5,29 +5,29 @@
"repository": "https://github.com/jonnybarnes/jonnybarnes.uk",
"license": "CC0-1.0",
"devDependencies": {
"@babel/core": "^7.21.4",
"@babel/preset-env": "^7.21.4",
"@babel/core": "^7.21.8",
"@babel/preset-env": "^7.21.5",
"@csstools/postcss-oklab-function": "^2.2.1",
"autoprefixer": "^10.4.14",
"babel-loader": "^9.1.2",
"browserlist": "^1.0.1",
"compression-webpack-plugin": "^10.0.0",
"css-loader": "^6.7.3",
"cssnano": "^6.0.0",
"eslint": "^8.38.0",
"cssnano": "^6.0.1",
"eslint": "^8.39.0",
"eslint-webpack-plugin": "^4.0.1",
"mini-css-extract-plugin": "^2.7.5",
"postcss": "^8.4.21",
"postcss": "^8.4.23",
"postcss-combine-duplicated-selectors": "^10.0.2",
"postcss-combine-media-query": "^1.0.1",
"postcss-import": "^15.1.0",
"postcss-loader": "^7.2.4",
"postcss-loader": "^7.3.0",
"postcss-nesting": "^11.2.2",
"stylelint": "^15.4.0",
"stylelint-config-standard": "^32.0.0",
"stylelint": "^15.6.1",
"stylelint-config-standard": "^33.0.0",
"stylelint-webpack-plugin": "^4.1.1",
"webpack": "^5.78.0",
"webpack-cli": "^5.0.1"
"webpack": "^5.82.0",
"webpack-cli": "^5.0.2"
},
"scripts": {
"dev": "webpack",

View file

@ -31,8 +31,3 @@
</div>
</form>
@stop
@section('scripts')
@include('templates.mapbox-links')
<script src="/assets/js/newplace.js"></script>
@stop

View file

@ -141,8 +141,3 @@
<a href="/admin/places/{{ $place->id }}/merge">Merge with another place?</a>
</p>
@stop
@section('scripts')
<script src="/assets/js/places.js"></script>
<link rel="stylesheet" href="/assets/frontend/mapbox-gl.css">
@stop

View file

@ -13,7 +13,3 @@
</div>
{!! $notes->render() !!}
@stop
@section('scripts')
@include('templates.mapbox-links')
@stop

View file

@ -50,5 +50,4 @@
@section('scripts')
<link rel="stylesheet" href="/assets/highlight/zenburn.css">
@include('templates.mapbox-links')
@stop

View file

@ -10,7 +10,3 @@
<p class="latlnginfo">Latitude: <span class="p-latitude">{{ $place->latitude }}</span>, longitude: <span class="p-longitude">{{ $place->longitude }}</span></p>
</div>
@stop
@section('scripts')
@include('templates.mapbox-links')
@stop

View file

@ -1,12 +0,0 @@
<link
rel="stylesheet"
href="https://api.tiles.mapbox.com/mapbox-gl-js/v0.54.0/mapbox-gl.css"
integrity="sha384-PYw71wfjazx+zrtu+VUANG9IUt/6zSXgC5ZXC+u0BIIND+7Whnehc/w3uYV+HxDY"
crossorigin="anonymous"
>
<script
src="https://api.tiles.mapbox.com/mapbox-gl-js/v0.54.0/mapbox-gl.js"
integrity="sha384-1Iccp/Bs+CQID7AAwqG8UY72KSTYd2t9KFa5gY/4QPW1W6EfLHisdFg4Xvc8HwMa"
crossorigin="anonymous"
defer
></script>