mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 07:24:13 +00:00 
			
		
		
		
	replaced ti-code
This commit is contained in:
		
							parent
							
								
									2f4a9010c9
								
							
						
					
					
						commit
						7eed0aec69
					
				
					 15 changed files with 16 additions and 15 deletions
				
			
		| 
						 | 
					@ -16,7 +16,7 @@ SPDX-License-Identifier: AGPL-3.0-only
 | 
				
			||||||
		<pre v-else-if="show" :class="$style.codeBlockFallbackRoot"><code :class="$style.codeBlockFallbackCode">{{ code }}</code></pre>
 | 
							<pre v-else-if="show" :class="$style.codeBlockFallbackRoot"><code :class="$style.codeBlockFallbackCode">{{ code }}</code></pre>
 | 
				
			||||||
		<button v-else :class="$style.codePlaceholderRoot" @click="show = true">
 | 
							<button v-else :class="$style.codePlaceholderRoot" @click="show = true">
 | 
				
			||||||
			<div :class="$style.codePlaceholderContainer">
 | 
								<div :class="$style.codePlaceholderContainer">
 | 
				
			||||||
				<div><i class="ph-code ph-bold ph-lg"></i> {{ i18n.ts.code }}</div>
 | 
									<div><i class="ti ti-code"></i> {{ i18n.ts.code }}</div>
 | 
				
			||||||
				<div>{{ i18n.ts.clickToShow }}</div>
 | 
									<div>{{ i18n.ts.clickToShow }}</div>
 | 
				
			||||||
			</div>
 | 
								</div>
 | 
				
			||||||
		</button>
 | 
							</button>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -33,7 +33,7 @@ SPDX-License-Identifier: AGPL-3.0-only
 | 
				
			||||||
							{{ i18n.tsx._aboutMisskey.thisIsModifiedVersion({ name: instance.name }) }}
 | 
												{{ i18n.tsx._aboutMisskey.thisIsModifiedVersion({ name: instance.name }) }}
 | 
				
			||||||
						</MkInfo>
 | 
											</MkInfo>
 | 
				
			||||||
						<FormLink v-if="instance.repositoryUrl" :to="instance.repositoryUrl" external>
 | 
											<FormLink v-if="instance.repositoryUrl" :to="instance.repositoryUrl" external>
 | 
				
			||||||
							<template #icon><i class="ph-code ph-bold ph-lg"></i></template>
 | 
												<template #icon><i class="ti ti-code"></i></template>
 | 
				
			||||||
							{{ i18n.ts._aboutMisskey.source }}
 | 
												{{ i18n.ts._aboutMisskey.source }}
 | 
				
			||||||
						</FormLink>
 | 
											</FormLink>
 | 
				
			||||||
						<FormLink v-if="instance.providesTarball" :to="`/tarball/sharkey-${version}.tar.gz`" external>
 | 
											<FormLink v-if="instance.providesTarball" :to="`/tarball/sharkey-${version}.tar.gz`" external>
 | 
				
			||||||
| 
						 | 
					@ -63,7 +63,7 @@ SPDX-License-Identifier: AGPL-3.0-only
 | 
				
			||||||
				<FormSection>
 | 
									<FormSection>
 | 
				
			||||||
					<div class="_gaps_s">
 | 
										<div class="_gaps_s">
 | 
				
			||||||
						<FormLink to="https://github.com/misskey-dev/misskey" external>
 | 
											<FormLink to="https://github.com/misskey-dev/misskey" external>
 | 
				
			||||||
							<template #icon><i class="ph-code ph-bold ph-lg"></i></template>
 | 
												<template #icon><i class="ti ti-code"></i></template>
 | 
				
			||||||
							{{ i18n.ts._aboutMisskey.source }} ({{ i18n.ts._aboutMisskey.original }})
 | 
												{{ i18n.ts._aboutMisskey.source }} ({{ i18n.ts._aboutMisskey.original }})
 | 
				
			||||||
							<template #suffix>GitHub</template>
 | 
												<template #suffix>GitHub</template>
 | 
				
			||||||
						</FormLink>
 | 
											</FormLink>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -36,7 +36,7 @@ SPDX-License-Identifier: AGPL-3.0-only
 | 
				
			||||||
							{{ i18n.ts.aboutMisskey }}
 | 
												{{ i18n.ts.aboutMisskey }}
 | 
				
			||||||
						</FormLink>
 | 
											</FormLink>
 | 
				
			||||||
						<FormLink v-if="instance.repositoryUrl || instance.providesTarball" :to="instance.repositoryUrl || `/tarball/sharkey-${version}.tar.gz`" external>
 | 
											<FormLink v-if="instance.repositoryUrl || instance.providesTarball" :to="instance.repositoryUrl || `/tarball/sharkey-${version}.tar.gz`" external>
 | 
				
			||||||
							<template #icon><i class="ph-code ph-bold ph-lg"></i></template>
 | 
												<template #icon><i class="ti ti-code"></i></template>
 | 
				
			||||||
							{{ i18n.ts.sourceCode }}
 | 
												{{ i18n.ts.sourceCode }}
 | 
				
			||||||
						</FormLink>
 | 
											</FormLink>
 | 
				
			||||||
						<MkInfo v-else warn>
 | 
											<MkInfo v-else warn>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -137,7 +137,7 @@ const headerTabs = computed(() => [{
 | 
				
			||||||
} : null, {
 | 
					} : null, {
 | 
				
			||||||
	key: 'raw',
 | 
						key: 'raw',
 | 
				
			||||||
	title: 'Raw data',
 | 
						title: 'Raw data',
 | 
				
			||||||
	icon: 'ph-code ph-bold ph-lg',
 | 
						icon: 'ti ti-code',
 | 
				
			||||||
}]);
 | 
					}]);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
definePageMetadata(() => ({
 | 
					definePageMetadata(() => ({
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -533,7 +533,7 @@ const headerTabs = computed(() => [{
 | 
				
			||||||
}, {
 | 
					}, {
 | 
				
			||||||
	key: 'raw',
 | 
						key: 'raw',
 | 
				
			||||||
	title: 'Raw',
 | 
						title: 'Raw',
 | 
				
			||||||
	icon: 'ph-code ph-bold ph-lg',
 | 
						icon: 'ti ti-code',
 | 
				
			||||||
}]);
 | 
					}]);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
definePageMetadata(() => ({
 | 
					definePageMetadata(() => ({
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -38,7 +38,7 @@ SPDX-License-Identifier: AGPL-3.0-only
 | 
				
			||||||
					</div>
 | 
										</div>
 | 
				
			||||||
				</Transition>
 | 
									</Transition>
 | 
				
			||||||
				<MkFolder :defaultOpen="false" :max-height="280" class="_margin">
 | 
									<MkFolder :defaultOpen="false" :max-height="280" class="_margin">
 | 
				
			||||||
					<template #icon><i class="ph-code ph-bold ph-lg"></i></template>
 | 
										<template #icon><i class="ti ti-code"></i></template>
 | 
				
			||||||
					<template #label>{{ i18n.ts._play.viewSource }}</template>
 | 
										<template #label>{{ i18n.ts._play.viewSource }}</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
					<MkCode :code="flash.script" lang="is" class="_monospace"/>
 | 
										<MkCode :code="flash.script" lang="is" class="_monospace"/>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -51,7 +51,7 @@ SPDX-License-Identifier: AGPL-3.0-only
 | 
				
			||||||
						<template #value>{{ i18n.ts[data.meta.base] }}</template>
 | 
											<template #value>{{ i18n.ts[data.meta.base] }}</template>
 | 
				
			||||||
					</MkKeyValue>
 | 
										</MkKeyValue>
 | 
				
			||||||
					<MkFolder>
 | 
										<MkFolder>
 | 
				
			||||||
						<template #icon><i class="ph-code ph-bold ph-lg"></i></template>
 | 
											<template #icon><i class="ti ti-code"></i></template>
 | 
				
			||||||
						<template #label>{{ i18n.ts._plugin.viewSource }}</template>
 | 
											<template #label>{{ i18n.ts._plugin.viewSource }}</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
						<MkCode :code="data.raw ?? ''"/>
 | 
											<MkCode :code="data.raw ?? ''"/>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -282,7 +282,7 @@ const headerTabs = computed(() => [{
 | 
				
			||||||
}, {
 | 
					}, {
 | 
				
			||||||
	key: 'raw',
 | 
						key: 'raw',
 | 
				
			||||||
	title: 'Raw',
 | 
						title: 'Raw',
 | 
				
			||||||
	icon: 'ph-code ph-bold ph-lg',
 | 
						icon: 'ti ti-code',
 | 
				
			||||||
}]);
 | 
					}]);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
definePageMetadata(() => ({
 | 
					definePageMetadata(() => ({
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -47,6 +47,6 @@ const headerTabs = computed(() => []);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
definePageMetadata(() => ({
 | 
					definePageMetadata(() => ({
 | 
				
			||||||
	title: i18n.ts.customCss,
 | 
						title: i18n.ts.customCss,
 | 
				
			||||||
	icon: 'ph-code ph-bold ph-lg',
 | 
						icon: 'ti ti-code',
 | 
				
			||||||
}));
 | 
					}));
 | 
				
			||||||
</script>
 | 
					</script>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -309,7 +309,7 @@ SPDX-License-Identifier: AGPL-3.0-only
 | 
				
			||||||
				</div>
 | 
									</div>
 | 
				
			||||||
			</MkFolder>
 | 
								</MkFolder>
 | 
				
			||||||
			<FormLink to="/settings/deck">{{ i18n.ts.deck }}</FormLink>
 | 
								<FormLink to="/settings/deck">{{ i18n.ts.deck }}</FormLink>
 | 
				
			||||||
			<FormLink to="/settings/custom-css"><template #icon><i class="ph-code ph-bold ph-lg"></i></template>{{ i18n.ts.customCss }}</FormLink>
 | 
								<FormLink to="/settings/custom-css"><template #icon><i class="ti ti-code"></i></template>{{ i18n.ts.customCss }}</FormLink>
 | 
				
			||||||
		</div>
 | 
							</div>
 | 
				
			||||||
	</FormSection>
 | 
						</FormSection>
 | 
				
			||||||
</div>
 | 
					</div>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -69,7 +69,7 @@ SPDX-License-Identifier: AGPL-3.0-only
 | 
				
			||||||
			</MkFolder>
 | 
								</MkFolder>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			<MkFolder>
 | 
								<MkFolder>
 | 
				
			||||||
				<template #icon><i class="ph-code ph-bold ph-lg"></i></template>
 | 
									<template #icon><i class="ti ti-code"></i></template>
 | 
				
			||||||
				<template #label>{{ i18n.ts.developer }}</template>
 | 
									<template #label>{{ i18n.ts.developer }}</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
				<div class="_gaps_m">
 | 
									<div class="_gaps_m">
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -55,7 +55,7 @@ SPDX-License-Identifier: AGPL-3.0-only
 | 
				
			||||||
				</MkFolder>
 | 
									</MkFolder>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
				<MkFolder>
 | 
									<MkFolder>
 | 
				
			||||||
					<template #icon><i class="ph-code ph-bold ph-lg"></i></template>
 | 
										<template #icon><i class="ti ti-code"></i></template>
 | 
				
			||||||
					<template #label>{{ i18n.ts._plugin.viewSource }}</template>
 | 
										<template #label>{{ i18n.ts._plugin.viewSource }}</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
					<div class="_gaps_s">
 | 
										<div class="_gaps_s">
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -47,7 +47,7 @@ SPDX-License-Identifier: AGPL-3.0-only
 | 
				
			||||||
			</MkFolder>
 | 
								</MkFolder>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			<MkFolder :defaultOpen="false">
 | 
								<MkFolder :defaultOpen="false">
 | 
				
			||||||
				<template #icon><i class="ph-code ph-bold ph-lg"></i></template>
 | 
									<template #icon><i class="ti ti-code"></i></template>
 | 
				
			||||||
				<template #label>{{ i18n.ts.editCode }}</template>
 | 
									<template #label>{{ i18n.ts.editCode }}</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
				<div class="_gaps_m">
 | 
									<div class="_gaps_m">
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -123,7 +123,7 @@ const headerTabs = computed(() => user.value ? [{
 | 
				
			||||||
}, {
 | 
					}, {
 | 
				
			||||||
	key: 'raw',
 | 
						key: 'raw',
 | 
				
			||||||
	title: 'Raw',
 | 
						title: 'Raw',
 | 
				
			||||||
	icon: 'ph-code ph-bold ph-lg',
 | 
						icon: 'ti ti-code',
 | 
				
			||||||
}] : []);
 | 
					}] : []);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
definePageMetadata(() => ({
 | 
					definePageMetadata(() => ({
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -105,6 +105,7 @@ export function getConfig(): UserConfig {
 | 
				
			||||||
					'ti ti-settings': 'ph-gear ph-bold ph-lg',
 | 
										'ti ti-settings': 'ph-gear ph-bold ph-lg',
 | 
				
			||||||
					'ti ti-link': 'ph-link ph-bold ph-lg',
 | 
										'ti ti-link': 'ph-link ph-bold ph-lg',
 | 
				
			||||||
					'ti ti-key': 'ph-key ph-bold ph-lg',
 | 
										'ti ti-key': 'ph-key ph-bold ph-lg',
 | 
				
			||||||
 | 
										'ti ti-code': 'ph-code ph-bold ph-lg',
 | 
				
			||||||
				},
 | 
									},
 | 
				
			||||||
			}),
 | 
								}),
 | 
				
			||||||
			...process.env.NODE_ENV === 'production'
 | 
								...process.env.NODE_ENV === 'production'
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue