Files
Modrinth-plus/pages/mod/_id/index.vue

30 lines
528 B
Vue
Raw Normal View History

2020-10-20 22:33:49 -07:00
<template>
<div v-compiled-markdown="mod.body" v-highlightjs class="markdown-body"></div>
2020-10-20 22:33:49 -07:00
</template>
<script>
export default {
auth: false,
props: {
mod: {
type: Object,
default() {
return {}
},
},
2020-10-20 22:33:49 -07:00
},
created() {
this.$emit('update:link-bar', [['Description', '']])
2020-10-21 13:43:49 -07:00
},
2020-10-20 22:33:49 -07:00
}
2020-10-21 13:43:49 -07:00
</script>
2020-10-20 22:33:49 -07:00
2020-10-21 13:43:49 -07:00
<style lang="scss" scoped>
2020-10-20 22:33:49 -07:00
.markdown-body {
[WIP] Rework design (#34) * WIP: Redesign the default layout * Merge old & new default layouts * Fix login logic; add proper user controls dropdown * Fix latest version listing (#31) (#32) Co-authored-by: Aeledfyr <45501007+Aeledfyr@users.noreply.github.com> * First pass of design cleanup * Improve ad integration and fix light theme * Begin splitting up variables, change some styling to new mockup * Continue redesign progress * Work on some more pages * Add missing dark theme variables for text * Continue working on modularizing * Continue progress, redo pagination * Fix auth buttons in navbar layout * Continue progress * Continue progress more * Redo ModResult * Scope ModPage :irritater: * Continue Dashboard * Continue progress on Dashboard and cleanup * Add missing variables for dark theme * Small tweaks, cleanup, and continue mod page progress * Fix user not being able to see hidden mods that they own * Start reworking mod creation * Continue revamp of mod creation page * Yank v-html out * Hotfix markdown rendering and some spacing issues * Move legal; continue with mod creation; create reusable footer * Create README.md * Update README.md * Update README.md * Add in basic usage instructions * Fix some stuff * Continue with mod creation; fix some CSS errors * Start user page * Start transition to vue-select; fix a few bugs * Continue mod creation page * Finish mod pages * Add very raw version editing * Mod editing + creation * Fixed versions that were in processing causing a 404 (#39) Co-authored-by: Mikhail Oleynikov <falseresync@gmail.com> Co-authored-by: Aeledfyr <45501007+Aeledfyr@users.noreply.github.com> Co-authored-by: Jai A <jai.a@tuta.io> Co-authored-by: MulverineX <mulverin3@gmail.com> Co-authored-by: diabolical17 <calumproh28@gmail.com> Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
2020-11-30 13:55:01 -08:00
padding: 1rem;
margin-bottom: var(--spacing-card-md);
background: var(--color-raised-bg);
border-radius: var(--size-rounded-card);
2020-10-20 22:33:49 -07:00
}
</style>