-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
using @nuxt/ui, @nuxt/image and other updates
- Loading branch information
1 parent
d5445f6
commit 0d065c1
Showing
10 changed files
with
1,352 additions
and
34 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,3 +55,4 @@ Network Trash Folder | |
Temporary Items | ||
.apdisk | ||
playground/.queries/ | ||
playground/app/.queries/ |
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
Large diffs are not rendered by default.
Oops, something went wrong.
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,28 @@ | ||
<script setup lang="ts"> | ||
import type { CoreHeading } from '#wpnuxt/blocks' | ||
defineProps<{ | ||
block: CoreHeading | ||
}>() | ||
</script> | ||
|
||
<template> | ||
<template v-if="block.attributes.level === 1"> | ||
<h1 v-sanitize="block.attributes.content" /> | ||
</template> | ||
<template v-if="block.attributes.level === 2"> | ||
<h2 v-sanitize="block.attributes.content" /> | ||
</template> | ||
<template v-if="block.attributes.level === 3"> | ||
<h3 v-sanitize="block.attributes.content" /> | ||
</template> | ||
<template v-if="block.attributes.level === 4"> | ||
<h4 v-sanitize="block.attributes.content" /> | ||
</template> | ||
<template v-if="block.attributes.level === 5"> | ||
<h5 v-sanitize="block.attributes.content" /> | ||
</template> | ||
<template v-if="block.attributes.level === 6"> | ||
<h6 v-sanitize="block.attributes.content" /> | ||
</template> | ||
</template> |
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,20 @@ | ||
fragment CoreHeading on CoreHeading { | ||
attributes { | ||
align | ||
anchor | ||
backgroundColor | ||
className | ||
content | ||
cssClassName | ||
fontFamily | ||
fontSize | ||
gradient | ||
level | ||
lock | ||
metadata | ||
placeholder | ||
style | ||
textAlign | ||
textColor | ||
} | ||
} |
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