Skip to content

Commit

Permalink
Hardcode values for homepage tabs (#527)
Browse files Browse the repository at this point in the history
  • Loading branch information
willyogo authored and j-paterson committed Dec 24, 2024
1 parent 94aa594 commit 0c96048
Show file tree
Hide file tree
Showing 2 changed files with 81 additions and 81 deletions.
102 changes: 51 additions & 51 deletions src/constants/initialHomebaseTabsConfig.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -224,11 +224,11 @@ export const TAB1_HOMEBASE_CONFIG: SpaceConfig = {
css: '',
fidgetBorderColor: 'rgb(255, 98, 98)',
fidgetBorderWidth: '2px',
fidgetShadow: 'var(--user-theme-fidget-shadow)',
fontColor: 'var(--user-theme-font-color)',
fontFamily: 'var(--user-theme-font)',
headingsFontColor: 'var(--user-theme-headings-font-color)',
headingsFontFamily: 'var(--user-theme-headings-font)',
fidgetShadow: 'Medium',
fontColor: '#000000',
fontFamily: 'Quicksand',
headingsFontColor: '#000000',
headingsFontFamily: 'Roboto',
text: 'You can embed any website or app that allows it. Try it out with the portal for $SPACE, the governance & utility token for nounspace.',
title: 'This is a Web Embed Fidget ➡️',
urlColor: 'blue'
Expand All @@ -246,11 +246,11 @@ export const TAB1_HOMEBASE_CONFIG: SpaceConfig = {
css: '',
fidgetBorderColor: 'rgb(255, 180, 92)',
fidgetBorderWidth: '2px',
fidgetShadow: 'var(--user-theme-fidget-shadow)',
fontColor: 'var(--user-theme-font-color)',
fontFamily: 'var(--user-theme-font)',
headingsFontColor: 'var(--user-theme-headings-font-color)',
headingsFontFamily: 'var(--user-theme-headings-font)',
fidgetShadow: 'Medium',
fontColor: '#000000',
fontFamily: 'Quicksand',
headingsFontColor: '#000000',
headingsFontFamily: 'Roboto',
text: 'As an open-source and community-owned platform, **everyone** is invited to join the community and contribute to building the future of social.\n\nIf you have any questions, join the community [Discord](https://discord.gg/eYQeXU2WuH) or tag [@nounspacetom](https://nounspace.com/s/nounspacetom) in a cast.\n',
title: '',
urlColor: 'blue'
Expand All @@ -268,11 +268,11 @@ export const TAB1_HOMEBASE_CONFIG: SpaceConfig = {
css: '',
fidgetBorderColor: 'rgba(253, 228, 65, 1)',
fidgetBorderWidth: '2px',
fidgetShadow: 'var(--user-theme-fidget-shadow)',
fontColor: 'var(--user-theme-font-color)',
fontFamily: 'var(--user-theme-font)',
headingsFontColor: 'var(--user-theme-headings-font-color)',
headingsFontFamily: 'var(--user-theme-headings-font)',
fidgetShadow: 'Medium',
fontColor: '#000000',
fontFamily: 'Quicksand',
headingsFontColor: '#000000',
headingsFontFamily: 'Roboto',
text: 'Use it to embed any video from Youtube or Vimeo.',
title: 'This is a Video Fidget ⬆️ ',
urlColor: 'blue'
Expand All @@ -290,11 +290,11 @@ export const TAB1_HOMEBASE_CONFIG: SpaceConfig = {
css: '',
fidgetBorderColor: 'rgba(8, 188, 249, 1)',
fidgetBorderWidth: '2px',
fidgetShadow: 'var(--user-theme-fidget-shadow)',
fontColor: 'var(--user-theme-font-color)',
fontFamily: 'var(--user-theme-font)',
headingsFontColor: 'var(--user-theme-headings-font-color)',
headingsFontFamily: 'var(--user-theme-headings-font)',
fidgetShadow: 'Medium',
fontColor: '#000000',
fontFamily: 'Quicksand',
headingsFontColor: '#000000',
headingsFontFamily: 'Roboto',
text: 'Filter it to show any user or channel on Farcaster or X.',
title: '⬅️ This is a Feed Fidget',
urlColor: 'blue'
Expand All @@ -312,11 +312,11 @@ export const TAB1_HOMEBASE_CONFIG: SpaceConfig = {
css: '',
fidgetBorderColor: 'rgba(155, 94, 229, 1)',
fidgetBorderWidth: '2px',
fidgetShadow: 'var(--user-theme-fidget-shadow)',
fontColor: 'var(--user-theme-font-color)',
fontFamily: 'var(--user-theme-font)',
headingsFontColor: 'var(--user-theme-headings-font-color)',
headingsFontFamily: 'var(--user-theme-headings-font)',
fidgetShadow: 'Medium',
fontColor: '#000000',
fontFamily: 'Quicksand',
headingsFontColor: '#000000',
headingsFontFamily: 'Roboto',
text: 'The customizable Farcaster client inspired by Myspace.\n\nLog in with Farcaster to customize the look, sound, and functionality of your Feed and Profile Space with **Themes**, **Fidgets** (aka mini-apps), and **Tabs**.',
title: 'GM, and welcome to nounspace 🚀 👾',
urlColor: 'blue'
Expand All @@ -336,10 +336,10 @@ export const TAB1_HOMEBASE_CONFIG: SpaceConfig = {
feedType: 'filter',
fidgetBorderColor: 'rgba(240, 93, 181, 1)',
fidgetBorderWidth: '4px',
fidgetShadow: 'var(--user-theme-fidget-shadow)',
fidgetShadow: 'Medium',
filterType: 'channel_id',
fontColor: 'var(--user-theme-font-color)',
fontFamily: 'var(--user-theme-font)',
fontColor: '#000000',
fontFamily: 'Quicksand',
selectPlatform: {
icon: '/images/farcaster.jpeg',
name: 'Farcaster'
Expand All @@ -356,10 +356,10 @@ export const TAB1_HOMEBASE_CONFIG: SpaceConfig = {
data: {},
editable: true,
settings: {
background: 'var(--user-theme-fidget-background)',
background: 'rgba(255, 255, 255, 0.87)',
fidgetBorderColor: 'rgba(0, 227, 196, 1)',
fidgetBorderWidth: '4px',
fidgetShadow: 'var(--user-theme-fidget-shadow)',
fidgetShadow: 'Medium',
size: 0.6,
url: 'https://space.nounspace.com'
}
Expand Down Expand Up @@ -576,8 +576,8 @@ export const FIDGETS_TAB_HOMEBASE_CONFIG: SpaceConfig = {
settings: {
background: "rgba(119, 99, 99, 0)",
fidgetBorderColor: "rgba(0, 0, 0, 0)",
fidgetBorderWidth: "var(--user-theme-fidget-border-width)",
fidgetShadow: "var(--user-theme-fidget-shadow)",
fidgetBorderWidth: "2px",
fidgetShadow: "Medium",
size: 0.6,
url: "https://vimeo.com/1011777733?share=copy",
},
Expand All @@ -595,12 +595,12 @@ export const FIDGETS_TAB_HOMEBASE_CONFIG: SpaceConfig = {
fidgetBorderColor: "rgb(6, 219, 19)",
fidgetBorderWidth: "2px",
fidgetShadow: "0 4px 8px rgba(0,0,0,0.25)",
fontColor: "var(--user-theme-font-color)",
fontColor: "#000000",
fontFamily: "'__Noto_Serif_276ada', '__Noto_Serif_Fallback_276ada'",
headingsFontColor: "var(--user-theme-headings-font-color)",
headingsFontColor: "#000000",
headingsFontFamily:
"'__Noto_Serif_276ada', '__Noto_Serif_Fallback_276ada'",
itemBackground: "var(--user-theme-fidget-background)",
itemBackground: "#FFFFFF",
itemBorderColor: "rgb(1, 172, 140)",
rssUrl: "https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml",
},
Expand All @@ -613,7 +613,7 @@ export const FIDGETS_TAB_HOMEBASE_CONFIG: SpaceConfig = {
data: {},
editable: true,
settings: {
background: "var(--user-theme-fidget-background)",
background: "#FFFFFF",
fidgetBorderColor: "rgb(255, 10, 173)",
fidgetBorderWidth: "4px",
fidgetShadow: "0 5px 15px rgba(0,0,0,0.55)",
Expand Down Expand Up @@ -647,7 +647,7 @@ export const FIDGETS_TAB_HOMEBASE_CONFIG: SpaceConfig = {
css: "",
fidgetBorderColor: "rgb(62, 153, 245)",
fidgetBorderWidth: "2px",
fidgetShadow: "var(--user-theme-fidget-shadow)",
fidgetShadow: "Medium",
headingsFontFamily: "Londrina Solid",
itemBackground: "rgba(75, 82, 88, 0)",
links: [
Expand Down Expand Up @@ -854,10 +854,10 @@ export const PRESS_TAB_HOME_CONFIG: SpaceConfig = {
data: {},
editable: true,
settings: {
background: "var(--user-theme-fidget-background)",
fidgetBorderColor: "var(--user-theme-fidget-border-color)",
fidgetBorderWidth: "var(--user-theme-fidget-border-width)",
fidgetShadow: "var(--user-theme-fidget-shadow)",
background: "#FFFFFF",
fidgetBorderColor: "#90a5b9",
fidgetBorderWidth: "1px",
fidgetShadow: "None",
url: "https://paragraph.xyz/@nounspace",
},
},
Expand Down Expand Up @@ -1025,7 +1025,7 @@ export const PRESS_TAB_HOME_CONFIG: SpaceConfig = {
data: {},
editable: true,
settings: {
background: "var(--user-theme-fidget-background)",
background: "#FFFFFF",
text: "nounspace is a decentralized and open-source Social App funded by Nouns DAO and inspired by the customizability of Myspace. nounspace is owned and governed by the community of [$SPACE](https://nounspace.com/s/spacetoken) holders, and is powered by [Farcaster](https://www.farcaster.xyz/).",
title: "wtf is nounspace?",
},
Expand Down Expand Up @@ -1167,15 +1167,15 @@ export const NOUNS_TAB_HOMEBASE_CONFIG: SpaceConfig = {
editable: true,
settings: {
Xhandle: "",
background: "var(--user-theme-fidget-background)",
background: "#FFFFFF",
channel: "thenounsquare",
feedType: "filter",
fidgetBorderColor: "rgba(255, 109, 109, 1)",
fidgetBorderWidth: "2px",
fidgetShadow: "0 2px 5px rgba(0,0,0,0.15)",
filterType: "channel_id",
fontColor: "var(--user-theme-font-color)",
fontFamily: "var(--user-theme-font)",
fontColor: "#000000",
fontFamily: "Inter",
selectPlatform: { icon: "/images/farcaster.jpeg", name: "Farcaster" },
style: "light",
urlColor: "blue",
Expand All @@ -1191,15 +1191,15 @@ export const NOUNS_TAB_HOMEBASE_CONFIG: SpaceConfig = {
editable: true,
settings: {
Xhandle: "",
background: "var(--user-theme-fidget-background)",
background: "#FFFFFF",
channel: "nouns",
feedType: "filter",
fidgetBorderColor: "rgba(255, 109, 109, 1)",
fidgetBorderWidth: "2px",
fidgetShadow: "0 2px 5px rgba(0,0,0,0.15)",
filterType: "channel_id",
fontColor: "var(--user-theme-font-color)",
fontFamily: "var(--user-theme-font)",
fontColor: "#000000",
fontFamily: "Inter",
selectPlatform: { icon: "/images/farcaster.jpeg", name: "Farcaster" },
style: "light",
urlColor: "blue",
Expand All @@ -1214,7 +1214,7 @@ export const NOUNS_TAB_HOMEBASE_CONFIG: SpaceConfig = {
data: {},
editable: true,
settings: {
background: "var(--user-theme-fidget-background)",
background: "#FFFFFF",
fidgetBorderColor: "rgba(255, 109, 109, 1)",
fidgetBorderWidth: "2px",
fidgetShadow: "0 2px 5px rgba(0,0,0,0.15)",
Expand All @@ -1235,7 +1235,7 @@ export const NOUNS_TAB_HOMEBASE_CONFIG: SpaceConfig = {
data: {},
editable: true,
settings: {
background: "var(--user-theme-fidget-background)",
background: "#FFFFFF",
fidgetBorderColor: "rgba(255, 109, 109, 1)",
fidgetBorderWidth: "2px",
fidgetShadow: "0 2px 5px rgba(0,0,0,0.15)",
Expand All @@ -1251,7 +1251,7 @@ export const NOUNS_TAB_HOMEBASE_CONFIG: SpaceConfig = {
data: {},
editable: true,
settings: {
background: "var(--user-theme-fidget-background)",
background: "#FFFFFF",
fidgetBorderColor: "rgba(255, 109, 109, 1)",
fidgetBorderWidth: "2px",
fidgetShadow: "0 2px 5px rgba(0,0,0,0.15)",
Expand Down
60 changes: 30 additions & 30 deletions src/constants/userNotLoggedInHomebase.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,11 +149,11 @@ export const USER_NOT_LOGGED_IN_HOMEBASE_CONFIG: SpaceConfig = {
css: "",
fidgetBorderColor: "rgb(255, 98, 98)",
fidgetBorderWidth: "2px",
fidgetShadow: "var(--user-theme-fidget-shadow)",
fontColor: "var(--user-theme-font-color)",
fontFamily: "var(--user-theme-font)",
headingsFontColor: "var(--user-theme-headings-font-color)",
headingsFontFamily: "var(--user-theme-headings-font)",
fidgetShadow: "Medium",
fontColor: "#000000",
fontFamily: "Quicksand",
headingsFontColor: "#000000",
headingsFontFamily: "Roboto",
text: "You can embed any website or app that allows it. Try it out with the portal for $SPACE, the governance & utility token for nounspace.",
title: "This is a Web Embed Fidget ➡️",
urlColor: "blue",
Expand All @@ -171,11 +171,11 @@ export const USER_NOT_LOGGED_IN_HOMEBASE_CONFIG: SpaceConfig = {
css: "",
fidgetBorderColor: "rgb(255, 180, 92)",
fidgetBorderWidth: "2px",
fidgetShadow: "var(--user-theme-fidget-shadow)",
fontColor: "var(--user-theme-font-color)",
fontFamily: "var(--user-theme-font)",
headingsFontColor: "var(--user-theme-headings-font-color)",
headingsFontFamily: "var(--user-theme-headings-font)",
fidgetShadow: "Medium",
fontColor: "#000000",
fontFamily: "Quicksand",
headingsFontColor: "#000000",
headingsFontFamily: "Roboto",
text: "As an open-source and community-owned platform, **everyone** is invited to join the community and contribute to building the future of social.\n\nIf you have any questions, join the community [Discord](https://discord.gg/eYQeXU2WuH) or tag [@nounspacetom](https://nounspace.com/s/nounspacetom) in a cast.\n",
title: "",
urlColor: "blue",
Expand All @@ -193,11 +193,11 @@ export const USER_NOT_LOGGED_IN_HOMEBASE_CONFIG: SpaceConfig = {
css: "",
fidgetBorderColor: "rgba(253, 228, 65, 1)",
fidgetBorderWidth: "2px",
fidgetShadow: "var(--user-theme-fidget-shadow)",
fontColor: "var(--user-theme-font-color)",
fontFamily: "var(--user-theme-font)",
headingsFontColor: "var(--user-theme-headings-font-color)",
headingsFontFamily: "var(--user-theme-headings-font)",
fidgetShadow: "Medium",
fontColor: "#000000",
fontFamily: "Quicksand",
headingsFontColor: "#000000",
headingsFontFamily: "Roboto",
text: "Use it to embed any video from Youtube or Vimeo.",
title: "This is a Video Fidget ⬆️ ",
urlColor: "blue",
Expand All @@ -215,11 +215,11 @@ export const USER_NOT_LOGGED_IN_HOMEBASE_CONFIG: SpaceConfig = {
css: "",
fidgetBorderColor: "rgba(8, 188, 249, 1)",
fidgetBorderWidth: "2px",
fidgetShadow: "var(--user-theme-fidget-shadow)",
fontColor: "var(--user-theme-font-color)",
fontFamily: "var(--user-theme-font)",
headingsFontColor: "var(--user-theme-headings-font-color)",
headingsFontFamily: "var(--user-theme-headings-font)",
fidgetShadow: "Medium",
fontColor: "#000000",
fontFamily: "Quicksand",
headingsFontColor: "#000000",
headingsFontFamily: "Roboto",
text: "Filter it to show any user or channel on Farcaster or X.",
title: "⬅️ This is a Feed Fidget",
urlColor: "blue",
Expand All @@ -237,11 +237,11 @@ export const USER_NOT_LOGGED_IN_HOMEBASE_CONFIG: SpaceConfig = {
css: "",
fidgetBorderColor: "rgba(155, 94, 229, 1)",
fidgetBorderWidth: "2px",
fidgetShadow: "var(--user-theme-fidget-shadow)",
fontColor: "var(--user-theme-font-color)",
fontFamily: "var(--user-theme-font)",
headingsFontColor: "var(--user-theme-headings-font-color)",
headingsFontFamily: "var(--user-theme-headings-font)",
fidgetShadow: "Medium",
fontColor: "#000000",
fontFamily: "Quicksand",
headingsFontColor: "#000000",
headingsFontFamily: "Roboto",
text: "The customizable Farcaster client inspired by Myspace.\n\nLog in with Farcaster to customize the look, sound, and functionality of your Feed and Profile Space with **Themes**, **Fidgets** (aka mini-apps), and **Tabs**.",
title: "GM, and welcome to nounspace 🚀 👾",
urlColor: "blue",
Expand All @@ -261,10 +261,10 @@ export const USER_NOT_LOGGED_IN_HOMEBASE_CONFIG: SpaceConfig = {
feedType: "filter",
fidgetBorderColor: "rgba(240, 93, 181, 1)",
fidgetBorderWidth: "4px",
fidgetShadow: "var(--user-theme-fidget-shadow)",
fidgetShadow: "Medium",
filterType: "channel_id",
fontColor: "var(--user-theme-font-color)",
fontFamily: "var(--user-theme-font)",
fontColor: "#000000",
fontFamily: "Quicksand",
selectPlatform: {
icon: "/images/farcaster.jpeg",
name: "Farcaster",
Expand All @@ -281,10 +281,10 @@ export const USER_NOT_LOGGED_IN_HOMEBASE_CONFIG: SpaceConfig = {
data: {},
editable: true,
settings: {
background: "var(--user-theme-fidget-background)",
background: "#FFFFFF",
fidgetBorderColor: "rgba(0, 227, 196, 1)",
fidgetBorderWidth: "4px",
fidgetShadow: "var(--user-theme-fidget-shadow)",
fidgetShadow: "Medium",
size: 0.6,
url: "https://space.nounspace.com",
},
Expand Down

0 comments on commit 0c96048

Please sign in to comment.