Skip to content

Commit 294f3b7

Browse files
committed
chore: wip
chore: wip
1 parent d1d74ef commit 294f3b7

File tree

4 files changed

+21
-21
lines changed

4 files changed

+21
-21
lines changed

app/Commands/Inspire.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ export default function (cli: CLI) {
1919
.alias('insp')
2020
.action((options: InspireOptions) => {
2121
if (options.two)
22-
// @ts-expect-error - this is safe because we hard-coded the quotes
2322
quotes
2423
.random(2)
2524
.map((quote, index) => log.info(`${index + 1}. ${quote}`))

resources/components/Marketing/SecondaryFeatures.vue

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -62,72 +62,72 @@ const selectedIndex = computed(() => tabIndex.value)
6262
<div class="relative">
6363
<div class="w-9 rounded-lg" :class="{ 'bg-blue-600': 0 === selectedIndex, 'bg-slate-500': 0 !== selectedIndex }">
6464
<svg aria-hidden="true" class="h-9 w-9" fill="none">
65-
{{ features[0].icon }}
65+
{{ features?.[0]?.icon }}
6666
</svg>
6767
</div>
6868
<h3 class="mt-6 text-sm font-medium" :class="{ 'text-blue-600': 0 === selectedIndex, 'text-slate-600': 0 !== selectedIndex }">
69-
<Tab>{{ features[0].name }}</Tab>
69+
<Tab>{{ features?.[0]?.name }}</Tab>
7070
</h3>
7171
<p class="mt-2 font-display text-xl text-slate-900">
72-
{{ features[0].summary }}
72+
{{ features?.[0]?.summary }}
7373
</p>
7474
<p class="mt-4 text-sm text-slate-600">
75-
{{ features[0].description }}
75+
{{ features?.[0]?.description }}
7676
</p>
7777
</div>
7878

7979
<div class="relative">
8080
<div class="w-9 rounded-lg" :class="{ 'bg-blue-600': 1 === selectedIndex, 'bg-slate-500': 1 !== selectedIndex }">
8181
<svg aria-hidden="true" class="h-9 w-9" fill="none">
82-
{{ features[1].icon }}
82+
{{ features?.[1]?.icon }}
8383
</svg>
8484
</div>
8585
<h3 class="mt-6 text-sm font-medium" :class="{ 'text-blue-600': 1 === selectedIndex, 'text-slate-600': 1 !== selectedIndex }">
86-
<Tab>{{ features[1].name }}</Tab>
86+
<Tab>{{ features?.[1]?.name }}</Tab>
8787
</h3>
8888
<p class="mt-2 font-display text-xl text-slate-900">
89-
{{ features[1].summary }}
89+
{{ features?.[1]?.summary }}
9090
</p>
9191
<p class="mt-4 text-sm text-slate-600">
92-
{{ features[1].description }}
92+
{{ features?.[1]?.description }}
9393
</p>
9494
</div>
9595

9696
<div class="relative">
9797
<div class="w-9 rounded-lg" :class="{ 'bg-blue-600': 2 === selectedIndex, 'bg-slate-500': 2 !== selectedIndex }">
9898
<svg aria-hidden="true" class="h-9 w-9" fill="none">
99-
{{ features[2].icon }}
99+
{{ features?.[2]?.icon }}
100100
</svg>
101101
</div>
102102
<h3 class="mt-6 text-sm font-medium" :class="{ 'text-blue-600': 2 === selectedIndex, 'text-slate-600': 2 !== selectedIndex }">
103-
<Tab>{{ features[2].name }}</Tab>
103+
<Tab>{{ features?.[2]?.name }}</Tab>
104104
</h3>
105105
<p class="mt-2 font-display text-xl text-slate-900">
106-
{{ features[2].summary }}
106+
{{ features?.[2]?.summary }}
107107
</p>
108108
<p class="mt-4 text-sm text-slate-600">
109-
{{ features[2].description }}
109+
{{ features?.[2]?.description }}
110110
</p>
111111
</div>
112112
</TabList>
113113

114114
<TabPanels class="relative mt-20 overflow-hidden rounded-4xl bg-slate-200 px-14 py-16 xl:px-16">
115115
<div class="-mx-5 flex">
116-
<TabPanel :key="features[0].summary" class="px-5 transition duration-500 ease-in-out ui-not-focus-visible:outline-none" :class="{ 'opacity-60': 0 !== selectedIndex }" :style="{ transform: `translateX(-${selectedIndex * 100}%)` }" :aria-hidden="0 !== selectedIndex">
116+
<TabPanel :key="features?.[0]?.summary" class="px-5 transition duration-500 ease-in-out ui-not-focus-visible:outline-none" :class="{ 'opacity-60': 0 !== selectedIndex }" :style="{ transform: `translateX(-${selectedIndex * 100}%)` }" :aria-hidden="0 !== selectedIndex">
117117
<div class="w-[52.75rem] overflow-hidden rounded-xl bg-white shadow-lg shadow-slate-900/5 ring-1 ring-slate-500/10">
118-
<img class="w-full" :src="features[0].image" alt="" sizes="52.75rem">
118+
<img class="w-full" :src="features?.[0]?.image" alt="" sizes="52.75rem">
119119
</div>
120120
</TabPanel>
121121

122-
<TabPanel :key="features[1].summary" class="px-5 transition duration-500 ease-in-out ui-not-focus-visible:outline-none" :class="{ 'opacity-60': 1 !== selectedIndex }" :style="{ transform: `translateX(-${selectedIndex * 100}%)` }" :aria-hidden="1 !== selectedIndex">
122+
<TabPanel :key="features?.[1]?.summary" class="px-5 transition duration-500 ease-in-out ui-not-focus-visible:outline-none" :class="{ 'opacity-60': 1 !== selectedIndex }" :style="{ transform: `translateX(-${selectedIndex * 100}%)` }" :aria-hidden="1 !== selectedIndex">
123123
<div class="w-[52.75rem] overflow-hidden rounded-xl bg-white shadow-lg shadow-slate-900/5 ring-1 ring-slate-500/10">
124-
<img class="w-full" :src="features[1].image" alt="" sizes="52.75rem">
124+
<img class="w-full" :src="features?.[1]?.image" alt="" sizes="52.75rem">
125125
</div>
126126
</TabPanel>
127127

128-
<TabPanel :key="features[2].summary" class="px-5 transition duration-500 ease-in-out ui-not-focus-visible:outline-none" :class="{ 'opacity-60': 2 !== selectedIndex }" :style="{ transform: `translateX(-${selectedIndex * 100}%)` }" :aria-hidden="2 !== selectedIndex">
128+
<TabPanel :key="features?.[2]?.summary" class="px-5 transition duration-500 ease-in-out ui-not-focus-visible:outline-none" :class="{ 'opacity-60': 2 !== selectedIndex }" :style="{ transform: `translateX(-${selectedIndex * 100}%)` }" :aria-hidden="2 !== selectedIndex">
129129
<div class="w-[52.75rem] overflow-hidden rounded-xl bg-white shadow-lg shadow-slate-900/5 ring-1 ring-slate-500/10">
130-
<img class="w-full" :src="features[2].image" alt="" sizes="52.75rem">
130+
<img class="w-full" :src="features?.[2]?.image" alt="" sizes="52.75rem">
131131
</div>
132132
</TabPanel>
133133
</div>

storage/framework/core/cli/src/actions/install.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@ interface InstallPackageOptions {
2121
export async function installPackage(
2222
name: string,
2323
options?: InstallPackageOptions,
24-
): Promise<ExecaReturnValue<string>> {
25-
if (options) return await installPkg(name, options)
24+
) {
25+
if (options)
26+
return await installPkg(name, options)
2627

2728
return await installPkg(name, { silent: true })
2829
}

0 commit comments

Comments
 (0)