Skip to content

Commit

Permalink
new separate chat categories for images and project discussions
Browse files Browse the repository at this point in the history
  • Loading branch information
tempe-techie committed Jan 21, 2024
1 parent 632bc5e commit 0271f28
Show file tree
Hide file tree
Showing 6 changed files with 78 additions and 7 deletions.
22 changes: 22 additions & 0 deletions components/sidebars/SidebarLeft.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,28 @@
</NuxtLink>
</ul>

<ul class="list-group">
<NuxtLink
to="/memes-nfts"
class="list-group-item cursor-pointer hover-color bg-light border-0"
:class="$route.path.startsWith('/memes-nfts') ? 'active' : ''"
@click="closeLeftSidebar"
>
Share images & NFTs
</NuxtLink>
</ul>

<ul class="list-group">
<NuxtLink
to="/shill"
class="list-group-item cursor-pointer hover-color bg-light border-0"
:class="$route.path.startsWith('/shill') ? 'active' : ''"
@click="closeLeftSidebar"
>
Shill & discuss projects
</NuxtLink>
</ul>

<hr />

<!-- Home
Expand Down
8 changes: 4 additions & 4 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,15 @@ export default defineNuxtConfig({
nftLaunchpadLatestItems: 8, // number of latest NFTs to show in the NFT launchpad
nftOrbisContext: "kjzl6cwe1jw148e97zfluxmt9bvzq51cx6dkbt0ghd6w6b6fjhl8c7ont5kh1uf", // Orbis context for NFT collection pages
orbisCategories: [ // use only alphanumeric ASCII characters for slugs! (no spaces, only dash is allowed)
{ "slug": "all", "title": "All posts", "hidden": false }, // not a real tag, just denotes the absence of a tag (always keep it here)
{ "slug": "all", "title": "All posts", "hidden": true }, // not a real tag, just denotes the absence of a tag (always keep it here)
{ "slug": "general", "title": "General discussion", "hidden": false },
{ "slug": "shill", "title": "Shill & discuss projects", "hidden": true },
{ "slug": "nfts", "title": "Memes & NFTs", "hidden": false }, // keep this category for the purpose of the NFT launchpad
{ "slug": "nfts", "title": "Memes & NFTs", "hidden": true }, // keep this category for the purpose of the NFT launchpad
{ "slug": "governance", "title": "Governance", "hidden": true },
{ "slug": "food", "title": "Food & recipes", "hidden": true },
{ "slug": "movie", "title": "Movies & Music", "hidden": false },
{ "slug": "movie", "title": "Movies & Music", "hidden": true },
{ "slug": "music", "title": "Music", "hidden": true },
{ "slug": "random", "title": "Random", "hidden": false },
{ "slug": "random", "title": "Random", "hidden": true },
],
orbisContext: "kjzl6cwe1jw147rlhk9v8qhkukoe5scqxj670jqoafpuaiu5jy28o8fz0y4bkbm", // production context
orbisTest: false, // if true, test context will be used instead of the production one
Expand Down
2 changes: 1 addition & 1 deletion pages/index.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<ChatFeed class="mt-1" :showQuotedPost="$config.showRepliesOnHomepage" :orbisContext="getOrbisContext" />
<ChatFeed class="mt-1" :allPosts="true" :showQuotedPost="$config.showRepliesOnHomepage" :orbisContext="getOrbisContext" />
</template>

<script>
Expand Down
25 changes: 25 additions & 0 deletions pages/memes-nfts.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<template>
<Head>
<Title>Images & NFTs | {{ $config.projectMetadataTitle }}</Title>
<Meta property="og:title" :content="'Images & NFTs | ' + $config.projectMetadataTitle" />
</Head>

<ChatFeed
class="mt-1"
:showQuotedPost="$config.showRepliesOnHomepage"
:allPosts="true"
orbisContext="kjzl6cwe1jw1479cht4pqcgpqt0j9ly8m8vva27cksf2f79l5jeir1hu501uwnk"
/>
</template>

<script>
import ChatFeed from "../components/chat/ChatFeed.vue"
export default {
name: "memesnfts",
components: {
ChatFeed
}
}
</script>
3 changes: 1 addition & 2 deletions pages/nft/create.vue
Original file line number Diff line number Diff line change
Expand Up @@ -394,8 +394,7 @@ export default {
const options = {
body: "I have launched a new NFT collection: " + this.cName + " <br /><br />Check it out here 👇",
context: this.$config.orbisContext,
tags: [{ "slug": "nfts", "title": "Memes & NFTs" }],
context: "kjzl6cwe1jw1479cht4pqcgpqt0j9ly8m8vva27cksf2f79l5jeir1hu501uwnk", // memes & nfts chat section
data: {
type: "nftCollectionCreated",
authorAddress: String(this.address),
Expand Down
25 changes: 25 additions & 0 deletions pages/shill.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<template>
<Head>
<Title>Shill and discuss projects | {{ $config.projectMetadataTitle }}</Title>
<Meta property="og:title" :content="'Shill and discuss projects | ' + $config.projectMetadataTitle" />
</Head>

<ChatFeed
class="mt-1"
:showQuotedPost="$config.showRepliesOnHomepage"
:allPosts="true"
orbisContext="kjzl6cwe1jw14bdmgu97ybshws867hujblq8hx11jl8biypqokfhxv1ppwswhhx"
/>
</template>

<script>
import ChatFeed from "../components/chat/ChatFeed.vue"
export default {
name: "shill",
components: {
ChatFeed
}
}
</script>

0 comments on commit 0271f28

Please sign in to comment.