Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Commit

Permalink
Content page component design fixes (#1172)
Browse files Browse the repository at this point in the history
Co-authored-by: sarayourfriend <24264157+sarayourfriend@users.noreply.github.com>
Co-authored-by: Zack Krida <zackkrida@pm.me>
  • Loading branch information
3 people authored Mar 24, 2022
1 parent e73839e commit 2679c12
Show file tree
Hide file tree
Showing 13 changed files with 785 additions and 834 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
"@pinia/nuxt": "^0.1.8",
"@popperjs/core": "^2.11.2",
"@tailwindcss/line-clamp": "^0.3.1",
"@tailwindcss/typography": "^0.5.2",
"@wordpress/is-shallow-equal": "^4.3.1",
"axios": "^0.26.1",
"axios-mock-adapter": "^1.20.0",
Expand Down
21 changes: 21 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/components/VButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ export default VButton
}
a.button {
@apply no-underline;
@apply no-underline hover:no-underline;
}
.primary {
Expand Down
17 changes: 17 additions & 0 deletions src/components/VContentPage.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<template>
<div class="pt-5 md:pt-10" dir="ltr">
<div
class="px-6 lg:px-0 mb-10 lg:mb-30 md:max-w-4xl xl:max-w-5xl prose prose-sm md:prose-base mx-auto max-w-none prose-headings:font-bold lg:prose-headings:text-3xl prose-h1:text-4xl prose-h1:text-bold lg:prose-h1:text-6xl md:prose-h1:mb-10 prose-h3:text-2xl prose-h3:font-semibold md:prose-h3:mt-10"
>
<slot default />
</div>
</div>
</template>

<script lang="ts">
import { defineComponent } from '@nuxtjs/composition-api'
export default defineComponent({
name: 'VContentPage',
})
</script>
Loading

0 comments on commit 2679c12

Please sign in to comment.