-
-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add new store page for modpacks
- Loading branch information
Showing
96 changed files
with
2,981 additions
and
1,328 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<template> | ||
<v-chip | ||
label | ||
:small="small" | ||
:outlined="outlined" | ||
@click="$emit('click')" | ||
> | ||
<v-avatar | ||
v-if="item.icon?.startsWith('http')" | ||
left | ||
> | ||
<v-img | ||
:src="item.icon" | ||
/> | ||
</v-avatar> | ||
<v-avatar | ||
v-else-if="item.icon" | ||
left | ||
v-html="item.icon" | ||
/> | ||
{{ item.text }} | ||
</v-chip> | ||
</template> | ||
<script setup lang="ts"> | ||
export interface CategoryChipProps { | ||
text: string | ||
icon?: string | ||
} | ||
defineProps<{ | ||
item: CategoryChipProps | ||
small?: boolean | ||
outlined?: boolean | ||
}>() | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<template> | ||
<span> | ||
<div class="text-center text-2xl font-bold text-gray-600 dark:text-gray-300"> | ||
{{ value.value }} | ||
</div> | ||
<div | ||
class="flex w-full items-center justify-center" | ||
> | ||
<v-icon | ||
class="material-icons-outlined" | ||
left | ||
small | ||
> | ||
{{ value.icon }} | ||
</v-icon> | ||
<span class="whitespace-nowrap">{{ value.name }}</span> | ||
</div> | ||
</span> | ||
</template> | ||
<script setup lang="ts"> | ||
export interface Highlight { | ||
value: string | number | ||
icon: string | ||
name: string | ||
} | ||
defineProps<{ | ||
value: Highlight | ||
}>() | ||
</script> |
Oops, something went wrong.