Skip to content

Commit 4bf0f7f

Browse files
Merge pull request #54 from makeplane/preview
Style: UI & UX updates.
2 parents 8fd5d56 + 5347bae commit 4bf0f7f

29 files changed

+276
-218
lines changed

markdoc/tags.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import { ExpansionTile } from '@/components/ExpansionTile'
88
import { UrlEmbed } from '@/components/UrlEmbed'
99
import React from 'react'
1010
import { InlineCode } from '@/components/Inline-code'
11+
import IconCallout from '@/components/IconCallout'
1112

1213
const tags = {
1314
callout: {
@@ -22,6 +23,15 @@ const tags = {
2223
},
2324
render: Callout,
2425
},
26+
'icon-callout': {
27+
attributes: {
28+
title: { type: String },
29+
icon: { type: String },
30+
image: { type: Boolean, default: false },
31+
className: { type: String, default: '' },
32+
},
33+
render: IconCallout,
34+
},
2535
figure: {
2636
selfClosing: true,
2737
attributes: {

next.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ const nextConfig = {
1616
experimental: {
1717
scrollRestoration: true,
1818
},
19+
images: {
20+
unoptimized: true,
21+
},
1922
}
2023

2124
module.exports = withMarkdoc()(nextConfig)

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"dev": "next dev",
77
"build": "next build",
88
"start": "next start",
9-
"lint": "next lint"
9+
"lint": "next lint",
10+
"export": "next export"
1011
},
1112
"browserslist": "defaults, not ie <= 11",
1213
"dependencies": {
25.8 MB
Loading

public/images/power-k/create.png

151 KB
Loading

public/images/power-k/initial.png

155 KB
Loading
413 KB
Loading
158 KB
Loading

public/images/power-k/search-2.png

80.4 KB
Loading

public/images/power-k/search.png

156 KB
Loading

0 commit comments

Comments
 (0)