Skip to content

Commit 953025c

Browse files
chore: wip
1 parent 5accc8b commit 953025c

File tree

26 files changed

+550
-876
lines changed

26 files changed

+550
-876
lines changed

docs/config.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import type { HeadConfig } from 'vitepress'
21
import type { DocsConfig } from '@stacksjs/types'
2+
import type { HeadConfig } from 'vitepress'
33
import { SocialLinkIcon } from '@stacksjs/types'
44
import analytics from '../config/analytics'
55

@@ -49,7 +49,6 @@ export const analyticsHead
4949
? googleAnalyticsHead
5050
: []
5151

52-
5352
const nav = [
5453
{
5554
text: 'Changelog',
@@ -636,7 +635,7 @@ export default {
636635
['meta', { property: 'og:image', content: 'https://stacksjs.org/images/og-image.png' }],
637636
['meta', { property: 'og:url', content: 'https://stacksjs.org/' }],
638637
// ['script', { 'src': 'https://cdn.usefathom.com/script.js', 'data-site': '', 'data-spa': 'auto', 'defer': '' }],
639-
...analyticsHead
638+
...analyticsHead,
640639
],
641640

642641
themeConfig: {

resources/components/Docs/HomeContributors.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ import { contributors } from './contributors'
44

55
<template>
66
<div class="vp-doc">
7-
<h2 op50 font-normal pt-5 pb-2>
7+
<h2 pb-2 pt-5 font-normal op50>
88
Contributors
99
</h2>
1010
</div>
1111

12-
<div text-lg max-w-200 text-center leading-7 p-10>
12+
<div max-w-200 p-10 text-center text-lg leading-7>
1313
<div flex="~ wrap gap-1" justify-center>
1414
<a v-for="{ name, avatar } of contributors" :key="name" :href="`https://github.com/${name}`" m-0 rel="noopener noreferrer" :aria-label="`${name} on GitHub`">
15-
<img loading="lazy" :src="avatar" width="40" height="40" rounded-full min-w-10 min-h-10 h-10 w-10 :alt="`${name}'s avatar`">
15+
<img loading="lazy" :src="avatar" width="40" height="40" h-10 min-h-10 min-w-10 w-10 rounded-full :alt="`${name}'s avatar`">
1616
</a>
1717
</div>
1818
<br>

resources/components/Docs/HomeSponsors.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<div class="vp-doc">
3-
<h2 op50 font-normal pt-5 pb-2>
3+
<h2 pb-2 pt-5 font-normal op50>
44
Stacks Sponsors
55
</h2>
66
</div>
@@ -12,7 +12,7 @@
1212
</p>
1313

1414
<p class="mt-5 text-center">
15-
<a href="https://github.com/sponsors/chrisbbreuer" class="italic text-xs">
15+
<a href="https://github.com/sponsors/chrisbbreuer" class="text-xs italic">
1616
Click here to become a sponsor.
1717
</a>
1818
</p>

resources/components/Docs/HomeTeam.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { coreTeamMembers } from './contributors'
44

55
<template>
66
<div class="vp-doc">
7-
<h2 op50 font-normal pt-5 pb-2>
7+
<h2 pb-2 pt-5 font-normal op50>
88
Meet The Team
99
</h2>
1010
</div>

resources/components/Docs/TeamMember.vue

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,18 @@ defineProps<{
1010
<div text-center>
1111
<img
1212
loading="lazy"
13-
width="100" height="100" m-auto rounded-full min-w-25 min-h-25 h-25 w-25
13+
width="100" height="100" m-auto h-25 min-h-25 min-w-25 w-25 rounded-full
1414
:src="data.avatar"
1515
:alt="`${data.name}'s avatar`"
1616
>
17-
<div text-xl mt-2 mb-1>
17+
<div mb-1 mt-2 text-xl>
1818
{{ data.name }}
1919
</div>
20-
<div op60 h-80px v-html="data.description" />
20+
<div h-80px op60 v-html="data.description" />
2121

2222
<div flex="~ inline gap-2" py2 text-2xl>
2323
<a
24-
class="i-carbon-logo-github inline-block text-current op30 hover:op100 mya transition duration-200"
24+
class="i-carbon-logo-github mya inline-block text-current op30 transition duration-200 hover:op100"
2525
:href="`https://github.com/${data.github}`"
2626
target="_blank"
2727
rel="noopener noreferrer"
@@ -30,7 +30,7 @@ defineProps<{
3030

3131
<a
3232
v-if="data.sponsors"
33-
class="i-carbon-favorite-filled inline-block mya text-current op30 hover:op100 transition duration-200"
33+
class="i-carbon-favorite-filled mya inline-block text-current op30 transition duration-200 hover:op100"
3434
:href="`https://github.com/sponsors/${data.github}`"
3535
target="_blank"
3636
rel="noopener noreferrer"
@@ -39,9 +39,9 @@ defineProps<{
3939
/>
4040
</div>
4141

42-
<div v-if="data.functions || data.packages" bg-gray:5 mb2 p3 rounded grid="~ cols-[20px_1fr] gap-x-1 gap-y-2" items-start w="5/6" mxa>
42+
<div v-if="data.functions || data.packages" grid="~ cols-[20px_1fr] gap-x-1 gap-y-2" w="5/6" mxa mb2 items-start rounded bg-gray:5 p3>
4343
<template v-if="data.functions">
44-
<div op50 ma i-carbon:function-math title="Functions" />
44+
<div i-carbon:function-math ma op50 title="Functions" />
4545
<div flex="~ row wrap gap-2" text-left text-sm>
4646
<a v-for="f of data.functions" :key="f" :href="`/${f}`" target="_blank">
4747
<code>{{ f }}</code>
@@ -50,7 +50,7 @@ defineProps<{
5050
</template>
5151

5252
<template v-if="data.packages">
53-
<div op50 ma i-carbon-cube title="Packages" />
53+
<div i-carbon-cube ma op50 title="Packages" />
5454
<div flex="~ row wrap gap-2" text-left text-sm>
5555
<a v-for="f of data.packages" :key="f" href="/add-ons">
5656
<code>{{ f }}</code>

resources/components/Docs/contributors.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const coreTeamMembers: CoreTeam[] = [
3939
sponsors: true,
4040
description: 'Open sourceror<br>Core team member of Stacks<br>Working at Stacks.js, Inc.',
4141
packages: ['core'],
42-
functions: ['cloud', 'backend', 'frontend', 'ci/cd']
42+
functions: ['cloud', 'backend', 'frontend', 'ci/cd'],
4343
},
4444

4545
{
@@ -65,7 +65,7 @@ const coreTeamMembers: CoreTeam[] = [
6565
},
6666

6767
{
68-
avatar: contributorsAvatars['konkonam'] || 'default-avatar.png',
68+
avatar: contributorsAvatars.konkonam || 'default-avatar.png',
6969
name: 'Zoltan',
7070
github: 'konkonam',
7171
sponsors: true,

storage/framework/core/docs/src/scripts/pwa.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import type { PwaOptions } from '@vite-pwa/vitepress'
22
import { docs } from '@stacksjs/config'
33
import { frameworkPath } from '@stacksjs/path'
4-
import { githubusercontentRegex, pwaFontsRegex, pwaFontStylesRegex } from '../meta'
54

65
export const pwaDocs: PwaOptions = {
76
outDir: frameworkPath('docs/dist'),

0 commit comments

Comments
 (0)