Skip to content

Commit a748c25

Browse files
authored
Merge pull request #224 from opentiny/jyh/builder-mode-route
feat(playground/homepage): add Chat/Builder mode routing and showcase
2 parents 79c7244 + b02cca3 commit a748c25

34 files changed

Lines changed: 822 additions & 229 deletions

pnpm-lock.yaml

Lines changed: 22 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
58.8 KB
Loading
65.1 KB
Loading
65.8 KB
Loading
Lines changed: 11 additions & 0 deletions
Loading
Lines changed: 11 additions & 0 deletions
Loading
Lines changed: 11 additions & 0 deletions
Loading

sites/homepage/web/src/components/HomeAbility.vue

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ const props = defineProps({
88
},
99
subtitle: {
1010
type: String,
11-
required: true,
11+
required: false,
12+
default: '',
1213
},
1314
background: {
1415
type: String as PropType<'default' | 'morandi'>,
@@ -26,7 +27,7 @@ const backgroundClass = computed(() =>
2627
<section class="home-ability" :class="backgroundClass">
2728
<div class="home-ability-title">
2829
<div class="home-ability-title-text genui-title">{{ title }}</div>
29-
<div class="home-ability-title-subtitle genui-subtitle">
30+
<div v-if="subtitle" class="home-ability-title-subtitle genui-subtitle">
3031
{{ subtitle }}
3132
</div>
3233
</div>
@@ -57,8 +58,10 @@ const backgroundClass = computed(() =>
5758
}
5859
5960
&-title {
61+
position: relative;
6062
display: flex;
6163
flex-direction: column;
64+
width: 100%;
6265
6366
@media (max-width: 1280px) {
6467
&-subtitle {

0 commit comments

Comments
 (0)