Skip to content

Commit de0cfd8

Browse files
committed
fix: header package manager
1 parent 398e327 commit de0cfd8

3 files changed

Lines changed: 7 additions & 5 deletions

File tree

app/components/AppHeader.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,14 @@ const latestVersion = computed(() => {
8484
:search-input="false"
8585
color="neutral"
8686
variant="ghost"
87-
class="hidden sm:block w-16"
87+
class="hidden sm:block w-24"
8888
>
8989
<template #leading>
9090
<UIcon :name="selectedPackageManager.icon" class="size-4" />
9191
</template>
92+
<template #trailing>
93+
<UIcon name="i-lucide-chevron-down" class="size-4" />
94+
</template>
9295
</USelectMenu>
9396

9497
<UColorModeButton />

app/components/TemplateCard.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const dynamicCommand = computed(() => {
1919
if (!template.template) return ''
2020
2121
if (selectedPackageManager.value.label === 'pip') {
22-
return `pip install litestar && litestar create -t ${template.template}`
22+
return `pipx litestar create -t ${template.template}`
2323
} else {
2424
return `uvx litestar@latest create -t ${template.template}`
2525
}
@@ -68,7 +68,7 @@ function copyCommand() {
6868
<UButton
6969
icon="i-lucide-github"
7070
color="neutral"
71-
size="xs"
71+
size="sm"
7272
variant="outline"
7373
:to="template.path"
7474
external
@@ -83,7 +83,7 @@ function copyCommand() {
8383
<UButton
8484
icon="i-lucide-terminal"
8585
color="neutral"
86-
size="xs"
86+
size="sm"
8787
variant="outline"
8888
@click.stop="copyCommand()"
8989
>

app/pages/templates.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,6 @@ const starterTemplates = [
143143
description: 'Starter with ORM, database migration and services for a Rest API',
144144
path: 'https://github.com/litestar-org/litestar-templates/tree/main/sqlalchemy-template',
145145
logoIcon: 'i-lucide-database',
146-
featured: true,
147146
template: 'advanced-alchemy'
148147
},
149148
{

0 commit comments

Comments
 (0)