diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..1ebe336 --- /dev/null +++ b/.env.example @@ -0,0 +1,3 @@ +NEXT_PUBLIC_ORBIS_CONTEXT="" +PINATA_API_KEY="" +PINATA_SECRET_API_KEY="" \ No newline at end of file diff --git a/components/ArticleContent.jsx b/components/ArticleContent.jsx index 1d0c461..e1381cf 100644 --- a/components/ArticleContent.jsx +++ b/components/ArticleContent.jsx @@ -36,14 +36,14 @@ export default function ArticleContent({post}) {
{/* Post header */}
-

{post.content.title}

+

{post.content.title}

{/** Article Metadata */}
{/* Post date & creator details */} · - + · {/** Proof link to Cerscan */} diff --git a/components/Editor.js b/components/Editor.js index 49d4eb0..574b504 100644 --- a/components/Editor.js +++ b/components/Editor.js @@ -401,14 +401,14 @@ const Categories = ({category, setCategory}) => { setLoading(true); let { data, error } = await orbis.api.from("orbis_contexts").select().eq('context', global.orbis_context).order('created_at', { ascending: false }); - setCategories(data); + setCategories(data.reverse()); setLoading(false); } }, []); return(
- Which category do you want to share your post into? + Which category do you want to share your post into?
{categories.map((cat) => { return ( diff --git a/components/Footer.jsx b/components/Footer.jsx index 651d2c0..de73850 100644 --- a/components/Footer.jsx +++ b/components/Footer.jsx @@ -11,21 +11,16 @@ function Footer() {
{/* Logo */} - - + + Web3 of Trust
{/* Right links */}
  • - - Learn more - -
  • -
  • - - Go to useorbis.com + + Web3 of Trust
  • @@ -56,7 +51,7 @@ function Footer() {
{/* Copyright */} -
Copyright © Orbis Labs. All rights reserved.
+
Copyright © Web3 of Trust. All rights reserved.
diff --git a/components/Header.jsx b/components/Header.jsx index b32d865..f9c5a32 100644 --- a/components/Header.jsx +++ b/components/Header.jsx @@ -3,6 +3,7 @@ import Link from 'next/link'; import { Logo, CommunityIcon, PanelRight, SearchIcon, MenuVerticalIcon, LoadingCircle } from "./Icons"; import useOutsideClick from "../hooks/useOutsideClick"; import { useOrbis, User, UserPopup, Chat } from "@orbisclub/components"; +import Image from 'next/image'; function Header() { const { orbis, user, setConnectModalVis } = useOrbis(); @@ -17,29 +18,24 @@ function Header() { {/* Site branding */}
{/* Logo container */} - - + + Web3 of Trust Logo + Web3 of Trust
{/* Desktop navigation */} -