Skip to content

Commit 8ad3144

Browse files
committed
update support page banner
1 parent f9594b8 commit 8ad3144

File tree

2 files changed

+86
-64
lines changed

2 files changed

+86
-64
lines changed

README.md

Lines changed: 63 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -204,10 +204,25 @@ LaravelSpa
204204
│   ├── dependabot.yml
205205
│   ├── labeler.yml
206206
│   └── workflows
207+
│   ├── build-changelog.yml
208+
│   ├── codacy.yml
209+
│   ├── codeql.yml
210+
│   ├── dependency-review.yml
211+
│   ├── deploy.yml
212+
│   ├── gitguardian.yml
213+
│   ├── greetings.yml
214+
│   ├── labeler.yml
215+
│   ├── laravel.yml
216+
│   ├── node.js.yml
217+
│   ├── php.yml
218+
│   ├── sentry.yml
219+
│   └── stale.yml
207220
├── .gitignore
208221
├── .prettierignore
222+
├── .prettierrc.json
209223
├── .scripts
210224
│   └── deploy.sh
225+
├── .styleci.yml
211226
├── LICENSE
212227
├── README.md
213228
├── SECURITY.md
@@ -358,10 +373,11 @@ LaravelSpa
358373
├── artisan
359374
├── bootstrap
360375
│   ├── app.php
361-
│   └── cache
362-
│   ├── .gitignore
363-
│   ├── packages.php
364-
│   └── services.php
376+
│   ├── cache
377+
│   │   ├── .gitignore
378+
│   │   ├── packages.php
379+
│   │   └── services.php
380+
│   └── ssr
365381
├── composer.json
366382
├── composer.lock
367383
├── config
@@ -430,6 +446,7 @@ LaravelSpa
430446
│   ├── PermissionsTableSeeder.php
431447
│   ├── RolesTableSeeder.php
432448
│   └── UsersTableSeeder.php
449+
├── eslint.config.js
433450
├── lang
434451
│   └── en
435452
│   ├── auth.php
@@ -442,7 +459,6 @@ LaravelSpa
442459
├── phpunit.xml
443460
├── postcss.config.js
444461
├── prettier.config.js
445-
├── prettierrc.json
446462
├── public
447463
│   ├── .htaccess
448464
│   ├── android-chrome-192x192.png
@@ -524,11 +540,10 @@ LaravelSpa
524540
│   │   ├── components
525541
│   │   │   ├── LocaleSwitcher.vue
526542
│   │   │   ├── ToggleDarkMode.vue
527-
│   │   │   ├── account
528543
│   │   │   ├── admin
529-
│   │   │   │   ├── Create.vue
530-
│   │   │   │   ├── Edit.vue
531-
│   │   │   │   └── Index.vue
544+
│   │   │   │   ├── CreateComp.vue
545+
│   │   │   │   ├── EditComp.vue
546+
│   │   │   │   └── IndexComp.vue
532547
│   │   │   ├── auth
533548
│   │   │   │   └── SocialiteLogins.vue
534549
│   │   │   ├── common
@@ -541,16 +556,16 @@ LaravelSpa
541556
│   │   │   │   ├── CKEditorComponent.vue
542557
│   │   │   │   ├── CircleSvg.vue
543558
│   │   │   │   ├── DropZone.vue
544-
│   │   │   │   ├── Errors.vue
559+
│   │   │   │   ├── ErrorsNotice.vue
545560
│   │   │   │   ├── ImpersonateUser.vue
546561
│   │   │   │   ├── LeaveImpersonation.vue
547562
│   │   │   │   ├── LoadingCircle.vue
548563
│   │   │   │   ├── NoRecordsCTA.vue
549-
│   │   │   │   ├── Pagination.vue
564+
│   │   │   │   ├── PaginationComp.vue
550565
│   │   │   │   ├── PerPage.vue
551566
│   │   │   │   ├── SocialMediaLoginStatus.vue
552567
│   │   │   │   ├── SocialMediaLoginStatusItem.vue
553-
│   │   │   │   ├── Success.vue
568+
│   │   │   │   ├── SuccessNotice.vue
554569
│   │   │   │   ├── TextEditorComponent.vue
555570
│   │   │   │   ├── TinyMCEditor.vue
556571
│   │   │   │   └── UmoEditor.vue
@@ -569,8 +584,8 @@ LaravelSpa
569584
│   │   │   │   ├── AdminSidebar.vue
570585
│   │   │   │   ├── AdminSidebarLink.vue
571586
│   │   │   │   ├── AppFooter.vue
572-
│   │   │   │   ├── Breadcrumb.vue
573-
│   │   │   │   ├── Nav.vue
587+
│   │   │   │   ├── AppNav.vue
588+
│   │   │   │   ├── BreadcrumbOld.vue
574589
│   │   │   │   └── NavLink.vue
575590
│   │   │   ├── loaders
576591
│   │   │   │   └── AnimatedTableLoader.vue
@@ -605,10 +620,10 @@ LaravelSpa
605620
│   │   │   ├── pt-BR.json
606621
│   │   │   └── zh-CN.json
607622
│   │   ├── layouts
608-
│   │   │   ├── Admin.vue
609-
│   │   │   ├── Authenticated.vue
610-
│   │   │   ├── Error.vue
611-
│   │   │   └── Guest.vue
623+
│   │   │   ├── AdminLayout.vue
624+
│   │   │   ├── AuthenticatedLayout.vue
625+
│   │   │   ├── ErrorLayout.vue
626+
│   │   │   └── GuestLayout.vue
612627
│   │   ├── plugins
613628
│   │   │   └── i18n.js
614629
│   │   ├── routes
@@ -635,61 +650,62 @@ LaravelSpa
635650
│   │   └── views
636651
│   │   ├── admin
637652
│   │   │   ├── ActivityLog.vue
638-
│   │   │   ├── Admin.vue
653+
│   │   │   ├── AdminPage.vue
639654
│   │   │   ├── AppSettings.vue
640655
│   │   │   ├── BrowserSessions.vue
641-
│   │   │   ├── Dashboard.vue
642-
│   │   │   ├── Permissions.vue
656+
│   │   │   ├── DashboardPage.vue
657+
│   │   │   ├── PermissionsPage.vue
643658
│   │   │   ├── PhpInfo.vue
644-
│   │   │   ├── Roles.vue
645-
│   │   │   ├── Users.vue
659+
│   │   │   ├── RolesPage.vue
660+
│   │   │   ├── UsersPage.vue
646661
│   │   │   ├── categories
647-
│   │   │   │   ├── Create.vue
648-
│   │   │   │   ├── Edit.vue
649-
│   │   │   │   └── Index.vue
662+
│   │   │   │   ├── CategoryIndex.vue
663+
│   │   │   │   ├── CreateCategory.vue
664+
│   │   │   │   └── EditCategory.vue
650665
│   │   │   └── posts
651-
│   │   │   ├── Create.vue
652-
│   │   │   ├── Edit.vue
653-
│   │   │   └── Index.vue
666+
│   │   │   ├── AdminCreatePost.vue
667+
│   │   │   ├── AdminEditPost.vue
668+
│   │   │   └── AdminPostsIndex.vue
654669
│   │   ├── auth
655670
│   │   │   ├── Verify.vue
656671
│   │   │   └── passwords
657-
│   │   │   ├── Confirm.vue
672+
│   │   │   ├── ConfirmPage.vue
658673
│   │   │   ├── RequestReset.vue
659-
│   │   │   └── Reset.vue
674+
│   │   │   └── ResetPage.vue
660675
│   │   ├── category
661-
│   │   │   └── posts.vue
676+
│   │   │   └── CatPostsPage.vue
662677
│   │   ├── errors
663-
│   │   │   └── 404.vue
678+
│   │   │   └── NotFound.vue
664679
│   │   ├── home
665-
│   │   │   └── index.vue
680+
│   │   │   └── HomePage.vue
666681
│   │   ├── kiosk
667682
│   │   ├── login
668-
│   │   │   └── Login.vue
683+
│   │   │   └── LoginPage.vue
669684
│   │   ├── misc
670-
│   │   │   ├── about.vue
671-
│   │   │   ├── pricing.vue
672-
│   │   │   ├── support.vue
673-
│   │   │   └── terms.vue
685+
│   │   │   ├── AboutPage.vue
686+
│   │   │   ├── PricingPage.vue
687+
│   │   │   ├── SupportPage.vue
688+
│   │   │   └── TermsPage.vue
674689
│   │   ├── pages
675690
│   │   │   └── user-settings
676-
│   │   │   ├── Account.vue
677691
│   │   │   ├── AccountAuthentication.vue
678692
│   │   │   ├── AccountData.vue
679-
│   │   │   ├── Password.vue
680-
│   │   │   ├── Profile.vue
681-
│   │   │   ├── Settings.vue
693+
│   │   │   ├── AccountPage.vue
694+
│   │   │   ├── PasswordPage.vue
695+
│   │   │   ├── ProfilePage.vue
682696
│   │   │   ├── SettingsNav.vue
683697
│   │   │   ├── SettingsNavLink.vue
698+
│   │   │   ├── SettingsPage.vue
684699
│   │   │   └── UserDownloadData.vue
685700
│   │   ├── posts
686-
│   │   │   ├── details.vue
687-
│   │   │   └── index.vue
701+
│   │   │   ├── PublicIndex.vue
702+
│   │   │   └── PublicPostDetails.vue
688703
│   │   ├── register
689-
│   │   │   └── index.vue
704+
│   │   │   └── RegisterPage.vue
690705
│   │   └── templates
691706
│   │   ├── Bare.vue
692707
│   │   └── Blank.vue
708+
│   ├── lang
693709
│   ├── pwa
694710
│   │   ├── serviceworker.js
695711
│   │   └── sw.js
@@ -720,7 +736,7 @@ LaravelSpa
720736
├── vite.config.js
721737
└── vue.config.js
722738
723-
104 directories, 422 files
739+
105 directories, 437 files
724740
725741
```
726742

resources/js/views/misc/SupportPage.vue

Lines changed: 23 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
11
<template>
22
<div class="relative isolate overflow-hidden bg-gray-200 dark:bg-gray-900 py-24 sm:py-32">
33
<img
4-
:src="img"
4+
src="https://images.unsplash.com/photo-1521737604893-d14cc237f11d?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&crop=focalpoint&fp-y=.8&w=2830&h=1500&q=80&blend=111827&sat=-100&exp=15&blend-mode=multiply"
55
alt="support"
6-
class="support-image absolute inset-0 -z-10 size-full object-cover object-right md:object-center"
6+
class="dark-image support-image absolute inset-0 -z-10 size-full object-cover object-right md:object-center"
77
/>
8+
9+
<img
10+
src="https://images.unsplash.com/photo-1521737604893-d14cc237f11d?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&crop=focalpoint&fp-y=.8&w=2830&h=1500&q=80&blend=111827&sat=-100&exp=15&blend-mode=lighten&bri=69&gam=12"
11+
alt="support"
12+
class="light-image support-image absolute inset-0 -z-10 size-full object-cover object-right md:object-center"
13+
/>
14+
815
<div class="hidden sm:absolute sm:-top-10 sm:right-1/2 sm:-z-10 sm:mr-10 sm:block sm:transform-gpu sm:blur-3xl">
916
<div
1017
class="aspect-[1097/845] w-[68.5625rem] bg-gradient-to-tr from-[#ff4694] to-[#776fff] opacity-20"
@@ -101,30 +108,16 @@ import { LifebuoyIcon, NewspaperIcon, PhoneIcon } from '@heroicons/vue/20/solid'
101108
const theme = ref(localStorage.getItem('data-theme'));
102109
const img = ref();
103110
104-
watch(theme, () => {
105-
setImg(theme.value);
106-
});
107-
108111
onMounted(() => {
109112
theme.value = localStorage.getItem('data-theme');
110-
setImg(theme.value);
111113
window.addEventListener('theme-localstorage-changed', (event) => {
112114
theme.value = event.detail.storage;
113115
});
114116
});
115117
118+
// IMAGE Manipulation
116119
// https://docs.imgix.com/en-US/apis/rendering/overview
117120
118-
function setImg(val) {
119-
if (val == 'dark') {
120-
img.value =
121-
'https://images.unsplash.com/photo-1521737604893-d14cc237f11d?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&crop=focalpoint&fp-y=.8&w=2830&h=1500&q=80&blend=111827&sat=-100&exp=15&blend-mode=multiply';
122-
} else {
123-
img.value =
124-
'https://images.unsplash.com/photo-1521737604893-d14cc237f11d?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&crop=focalpoint&fp-y=.8&w=2830&h=1500&q=80&blend=111827&sat=-100&exp=15&blend-mode=lighten&bri=69&gam=12';
125-
}
126-
}
127-
128121
const cards = [
129122
{
130123
name: 'Sales',
@@ -143,3 +136,16 @@ const cards = [
143136
},
144137
];
145138
</script>
139+
140+
<style scoped>
141+
.dark-image,
142+
.light-image {
143+
display: none;
144+
}
145+
html.dark .dark-image {
146+
display: block;
147+
}
148+
html:not(.dark) .light-image {
149+
display: block;
150+
}
151+
</style>

0 commit comments

Comments
 (0)