Change color of map, change size of map on mobile, add favicon
This commit is contained in:
1383
composer.lock
generated
1383
composer.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -215,6 +215,7 @@ return [
|
|||||||
'aliases' => Facade::defaultAliases()->merge([
|
'aliases' => Facade::defaultAliases()->merge([
|
||||||
// 'ExampleClass' => App\Example\ExampleClass::class,
|
// 'ExampleClass' => App\Example\ExampleClass::class,
|
||||||
'GeoIP' => \Torann\GeoIP\Facades\GeoIP::class,
|
'GeoIP' => \Torann\GeoIP\Facades\GeoIP::class,
|
||||||
|
'Vite' => \Illuminate\Support\Facades\Vite::class,
|
||||||
])->toArray(),
|
])->toArray(),
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
"lodash": "^4.17.19",
|
"lodash": "^4.17.19",
|
||||||
"postcss": "^8.4.14",
|
"postcss": "^8.4.14",
|
||||||
"tailwindcss": "^3.1.0",
|
"tailwindcss": "^3.1.0",
|
||||||
"vite": "^2.9.11"
|
"vite": "^2.9.18"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@coreui/vue": "^4.10.2",
|
"@coreui/vue": "^4.10.2",
|
||||||
|
|||||||
BIN
public/images/favicon.png
Normal file
BIN
public/images/favicon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 940 B |
BIN
resources/js/.DS_Store
vendored
BIN
resources/js/.DS_Store
vendored
Binary file not shown.
@@ -53,15 +53,16 @@ const itemCode = ref(null);
|
|||||||
const googlemapbox = ref(null);
|
const googlemapbox = ref(null);
|
||||||
const googlemapchart = ref(null);
|
const googlemapchart = ref(null);
|
||||||
|
|
||||||
const gChartWidth = computed(() => screenWidth.value > 420 ? 400 : (screenWidth.value - 12 - 5));
|
const gChartWidth = computed(() => screenWidth.value > 420 ? 400 : (screenWidth.value - 20 - 5));
|
||||||
const gChartHeight = computed(() => gChartWidth.value == 400 ? 250 : (screenWidth.value *65/100) - 20);
|
const gChartHeight = computed(() => gChartWidth.value == 400 ? 250 : (screenWidth.value *65/100) - 28);
|
||||||
console.log('GCH',screenWidth.value, screenHeight.value, gChartWidth.value,gChartHeight.value);
|
console.log('GCH',screenWidth.value, screenHeight.value, gChartWidth.value,gChartHeight.value);
|
||||||
|
|
||||||
const options = {
|
const options = {
|
||||||
region: 150,
|
region: 150,
|
||||||
colorAxis: {colors: ['#0000ff']},
|
colorAxis: {colors: ['#0000ff']},
|
||||||
backgroundColor: '#81d4fa',
|
backgroundColor: '#81d4fa',
|
||||||
datalessRegionColor: '#f8bbd0',
|
datalessRegionColor: '#ffffff',
|
||||||
|
//datalessRegionColor: '#f8bbd0',
|
||||||
//defaultColor: '#f5f5f5',
|
//defaultColor: '#f5f5f5',
|
||||||
width: gChartWidth.value,
|
width: gChartWidth.value,
|
||||||
height: gChartHeight.value,
|
height: gChartHeight.value,
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ Object.keys(commons).forEach(key => Object.defineProperty(window, key, {
|
|||||||
|
|
||||||
createInertiaApp({
|
createInertiaApp({
|
||||||
title: (title) => `${title} - ${appName}`,
|
title: (title) => `${title} - ${appName}`,
|
||||||
resolve: (name) => resolvePageComponent(`./Pages/${name}.vue`, import.meta.glob('./Pages/**/*.vue')),
|
resolve: (name) => resolvePageComponent(`./Pages/${name}.vue`, import.meta.glob('./Pages/**/*.vue'),import.meta.glob('./assets/**') ),
|
||||||
setup({ el, app, props, plugin }) {
|
setup({ el, app, props, plugin }) {
|
||||||
return createApp({ render: () => h(app, props) })
|
return createApp({ render: () => h(app, props) })
|
||||||
.use(plugin)
|
.use(plugin)
|
||||||
|
|||||||
BIN
resources/js/assets/.DS_Store
vendored
Normal file
BIN
resources/js/assets/.DS_Store
vendored
Normal file
Binary file not shown.
BIN
resources/js/assets/favicon.png
Normal file
BIN
resources/js/assets/favicon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 940 B |
@@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
<!-- Icons -->
|
<!-- Icons -->
|
||||||
<link rel="stylesheet" href="{{ url('/vendors/fontawesome/css/all.min.css') }}">
|
<link rel="stylesheet" href="{{ url('/vendors/fontawesome/css/all.min.css') }}">
|
||||||
|
<link rel="shortcut icon" href="{{ asset('images/favicon.png') }}">
|
||||||
<!-- Scripts -->
|
<!-- Scripts -->
|
||||||
<style>
|
<style>
|
||||||
.gradient {
|
.gradient {
|
||||||
|
|||||||
@@ -16,6 +16,9 @@ export default defineConfig({
|
|||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
|
build: {
|
||||||
|
assetsInlineLimit: 0
|
||||||
|
},
|
||||||
resolve: {
|
resolve: {
|
||||||
dedupe: ["vue"],
|
dedupe: ["vue"],
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user