mirror of
https://github.com/urbit/developers.urbit.org.git
synced 2024-09-11 13:55:59 +03:00
avoid route collision
This commit is contained in:
parent
09b52ce8ae
commit
01565e5db6
@ -2,11 +2,11 @@ import { sigil, reactRenderer } from "@tlon/sigil-js";
|
||||
|
||||
export default function Sigil(props) {
|
||||
return (
|
||||
<div className="p-4 bg-black inline-block rounded-xl">
|
||||
<div className="p-4 bg-black inline-block rounded-lg">
|
||||
{sigil({
|
||||
patp: props.patp,
|
||||
renderer: reactRenderer,
|
||||
size: 48,
|
||||
size: 32,
|
||||
margin: false,
|
||||
colors: ["black", "white"],
|
||||
})}
|
||||
|
@ -7,5 +7,5 @@ export const POSTS_PATH = path.join(process.cwd(), "content");
|
||||
// postFilePaths is the list of all mdx files inside the POSTS_PATH directory
|
||||
export const postFilePaths = fs
|
||||
.readdirSync(POSTS_PATH)
|
||||
// Only include md(x) files
|
||||
.filter((path) => /\.mdx?$/.test(path));
|
||||
// Only include mdx files
|
||||
.filter((path) => /\.mdx$/.test(path));
|
||||
|
@ -7,6 +7,7 @@ import Container from "../components/Container";
|
||||
import Section from "../components/Section";
|
||||
import SingleColumn from "../components/SingleColumn";
|
||||
import Sigil from "../components/Sigil";
|
||||
|
||||
export default function Post() {
|
||||
const source = require(`../content/community.md`);
|
||||
const { content, data } = matter(source.default);
|
||||
|
Loading…
Reference in New Issue
Block a user