diff --git a/src/app.jsx b/src/app.jsx
index fbd9c061e..5a009f016 100644
--- a/src/app.jsx
+++ b/src/app.jsx
@@ -112,6 +112,15 @@ function Page() {
/>
);
}
+ // ?page=blog
+ case "blog": {
+ return (
+
404
; diff --git a/src/devhub/components/molecule/Input.jsx b/src/devhub/components/molecule/Input.jsx index 69b27c7e2..65b8c9d78 100644 --- a/src/devhub/components/molecule/Input.jsx +++ b/src/devhub/components/molecule/Input.jsx @@ -14,7 +14,7 @@ const TextInput = ({ ...otherProps }) => { const typeAttribute = - type === "text" || type === "password" || type === "number" ? type : "text"; + type === "text" || type === "password" || type === "number" || type === "date" ? type : "text"; const renderedLabels = [ (label?.length ?? 0) > 0 ? ( diff --git a/src/devhub/entity/addon/blog/Card.jsx b/src/devhub/entity/addon/blog/Card.jsx index 31d408504..d37f3a3f6 100644 --- a/src/devhub/entity/addon/blog/Card.jsx +++ b/src/devhub/entity/addon/blog/Card.jsx @@ -1,39 +1,148 @@ const cidToURL = (cid) => `https://ipfs.near.social/ipfs/${cid}`; -function Card({ title, content, author, image, community, tags }) { - return ( -- Author: {author || "AUTHOR"} -
- -Community: {community || "COMMUNITY"}
+const Description = styled.div` + align-self: stretch; + height: 103px; + padding-bottom: 16px; + display: flex; + flex-direction: column; + justify-content: flex-start; + align-items: center; + gap: 16px; +`; - - Read More - -+ Written by {author || "AUTHOR"} in{" "} + {community || "COMMUNITY"} +
- Written by {author || "AUTHOR"} in{" "} - {community || "COMMUNITY"} -
-