It finally builds, yay!

This commit is contained in:
Crimekillz 2024-04-06 00:33:05 +02:00
parent ca1fb5c377
commit 32f9f41864
4 changed files with 27 additions and 32 deletions

View File

@ -1,34 +1,34 @@
<template>
<div>
<div v-if="achievements" :class=".root">
<div v-for="achievement in achievements" :key="achievement" :class=".achievement" class="_panel">
<div :class=".icon">
<div :class="[.iconFrame, ['iconFrame_' + ACHIEVEMENT_BADGES[achievement.name].frame]]">
<div :class="[.iconInner]" :style="{ background: ACHIEVEMENT_BADGES[achievement.name].bg }">
<img :class=".iconImg" :src="ACHIEVEMENT_BADGES[achievement.name].img">
<div v-if="achievements" :class="'.root'">
<div v-for="achievement in achievements" :key="achievement" :class="'.achievement'" class="_panel">
<div :class="'.icon'">
<div :class="['.iconFrame', ['iconFrame_' + ACHIEVEMENT_BADGES[achievement.name].frame]]">
<div :class="['.iconInner']" :style="{ background: ACHIEVEMENT_BADGES[achievement.name].bg }">
<img :class="'.iconImg'" :src="ACHIEVEMENT_BADGES[achievement.name].img">
</div>
</div>
</div>
<div :class=".body">
<div :class=".header">
<span :class=".title">{{ i18n.ts._achievements._types['_' + achievement.name].title }}</span>
<span :class=".time">
<div :class="'.body'">
<div :class="'.header'">
<span :class="'.title'">{{ i18n.ts._achievements._types['_' + achievement.name].title }}</span>
<span :class="'.time'">
<time v-tooltip="new Date(achievement.unlockedAt).toLocaleString()">{{ new Date(achievement.unlockedAt).getFullYear() }}/{{ new Date(achievement.unlockedAt).getMonth() + 1 }}/{{ new Date(achievement.unlockedAt).getDate() }}</time>
</span>
</div>
<div :class=".description">{{ i18n.ts._achievements._types['_' + achievement.name].description }}</div>
<div v-if="i18n.ts._achievements._types['_' + achievement.name].flavor" :class=".flavor">{{ i18n.ts._achievements._types['_' + achievement.name].flavor }}</div>
<div :class="'.description'">{{ i18n.ts._achievements._types['_' + achievement.name].description }}</div>
<div v-if="i18n.ts._achievements._types['_' + achievement.name].flavor" :class="'.flavor'">{{ i18n.ts._achievements._types['_' + achievement.name].flavor }}</div>
</div>
</div>
<template v-if="withLocked">
<div v-for="achievement in lockedAchievements" :key="achievement" :class="[.achievement, .locked]" class="_panel" @click="achievement === 'clickedClickHere' ? clickHere() : () => {}">
<div :class=".icon">
<div v-for="achievement in lockedAchievements" :key="achievement" :class="['.achievement', '.locked']" class="_panel" @click="achievement === 'clickedClickHere' ? clickHere() : () => {}">
<div :class="'.icon'">
</div>
<div :class=".body">
<div :class=".header">
<span :class=".title">???</span>
<div :class="'.body'">
<div :class="'.header'">
<span :class="'.title'">???</span>
</div>
<div :class=".description">???</div>
<div :class="'.description'">???</div>
</div>
</div>
</template>

View File

@ -225,7 +225,7 @@
<MkA
v-if="notification.type === 'achievementEarned'"
class="text"
:to="/my/achievements">
:to="'/my/achievements'">
{{ i18n.ts._achievements._types['_' + notification.achievement].title }}
</MkA>
<span

View File

@ -1,17 +1,12 @@
const chalk = require("chalk");
const themeColor = chalk.hex("#2068ba");
console.log(chalk.magenta(" ______ __ ____ "));
console.log(chalk.magenta(" /_ __/________ ______/ /_ / __ \____ __________"));
console.log(chalk.magenta(" / / / ___/ __ `/ ___/ __ \/ /_/ / __ \/ ___/ ___/"));
console.log(chalk.magenta(" / / / / / /_/ (__ ) / / / ____/ /_/ (__ |__ ) "));
console.log(chalk.magenta("/_/ /_/ \__,_/____/_/ /_/_/ \____/____/____/ "));
console.log(chalk.magenta(" "));
console.log(themeColor(" ____ __ _ "));
console.log(themeColor(" / _/_______ _____/ /_ _____(_)___ ___ ____ "));
console.log(themeColor(" / // ___/ _ \\/ ___/ __ \\/ ___/ / __ `__ \\/ __ \\"));
console.log(themeColor(" _/ // /__/ __(__ ) / / / / / / / / / / / /_/ /"));
console.log(themeColor("/___/\\___/\\___/____/_/ /_/_/ /_/_/ /_/ /_/ .___/ "));
console.log(themeColor(" /_/ "));
console.log(" Currently building Iceshrimp!");
console.log(
chalk.rgb(255, 136, 0)(" Hang on for a moment, as this may take a while."),
);
console.log(chalk.magenta("Currently building TrashPoss!"));
console.log(chalk.magenta("Grab some stims, put on some music, as this may take a while."));
console.log("");