mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 15:34:13 +00:00 
			
		
		
		
	replaced ti-cookie
This commit is contained in:
		
							parent
							
								
									e1074c22ba
								
							
						
					
					
						commit
						582f4b01ce
					
				
					 5 changed files with 5 additions and 4 deletions
				
			
		| 
						 | 
					@ -7,7 +7,7 @@ SPDX-License-Identifier: AGPL-3.0-only
 | 
				
			||||||
<div>
 | 
					<div>
 | 
				
			||||||
	<div v-if="game.ready" :class="$style.game">
 | 
						<div v-if="game.ready" :class="$style.game">
 | 
				
			||||||
		<div :class="$style.cps" class="">{{ number(cps) }}cps</div>
 | 
							<div :class="$style.cps" class="">{{ number(cps) }}cps</div>
 | 
				
			||||||
		<div :class="$style.count" class=""><i class="ph-cookie ph-bold ph-lg" style="font-size: 70%;"></i> {{ number(cookies) }}</div>
 | 
							<div :class="$style.count" class=""><i class="ti ti-cookie" style="font-size: 70%;"></i> {{ number(cookies) }}</div>
 | 
				
			||||||
		<button v-click-anime class="_button" @click="onClick">
 | 
							<button v-click-anime class="_button" @click="onClick">
 | 
				
			||||||
			<img src="/client-assets/cookie.png" :class="$style.img">
 | 
								<img src="/client-assets/cookie.png" :class="$style.img">
 | 
				
			||||||
		</button>
 | 
							</button>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -18,7 +18,7 @@ import { definePageMetadata } from '@/scripts/page-metadata.js';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
definePageMetadata(() => ({
 | 
					definePageMetadata(() => ({
 | 
				
			||||||
	title: '🍪👈',
 | 
						title: '🍪👈',
 | 
				
			||||||
	icon: 'ph-cookie ph-bold ph-lg',
 | 
						icon: 'ti ti-cookie',
 | 
				
			||||||
}));
 | 
					}));
 | 
				
			||||||
</script>
 | 
					</script>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -26,7 +26,7 @@ function toolsMenuItems(): MenuItem[] {
 | 
				
			||||||
		type: 'link',
 | 
							type: 'link',
 | 
				
			||||||
		to: '/clicker',
 | 
							to: '/clicker',
 | 
				
			||||||
		text: '🍪👈',
 | 
							text: '🍪👈',
 | 
				
			||||||
		icon: 'ph-cookie ph-bold ph-lg',
 | 
							icon: 'ti ti-cookie',
 | 
				
			||||||
	}, ($i && ($i.isAdmin || $i.policies.canManageCustomEmojis)) ? {
 | 
						}, ($i && ($i.isAdmin || $i.policies.canManageCustomEmojis)) ? {
 | 
				
			||||||
		type: 'link',
 | 
							type: 'link',
 | 
				
			||||||
		to: '/custom-emojis-manager',
 | 
							to: '/custom-emojis-manager',
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -5,7 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<template>
 | 
					<template>
 | 
				
			||||||
<MkContainer :showHeader="widgetProps.showHeader" class="mkw-clicker">
 | 
					<MkContainer :showHeader="widgetProps.showHeader" class="mkw-clicker">
 | 
				
			||||||
	<template #icon><i class="ph-cookie ph-bold ph-lg"></i></template>
 | 
						<template #icon><i class="ti ti-cookie"></i></template>
 | 
				
			||||||
	<template #header>Clicker</template>
 | 
						<template #header>Clicker</template>
 | 
				
			||||||
	<MkClickerGame/>
 | 
						<MkClickerGame/>
 | 
				
			||||||
</MkContainer>
 | 
					</MkContainer>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -169,6 +169,7 @@ export function getConfig(): UserConfig {
 | 
				
			||||||
					'ti ti-plane-departure': 'ph-airplane-takeoff ph-bold ph-lg',
 | 
										'ti ti-plane-departure': 'ph-airplane-takeoff ph-bold ph-lg',
 | 
				
			||||||
					'ti ti-minus': 'ph-minus ph-bold ph-lg',
 | 
										'ti ti-minus': 'ph-minus ph-bold ph-lg',
 | 
				
			||||||
					'ti ti-device-tv': 'ph-television ph-bold ph-lg',
 | 
										'ti ti-device-tv': 'ph-television ph-bold ph-lg',
 | 
				
			||||||
 | 
										'ti ti-cookie': 'ph-cookie ph-bold ph-lg',
 | 
				
			||||||
				},
 | 
									},
 | 
				
			||||||
			}),
 | 
								}),
 | 
				
			||||||
			...process.env.NODE_ENV === 'production'
 | 
								...process.env.NODE_ENV === 'production'
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue