File tree Expand file tree Collapse file tree 7 files changed +22
-14
lines changed
components/ui/ds-page-heading
views/mcp-server/installation/[id] Expand file tree Collapse file tree 7 files changed +22
-14
lines changed Original file line number Diff line number Diff line change 22interface Props {
33 title: string
44 description? : string
5+ showBorder? : boolean
56}
67
7- defineProps <Props >()
8+ const props = withDefaults (defineProps <Props >(), {
9+ showBorder: true
10+ })
811 </script >
912
1013<template >
11- <header class =" relative -mx-4 sm:-mx-6 lg:-mx-8 px-4 sm:px-6 lg:px-8 mb-8 after:absolute after:bottom-0 after:left-1/2 after:-translate-x-1/2 after:w-screen after:border-b after:border-neutral-200" >
14+ <header
15+ :class =" [
16+ 'relative -mx-4 sm:-mx-6 lg:-mx-8 px-4 sm:px-6 lg:px-8 mb-8',
17+ props.showBorder ? 'after:absolute after:bottom-0 after:left-1/2 after:-translate-x-1/2 after:w-screen after:border-b after:border-neutral-200' : ''
18+ ]"
19+ >
1220 <div class =" flex flex-col lg:flex-row items-stretch lg:items-center justify-between gap-4 lg:gap-10 py-8" >
1321 <!-- Left: Title, description, and optional content -->
1422 <div class =" flex flex-col items-stretch justify-start flex-1 w-full gap-4" >
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ onUnmounted(() => {
4747
4848<template >
4949 <NavbarLayout >
50- <DsPageHeading v-if =" installation" :title =" installation.installation_name" >
50+ <DsPageHeading v-if =" installation" :title =" installation.installation_name" :show-border = " false " >
5151 <Breadcrumb >
5252 <BreadcrumbList >
5353 <BreadcrumbItem >
@@ -64,7 +64,7 @@ onUnmounted(() => {
6464 </BreadcrumbList >
6565 </Breadcrumb >
6666 </DsPageHeading >
67- <DsPageHeading v-else :title =" t('mcpInstallations.title')" >
67+ <DsPageHeading v-else :title =" t('mcpInstallations.title')" :show-border = " false " >
6868 <Breadcrumb >
6969 <BreadcrumbList >
7070 <BreadcrumbItem >
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ onUnmounted(() => {
4141
4242<template >
4343 <NavbarLayout >
44- <DsPageHeading v-if =" installation" :title =" installation.installation_name" >
44+ <DsPageHeading v-if =" installation" :title =" installation.installation_name" :show-border = " false " >
4545 <Breadcrumb >
4646 <BreadcrumbList >
4747 <BreadcrumbItem >
@@ -58,7 +58,7 @@ onUnmounted(() => {
5858 </BreadcrumbList >
5959 </Breadcrumb >
6060 </DsPageHeading >
61- <DsPageHeading v-else :title =" t('mcpInstallations.title')" >
61+ <DsPageHeading v-else :title =" t('mcpInstallations.title')" :show-border = " false " >
6262 <Breadcrumb >
6363 <BreadcrumbList >
6464 <BreadcrumbItem >
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ onUnmounted(() => {
4747
4848<template >
4949 <NavbarLayout >
50- <DsPageHeading v-if =" installation" :title =" installation.installation_name" >
50+ <DsPageHeading v-if =" installation" :title =" installation.installation_name" :show-border = " false " >
5151 <Breadcrumb >
5252 <BreadcrumbList >
5353 <BreadcrumbItem >
@@ -64,7 +64,7 @@ onUnmounted(() => {
6464 </BreadcrumbList >
6565 </Breadcrumb >
6666 </DsPageHeading >
67- <DsPageHeading v-else :title =" t('mcpInstallations.title')" >
67+ <DsPageHeading v-else :title =" t('mcpInstallations.title')" :show-border = " false " >
6868 <Breadcrumb >
6969 <BreadcrumbList >
7070 <BreadcrumbItem >
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ onUnmounted(() => {
4242
4343<template >
4444 <NavbarLayout >
45- <DsPageHeading v-if =" installation" :title =" installation.installation_name" >
45+ <DsPageHeading v-if =" installation" :title =" installation.installation_name" :show-border = " false " >
4646 <Breadcrumb >
4747 <BreadcrumbList >
4848 <BreadcrumbItem >
@@ -59,7 +59,7 @@ onUnmounted(() => {
5959 </BreadcrumbList >
6060 </Breadcrumb >
6161 </DsPageHeading >
62- <DsPageHeading v-else :title =" t('mcpInstallations.title')" >
62+ <DsPageHeading v-else :title =" t('mcpInstallations.title')" :show-border = " false " >
6363 <Breadcrumb >
6464 <BreadcrumbList >
6565 <BreadcrumbItem >
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ onUnmounted(() => {
5555
5656<template >
5757 <NavbarLayout >
58- <DsPageHeading v-if =" installation" :title =" installation.installation_name" >
58+ <DsPageHeading v-if =" installation" :title =" installation.installation_name" :show-border = " false " >
5959 <Breadcrumb >
6060 <BreadcrumbList >
6161 <BreadcrumbItem >
@@ -72,7 +72,7 @@ onUnmounted(() => {
7272 </BreadcrumbList >
7373 </Breadcrumb >
7474 </DsPageHeading >
75- <DsPageHeading v-else :title =" t('mcpInstallations.title')" >
75+ <DsPageHeading v-else :title =" t('mcpInstallations.title')" :show-border = " false " >
7676 <Breadcrumb >
7777 <BreadcrumbList >
7878 <BreadcrumbItem >
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ onUnmounted(() => {
4747
4848<template >
4949 <NavbarLayout >
50- <DsPageHeading v-if =" installation" :title =" installation.installation_name" >
50+ <DsPageHeading v-if =" installation" :title =" installation.installation_name" :show-border = " false " >
5151 <Breadcrumb >
5252 <BreadcrumbList >
5353 <BreadcrumbItem >
@@ -64,7 +64,7 @@ onUnmounted(() => {
6464 </BreadcrumbList >
6565 </Breadcrumb >
6666 </DsPageHeading >
67- <DsPageHeading v-else :title =" t('mcpInstallations.title')" >
67+ <DsPageHeading v-else :title =" t('mcpInstallations.title')" :show-border = " false " >
6868 <Breadcrumb >
6969 <BreadcrumbList >
7070 <BreadcrumbItem >
You can’t perform that action at this time.
0 commit comments