Compare commits

..

No commits in common. "3b6285a3593c9214bb2369fe01cfa0bb2b4b41eb" and "4f6935a8a3f1099014413f1136d158a6da3498fd" have entirely different histories.

6 changed files with 22 additions and 72 deletions

View File

@ -5,7 +5,6 @@
"color_scheme": "Packages/Material Theme/schemes/Material-Theme.tmTheme", "color_scheme": "Packages/Material Theme/schemes/Material-Theme.tmTheme",
"control_character_style": "names", "control_character_style": "names",
"copy_with_empty_selection": false, "copy_with_empty_selection": false,
"default_line_ending": "unix",
"fallback_encoding": "UTF-8", "fallback_encoding": "UTF-8",
"folder_exclude_patterns": "folder_exclude_patterns":
[ [
@ -25,16 +24,13 @@
[ [
"dlig" "dlig"
], ],
"font_size": 9,
"git_diff_target": "head",
"hardware_acceleration": "opengl", "hardware_acceleration": "opengl",
"highlight_modified_tabs": true, "highlight_modified_tabs": true,
"ignored_packages": "ignored_packages":
[ [
"Vintage", "Vintage",
], ],
"index_workers": 4, "line_padding_bottom": 2,
"line_padding_bottom": 3,
"line_padding_top": 2, "line_padding_top": 2,
"material_theme_accent_cyan": true, "material_theme_accent_cyan": true,
"material_theme_bold_tab": true, "material_theme_bold_tab": true,
@ -44,4 +40,5 @@
"show_line_endings": true, "show_line_endings": true,
"theme": "Material-Theme.sublime-theme", "theme": "Material-Theme.sublime-theme",
"translate_tabs_to_spaces": true, "translate_tabs_to_spaces": true,
"font_size": 9,
} }

View File

@ -5,9 +5,7 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="csrf-token" content="{{ csrf_token() }}">
<!-- Set the base URL for all relative URLs within the document -->
<base href="{{ url('/') }}">
<meta name="robots" content="index,follow"> <meta name="robots" content="index,follow">
<meta name="googlebot" content="index,follow"> <meta name="googlebot" content="index,follow">
@ -21,15 +19,14 @@
<meta name="rating" content="General"> <meta name="rating" content="General">
<meta name="url" content="{{ url('/') }}"> <meta name="url" content="{{ url('/') }}">
<meta name="subject" content="{{ \$pageSubject ?? "your website's subject" }}""> <meta name="subject" content="{{$pageSubject ?? "your website's subject" }}"">
<meta name="description" content="{{ \$pageDescription ?? 'A description of the page' }}"> <meta name="description" content="{{ $pageDescription ?? 'A description of the page' }}">
<title>{{ config('app.name', 'Laravel') }}</title> <title>{{ config('app.name', 'Laravel') }}</title>
<meta name="application-name" content="{{ config('app.name', 'Laravel') }}"> <meta name="application-name" content="Application Name">
<!-- Privacy --> <!-- Privacy -->
<meta name="twitter:dnt" content="on"> <meta name="twitter:dnt" content="on">
<meta name="pinterest" content="nopin" description="No pinning allowed.">
<!-- analytics --> <!-- analytics -->
<!-- --> <!-- -->
@ -51,25 +48,23 @@
<link href="{{ url('fonts/fontfam/font.woff2') }}" rel="preload" as="font" type="font/woff2" crossorigin="anonymous"> <link href="{{ url('fonts/fontfam/font.woff2') }}" rel="preload" as="font" type="font/woff2" crossorigin="anonymous">
<!-- Styles --> <!-- Styles -->
<link href="{{ mix('/css/app.css') }}" rel="stylesheet" media="all" integrity="{{ env('INTEGRITY_HASH_APP_CSS') }}"> <link href="{{ mix('css/app.css') }}" rel="stylesheet" media="all" integrity="{{ env('INTEGRITY_HASH_APP_CSS') }}">
@yield('css') @yield('css')
<!-- Scripts --> <!-- Scripts -->
<script> <script>
if (localStorage.theme === "dark" || (!("theme" in localStorage) && window.matchMedia("(prefers-color-scheme: dark)").matches)) { if (localStorage.theme === 'dark' || (!('theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
document.documentElement.classList.add("dark"); localStorage.theme = "dark"; document.documentElement.classList.remove('light')
} else { document.documentElement.classList.add('dark')
document.documentElement.classList.remove("dark"); localStorage.theme = "light";
} }
</script> </script>
@routes @routes
<script src="{{ mix('/js/app.js') }}" integrity="{{ env('INTEGRITY_HASH_APP_JS') }}" defer></script> <script src="{{ mix('js/app.js') }}" integrity="{{ env('INTEGRITY_HASH_APP_JS') }}" defer></script>
@inertiaHead @inertiaHead
</head> </head>
<body class="font-sans antialiased"> <body class="font-sans antialiased">
@inertia @inertia
</body> </body>

View File

@ -8,26 +8,24 @@
docker-compose.override.yml docker-compose.override.yml
Homestead.json Homestead.json
Homestead.yaml Homestead.yaml
auth.json
npm-debug.log npm-debug.log
yarn-error.log yarn-error.log
/storage/*.key /storage/*.key
# Directories # Directories
/node_modules /node_modules
/public/build
/public/hot /public/hot
/public/storage /public/storage
/vendor /vendor
### Editor Specific ### Editor Specific
# Files # Files
/*.sublime-project ${1:*}.sublime-project
/*.sublime-workspace ${1:*}.sublime-workspace
# Directories # Directories
/.idea .idea
/.vscode .vscode
### System Specific ### System Specific
# Files # Files

View File

@ -6,9 +6,6 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Set the base URL for all relative URLs within the document -->
<base href="https://example.com/">
<meta name="robots" content="index,follow"> <meta name="robots" content="index,follow">
<meta name="googlebot" content="index,follow"> <meta name="googlebot" content="index,follow">
@ -28,7 +25,6 @@
<!-- Privacy --> <!-- Privacy -->
<meta name="twitter:dnt" content="on"> <meta name="twitter:dnt" content="on">
<meta name="pinterest" content="nopin" description="No pinning allowed.">
<!-- analytics --> <!-- analytics -->
<!-- --> <!-- -->
@ -66,21 +62,14 @@
<link href="https://example.com/css/print.css" rel="stylesheet" media="print"> <link href="https://example.com/css/print.css" rel="stylesheet" media="print">
<!-- JS that must be executed before the document is loaded --> <!-- JS that must be executed before the document is loaded -->
<script>
if (localStorage.theme === "dark" || (!("theme" in localStorage) && window.matchMedia("(prefers-color-scheme: dark)").matches)) {
document.documentElement.classList.add("dark"); localStorage.theme = "dark";
} else {
document.documentElement.classList.remove("dark"); localStorage.theme = "light";
}
</script>
<script src="https://example.com/js/vendor/axios.min.js" defer></script> <script src="https://example.com/js/vendor/axios.min.js" defer></script>
<script src="https://example.com/js/vendor/vue.min.js" defer></script> <script src="https://example.com/js/vendor/vue.min.js" defer></script>
<script src="https://example.com/js/app.js" defer></script> <script src="https://example.com/js/app.js" defer></script>
<!-- -->
</head> </head>
<body class="font-sans antialiased"> <body class="font-sans antialiased">
<div id="app" class="min-h-screen bg-neutral-100"> <div id="app" class="min-h-screen bg-neutral-100">
<!-- content here --> <!-- -->
</div> </div>
</body> </body>
</html> </html>

View File

@ -180,16 +180,9 @@ protected function attrName(): Attribute
| |
*/ */
/**
* Something relationship.
*
* @since 1.0.0
*
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
*/
public function something(): BelongsTo public function something(): BelongsTo
{ {
return \$this->belongsTo( return $this->belongsTo(
related: Something::class, related: Something::class,
foreignKey: 'something_id', foreignKey: 'something_id',
); );

View File

@ -1,56 +1,34 @@
<snippet> <snippet>
<content><![CDATA[ <content><![CDATA[
<script setup> <script setup>
import { useAttrs, useSlots, reactive, ref, computed, watch, onBeforeMount, onMounted, onBeforeUpdate, onBeforeUnmount, onUnmounted, provide, inject } from 'vue' import { useAttrs, reactive, ref, computed, watch, onBeforeMount, onMounted, provide, inject } from 'vue'
import { Head, Link, useForm, usePage } from '@inertiajs/inertia-vue3' import { useForm, usePage } from '@inertiajs/inertia-vue3'
import AppLayout from '@/Layouts/AppLayout.vue' import AppLayout from '@/Layouts/AppLayout.vue'
const emit = defineEmits([]) const emit = defineEmits([])
const attrs = useAttrs() const attrs = useAttrs()
const slots = useSlots()
const props = defineProps({}) const props = defineProps({})
// variables
// computed properties // computed properties
// watchers // watchers
// lifecycle hooks // lifecycle hooks
onBeforeMount(() => {
//
})
onMounted(() => {
//
})
onBeforeUpdate(() => {
//
})
onBeforeUnmount(() => {
//
})
onUnmounted(() => {
//
})
// methods // methods
</script> </script>
<template> <template>
<AppLayout title="${1:TITLE}"> <app-layout title="${1:TITLE}">
<template #header>${1:TITLE}</template> <template #header>${1:TITLE}</template>
<div class="col-span-6"> <div class="col-span-6">
<!-- content goes here --> <!-- content goes here -->
</div> </div>
</AppLayout> </app-layout>
</template> </template>
]]></content> ]]></content>