Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added NEW version of showing markdown for a community. #551

Merged
merged 4 commits into from
Apr 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions pages/benchmarking/_community/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,6 @@
Tools
</v-badge>
</v-tab>
<v-tab v-if="community.summary" class="justify-start">
<v-icon left> mdi-information-outline </v-icon>
Summary
</v-tab>

<v-tab-item class="ma-5 mt-5 mt-md-0" :transition="false">
<v-skeleton-loader
Expand Down Expand Up @@ -85,15 +81,19 @@
<community-tools-table v-else :tools="tools" />
</v-card>
</v-tab-item>

<v-tab-item
v-if="community.summary"
class="ma-5 mt-5 mt-md-0"
:transition="false"
>
<v-tab v-if="community.summary" class="justify-start">
<v-icon left> mdi-information-outline </v-icon>
Summary
</v-tab>
<v-tab-item class="ma-5 mt-5 mt-md-0" :transition="false">
<v-card outlined class="pa-5" elevation="1">
<v-row no-gutters align="center">
<v-col> <marked-wrapper :markdown="community.summary" /> </v-col>
<v-col>
<marked-wrapper
v-if="community.summary"
:markdown="community.summary"
/>
</v-col>
</v-row>
</v-card>
</v-tab-item>
Expand All @@ -106,24 +106,24 @@

<script>
import { mapGetters } from 'vuex';
import MarkedWrapper from '~/components/Molecules/MarkedWrapper.vue';
import CommunityClassificationTable from '~/components/Communities/CommunityClassificationTable';
import CommunityToolsTable from '~/components/Communities/CommunityToolsTable';
import CommunityDatasetsTable from '~/components/Communities/CommunityDatasetsTable';
import CommunityEventSelector from '~/components/Communities/CommunityEventSelector';
import CommunityInfo from '~/components/Communities/CommunityInfo';
import CommunityEmptyState from '~/components/Communities/CommunityEmptyState';
import MarkedWrapper from '~/components/Molecules/MarkedWrapper.vue';

export default {
name: 'CommunityPage',
components: {
MarkedWrapper,
CommunityClassificationTable,
CommunityToolsTable,
CommunityDatasetsTable,
CommunityEventSelector,
CommunityInfo,
CommunityEmptyState,
MarkedWrapper,
},
computed: {
...mapGetters('community', {
Expand Down
Loading