funkwhale/front/ui-docs/index.md

71 lines
1.6 KiB
Markdown

<script setup lang="ts">
import Layout from '../src/components/ui/Layout.vue'
// import { RouterLink, RouterView } from "vue-router";
// import { createWebHistory, createRouter } from 'vue-router'
// import HomeView from './components/layout.md'
// import AboutView from './components/card.md'
// const routes = [
// { path: '/', component: HomeView },
// { path: '/about', component: AboutView },
// ]
// const router = createRouter({
// history: createWebHistory(),
// routes,
// })
// enhanceApp({app}) {
// app.use(router);
// }
</script>
# Funkwhale design component library
Welcome to the Funkwhale design component library. This repository contains a collection of reusable components written
in [Vue.js](https://vuejs.org) and [Sass](https://sass-lang.com).
<p>
<strong>Current route path:</strong>
<!-- {{ $route.fullPath }} -->
</p>
<!-- <nav>
<RouterLink to="/">Go to Home</RouterLink>
<RouterLink to="/about">Go to About</RouterLink>
</nav> -->
<main>
<!-- <RouterView /> -->
</main>
<Layout stack>
<a href="https://design.funkwhale.audio" style="text-decoration: none">
<fw-card title="Looking for the designs?">
Check out the design system on our Penpot.
</fw-card>
</a>
::: warning Deprecation of Activity, AlbumCard
We are moving some components into the main funkwhale repository. These components will not receive any updates
because they are coupled
with the API:
- Activity
- Album Card
- Artist Card
- Playlist Card
- Podcast Card
- Radio Card
Do not use these components in new projects!
:::
</Layout>
[[toc]]