Skip to content

Commit 5c4ebb7

Browse files
committed
cleanup
1 parent 7f7773d commit 5c4ebb7

File tree

10 files changed

+27
-115
lines changed

10 files changed

+27
-115
lines changed

.scripts/deploy.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,6 @@ deployArtisanCommands() {
3737
deployFrontEnd() {
3838
npm install
3939
npm update
40-
npm run clean
41-
npm run lint
42-
npm run optimize
4340
npm run build
4441
}
4542

public/site.webmanifest

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,8 @@
22
"name": "",
33
"short_name": "",
44
"icons": [
5-
{
6-
"src": "/android-chrome-192x192.png",
7-
"sizes": "192x192",
8-
"type": "image/png"
9-
},
10-
{
11-
"src": "/android-chrome-512x512.png",
12-
"sizes": "512x512",
13-
"type": "image/png"
14-
}
5+
{ "src": "/android-chrome-192x192.png", "sizes": "192x192", "type": "image/png" },
6+
{ "src": "/android-chrome-512x512.png", "sizes": "512x512", "type": "image/png" }
157
],
168
"theme_color": "#ffffff",
179
"background_color": "#ffffff",

resources/js/components/ToggleDarkMode.vue

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,8 @@
1717
class="pointer-events-none inline-block h-[16px] w-[16px] transform rounded-full shadow-lg ring-0 transition duration-200 ease-in-out"
1818
/>
1919

20-
<SunIcon
21-
v-if="!isDarkMode"
22-
class="text-white h-4 w-4"
23-
/>
24-
<MoonIcon
25-
v-if="isDarkMode"
26-
class="absolute h-4 w-4 text-gray-800"
27-
style="left: -1px"
28-
/>
20+
<SunIcon v-if="!isDarkMode" class="text-white h-4 w-4" />
21+
<MoonIcon v-if="isDarkMode" class="absolute h-4 w-4 text-gray-800" style="left: -1px" />
2922
</SwitchComp>
3023
</span>
3124
</template>

resources/js/components/common/AppButton.vue

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,10 @@
55
:disabled="loading || disabled"
66
@click="clickButton"
77
>
8-
<slot
9-
v-if="hasTextSlot"
10-
name="text"
11-
/>
8+
<slot v-if="hasTextSlot" name="text" />
129
<span v-else>
1310
{{ text }}
14-
<span
15-
v-if="icon"
16-
class="fa-fw"
17-
:class="icon"
18-
/>
11+
<span v-if="icon" class="fa-fw" :class="icon" />
1912
{{ textAfter }}
2013
</span>
2114
</button>

resources/js/components/includes/AppFooter.vue

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
<template>
22
<footer :class="footerClass">
3-
<div
4-
class="border-t py-4"
5-
:class="borderClass"
6-
>
3+
<div class="border-t py-4" :class="borderClass">
74
<p class="text-center text-sm leading-6 text-slate-500 dark:text-gray-300">
85
&copy; {{ theYear }} {{ company }}. All rights reserved.
96
</p>

resources/js/components/includes/AppNav.vue

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,13 @@
11
<template>
22
<div class="relative bg-white dark:bg-slate-800 z-10">
3-
<div class="border-b-2 border-gray-100">
4-
<div
5-
class="flex items-center justify-between mx-auto max-w-7xl py-6 px-4 sm:px-6 dark:border-slate-700 md:justify-start md:space-x-10"
6-
>
3+
<div class="border-b-2 border-gray-100 dark:border-slate-700">
4+
<div class="flex items-center justify-between mx-auto max-w-7xl py-6 px-4 sm:px-6 md:justify-start md:space-x-10">
75
<div class="flex justify-start lg:w-0 lg:flex-1">
86
<router-link :to="{ name: 'home' }">
97
<span class="sr-only">{{ appName }}</span>
108
<div>
11-
<img
12-
id="LogoLight"
13-
:alt="appName"
14-
class="show-light text-center ml-auto mr-auto w-10"
15-
>
16-
<img
17-
id="LogoDark"
18-
:alt="appName"
19-
class="show-dark text-center ml-auto mr-auto w-10"
20-
>
9+
<img id="LogoLight" :alt="appName" class="show-light text-center ml-auto mr-auto w-10" />
10+
<img id="LogoDark" :alt="appName" class="show-dark text-center ml-auto mr-auto w-10" />
2111
</div>
2212
</router-link>
2313
</div>

resources/js/components/ipsums/IpsumComponent.vue

Lines changed: 6 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,8 @@
2929
@click.prevent="copyToClipboard()"
3030
>
3131
<template #text>
32-
<ClipboardIcon
33-
v-if="!clipped"
34-
class="ml-2 mr-2 mt-0 h-4 w-4"
35-
/>
36-
<ClipboardDocumentCheckIcon
37-
v-if="clipped"
38-
class="ml-2 mr-2 mt-0 h-4 w-4"
39-
/>
32+
<ClipboardIcon v-if="!clipped" class="ml-2 mr-2 mt-0 h-4 w-4" />
33+
<ClipboardDocumentCheckIcon v-if="clipped" class="ml-2 mr-2 mt-0 h-4 w-4" />
4034

4135
<span class="sr-only">Copy to Clipboard</span>
4236
</template>
@@ -57,7 +51,7 @@
5751
max="100"
5852
placeholder="1"
5953
aria-describedby="ipsum_type"
60-
>
54+
/>
6155

6256
<input
6357
v-if="type == 'words'"
@@ -68,7 +62,7 @@
6862
min="1"
6963
placeholder="1"
7064
aria-describedby="ipsum_type"
71-
>
65+
/>
7266

7367
<div
7468
id="ipsum_type"
@@ -84,15 +78,8 @@
8478
id="ipsum_content"
8579
class="my-3 p-4 pb-0 border border-gray-300 rounded-lg text-left lorem-paragraphs bg-white text-gray-700 dark:bg-gray-900 dark:text-gray-200"
8680
>
87-
<div
88-
id="paragraph"
89-
ref="paragraph"
90-
/>
91-
<div
92-
id="words"
93-
ref="words"
94-
class="mb-4"
95-
/>
81+
<div id="paragraph" ref="paragraph" />
82+
<div id="words" ref="words" class="mb-4" />
9683
</div>
9784
</template>
9885

resources/js/layouts/GuestLayout.vue

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,13 @@
33
<div id="top_border" />
44
<AppNav />
55
<div class="mx-auto w-full max-w-7xl">
6-
<router-view
7-
v-slot="{ Component }"
8-
class="p-6"
9-
>
10-
<transition
11-
name="fade"
12-
mode="out-in"
13-
>
6+
<router-view v-slot="{ Component }" class="p-6">
7+
<transition name="fade" mode="out-in">
148
<component :is="Component" />
159
</transition>
1610
</router-view>
1711
</div>
18-
<AppFooter
19-
class="sticky top-[100vh] w-full"
20-
footer-class="border-slate-900/5 dark:border-slate-700"
21-
/>
12+
<AppFooter class="sticky top-[100vh] w-full" footer-class="border-slate-900/5 dark:border-slate-700" />
2213
</div>
2314
</template>
2415

resources/js/views/errors/NotFound.vue

Lines changed: 5 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -13,37 +13,17 @@
1313
{{ appNotFountText }}
1414
</p>
1515
<router-link :to="{ name: 'home' }">
16-
<AppButton
17-
secondary
18-
text="Go Home"
19-
class="py-4 px-8 w-full lg:w-auto"
20-
/>
16+
<AppButton secondary text="Go Home" class="py-4 px-8 w-full lg:w-auto" />
2117
</router-link>
2218
</div>
2319
</div>
2420
</div>
2521
</div>
2622
<div>
27-
<img
28-
id="mainLight"
29-
:alt="appName"
30-
class="show-light text-center ml-auto mr-auto w-40"
31-
>
32-
<img
33-
id="mainDark"
34-
:alt="appName"
35-
class="show-dark text-center ml-auto mr-auto w-40"
36-
>
37-
<img
38-
id="fourZeroFour"
39-
alt="404"
40-
class="show-dark w-40 mt-3"
41-
>
42-
<img
43-
id="fourZeroFourLight"
44-
alt="404"
45-
class="show-light w-40 mt-3"
46-
>
23+
<img id="mainLight" :alt="appName" class="show-light text-center ml-auto mr-auto w-40" />
24+
<img id="mainDark" :alt="appName" class="show-dark text-center ml-auto mr-auto w-40" />
25+
<img id="fourZeroFour" alt="404" class="show-dark w-40 mt-3" />
26+
<img id="fourZeroFourLight" alt="404" class="show-light w-40 mt-3" />
4727
</div>
4828
</div>
4929
</template>

resources/js/views/home/HomePage.vue

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,8 @@
22
<div class="p-12">
33
<div class="text-center">
44
<div class="mb-5 flex items-center justify-between">
5-
<img
6-
id="mainLight"
7-
:alt="appName"
8-
class="show-light text-center ml-auto mr-auto w-40"
9-
>
10-
<img
11-
id="mainDark"
12-
:alt="appName"
13-
class="show-dark text-center ml-auto mr-auto w-40"
14-
>
5+
<img id="mainLight" :alt="appName" class="show-light text-center ml-auto mr-auto w-40" />
6+
<img id="mainDark" :alt="appName" class="show-dark text-center ml-auto mr-auto w-40" />
157
</div>
168
<h1 class="text-4xl mb-5 quicksand-font text-slate-500 dark:text-slate-300">
179
{{ appName }}

0 commit comments

Comments
 (0)