Skip to content

Commit

Permalink
update text
Browse files Browse the repository at this point in the history
  • Loading branch information
jinglescode committed Dec 20, 2024
1 parent 2de7d49 commit 79937f2
Show file tree
Hide file tree
Showing 14 changed files with 38 additions and 66 deletions.
2 changes: 1 addition & 1 deletion apps/playground/src/components/layouts/sidebar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export default function Sidebar({
function LinkWithinPage({ item }: { item: { to: string; label: string } }) {
return (
<RSLink
activeClass="text-primary-600 dark:text-primary-500"
activeClass="text-primary-600 dark:text-primary-300"
className="cursor-pointer hover:text-black dark:hover:text-white"
to={item.to}
spy={true}
Expand Down
51 changes: 7 additions & 44 deletions apps/playground/src/components/site/navbar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React, { useEffect, useState } from "react";
import { useRouter } from "next/router";
import {
Bars4Icon,
MagnifyingGlassIcon,
MoonIcon,
SunIcon,
XMarkIcon,
Expand Down Expand Up @@ -93,26 +94,13 @@ export default function Navbar() {
</label>
<div className="relative">
<div className="pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3">
<svg
className="h-5 w-5 text-neutral-500 dark:text-neutral-400"
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
>
<path
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="2"
d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"
></path>
</svg>
<MagnifyingGlassIcon className="h-5 w-5 text-neutral-500 dark:text-neutral-400" />
</div>
<input
type="search"
id="search-bar"
className="focus:ring-primary-500 focus:border-primary-500 dark:focus:ring-primary-500 dark:focus:border-primary-500 block w-full rounded-lg border border-neutral-300 bg-neutral-50 px-4 py-2 pl-10 text-sm text-neutral-900 dark:border-neutral-600 dark:bg-neutral-700 dark:text-white dark:placeholder-neutral-400"
placeholder="Search"
placeholder="Search..."
value={query}
onChange={(e) => setQuery(e.target.value)}
onKeyDown={(e) => {
Expand Down Expand Up @@ -146,9 +134,9 @@ export default function Navbar() {
aria-label="Toggle dark mode"
>
{isDark ? (
<MoonIcon className="h-4 w-4 text-neutral-500" />
<MoonIcon className="h-4 w-4" />
) : (
<SunIcon className="h-4 w-4 text-neutral-500" />
<SunIcon className="h-4 w-4" />
)}
</button>
)}
Expand Down Expand Up @@ -177,24 +165,13 @@ export default function Navbar() {
</label>
<div className="relative w-full">
<div className="pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3">
<svg
className="h-5 w-5 text-neutral-500 dark:text-neutral-400"
fill="currentColor"
viewBox="0 0 20 20"
xmlns="http://www.w3.org/2000/svg"
>
<path
fillRule="evenodd"
d="M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z"
clipRule="evenodd"
></path>
</svg>
<MagnifyingGlassIcon className="h-5 w-5 text-neutral-500 dark:text-neutral-400" />
</div>
<input
type="search"
id="search-mobile"
className="focus:ring-primary-500 focus:border-primary-500 dark:focus:ring-primary-500 dark:focus:border-primary-500 block w-full rounded-lg border border-neutral-300 bg-neutral-50 p-2.5 pl-10 text-sm text-neutral-900 dark:border-neutral-600 dark:bg-neutral-700 dark:text-white dark:placeholder-neutral-400"
placeholder="Search for anything..."
placeholder="Search..."
value={query}
onChange={(e) => setQuery(e.target.value)}
onKeyDown={(e) => {
Expand All @@ -208,20 +185,6 @@ export default function Navbar() {
className="bg-primary-700 border-primary-700 hover:bg-primary-800 focus:ring-primary-300 dark:bg-primary-600 dark:hover:bg-primary-700 dark:focus:ring-primary-800 ml-2 inline-flex items-center rounded-lg border p-2.5 text-sm font-medium text-white focus:outline-none focus:ring-4"
onClick={() => search()}
>
<svg
className="mr-2 h-5 w-5"
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
>
<path
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="2"
d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"
></path>
</svg>{" "}
Search
</button>
</div>
Expand Down
23 changes: 16 additions & 7 deletions apps/playground/src/data/catalyst.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const fund13 = [
{
title: "Hydra Tools for administrating & interacting with Hydra Heads",
desc: "Provide all the tools needed to integration Hydra on apps, to enable end-user operations like interacting with wallet, query UTXOs/balance and submit transactions.",
url: "https://cardano.ideascale.com/c/cardano/idea/130856",
url: "https://projectcatalyst.io/funds/13/f13-cardano-open-developers/mesh-hydra-tools-for-administrating-and-interacting-with-hydra-heads",
completed: [],
tobecompleted: [
`Hydra Provider`,
Expand All @@ -24,20 +24,20 @@ export const fund13 = [
{
title: "Cardano Devkit - 'Ganache' of Cardano for better DevXP",
desc: "An app to launch local blockchain to test and deploy transactions and smart contracts, to run tests and experiments to develop Cardano applications.",
url: "https://cardano.ideascale.com/c/cardano/idea/130825",
url: "https://projectcatalyst.io/funds/13/f13-cardano-use-cases-concept/mesh-cardano-devkit-ganache-better-devxp-with-local-cardano-network",
completed: [],
tobecompleted: [
`Improve devnet deployment`,
`Desktop app to launch local blockchain`,
`Get blockchain data e.g. UTXOs and balances`,
],
status: "In Progress",
funded: false
funded: false,
},
{
title: "Cquisitor - Transaction Investigation Tool",
desc: "Enhancing Devtools with hosted Rust-based validation modules, and improving error handling to provide clearer feedback, helping developers debug and validate efficiently.",
url: "https://cardano.ideascale.com/c/cardano/idea/131631",
url: "https://projectcatalyst.io/funds/13/f13-cardano-open-developers/mesh-cquisitor-transaction-investigation-tool",
completed: [],
tobecompleted: [
`Update Cquisitor`,
Expand All @@ -50,7 +50,7 @@ export const fund13 = [
{
title: "Multisig Platform",
desc: "Open source multisig platform for teams and organizations to manage their treasury and participate in governance.",
url: "https://cardano.ideascale.com/c/cardano/idea/131036",
url: "https://projectcatalyst.io/funds/13/f13-cardano-use-cases-product/cardano-multisig-platform-by-mesh-clarity-dao-and-fluid-tokens",
completed: [],
tobecompleted: [
`Full governance features`,
Expand All @@ -64,7 +64,7 @@ export const fund13 = [
{
title: "Builder Fest #2 in Asia",
desc: "Hosting Buidler Fest #2, a 2-day event for tech-savvy Cardano builders to connect, showcase and share.",
url: "https://cardano.ideascale.com/c/cardano/idea/131981",
url: "https://projectcatalyst.io/funds/13/f13-cardano-open-ecosystem/cardano-builder-fest-asia-by-mesh-socious-sidan-vietnam-cardano",
completed: [],
tobecompleted: [
`Gathering of developers in Vietnam`,
Expand All @@ -75,7 +75,7 @@ export const fund13 = [
{
title: "Maintain Mesh and Build Developer Community",
desc: "Maintenance and operations of the Mesh open source libraries and tool suits. Growing Cardano developer community.",
url: "https://cardano.ideascale.com/c/cardano/idea/131363",
url: "https://projectcatalyst.io/funds/13/f13-cardano-open-developers/maintain-mesh-and-build-developer-community",
completed: [],
tobecompleted: [
`Provide community support`,
Expand Down Expand Up @@ -200,4 +200,13 @@ export const fund10 = [
tobecompleted: [],
status: "Closing",
},
{
title: "Support Teams Building Cardano dApps",
desc: "Pro-actively facilitate integration of our open source code into other Cardano Projects by directly providing financial and human resources to support and facilitate these integrations.",
url: "https://projectcatalyst.io/funds/10/f10-developer-ecosystem-the-evolution/mesh-support-teams-building-cardano-dapps-with-mesh-js-sdk-a-comprehensive-open-source-sdk-for-building-dapps-on-cardano",
completed: ["Provide community technical support"],
tobecompleted: ["Provide funding for integrating Cardano"],
status: "Completed",
funded: false,
},
];
4 changes: 2 additions & 2 deletions apps/playground/src/data/links-aiken.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const metaAikenContractsLib = {
link: "/smart-contracts",
};
export const metaAikenCourse = {
title: "Smart Contract course by STOIC Pool",
title: "Smart Contract course by STOIC",
desc: "Learn the concepts of Aiken while enjoying live coding examples",
link: "https://www.youtube.com/playlist?list=PLCuyQuWCJVQ1Zz9ySRMH_J6EymxhnZ0Hu",
};
Expand All @@ -36,7 +36,7 @@ export const linksAiken: MenuItem[] = [

export const metaAiken: MenuItem = {
title: "Aiken",
desc: "A functional programming language created for Cardano smart contract development",
desc: "Functional programming language created for Cardano smart contract development",
link: "/aiken",
items: linksAiken,
icon: "/images/aiken/aiken-icon.png",
Expand Down
4 changes: 1 addition & 3 deletions apps/playground/src/data/links-api.ts
Original file line number Diff line number Diff line change
@@ -1,21 +1,19 @@
import { MenuItem } from "~/types/menu-item";
import { metaAiken } from "./links-aiken";
import { metaData } from "./links-data";
import { metaProviders } from "./links-providers";
import { metaReact } from "./links-react";
import { metaSmartContract } from "./links-smart-contracts";
import { metaSvelte } from "./links-svelte";
import { metaTransaction } from "./links-transactions";
import { metaTxbuilder } from "./links-txbuilders";
import { metaUtilities } from "./links-utilities";
import { metaWallets } from "./links-wallets";
import { metaYaci } from "./links-yaci";
import { metaSmartContract } from "./links-smart-contracts";

export const linksApi: MenuItem[] = [
metaWallets,
metaTxbuilder,
metaTransaction,
metaData,
metaReact,
metaSvelte,
metaProviders,
Expand Down
2 changes: 1 addition & 1 deletion apps/playground/src/data/links-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export const linksData: MenuItem[] = [

export const metaData = {
title: "Data",
desc: "Parse and manipulate data",
desc: "Useful utilities to parse and manipulate data",
link: "/apis/data",
icon: CircleStackIcon,
items: linksData,
Expand Down
2 changes: 1 addition & 1 deletion apps/playground/src/data/links-react.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const linksReact: MenuItem[] = [

export const metaReact = {
title: "React Components",
desc: "Frontend components for wallet connections, and useful React hooks to getting wallet states",
desc: "Frontend React UI components and React hooks",
link: "/react",
icon: ComputerDesktopIcon,
items: linksReact,
Expand Down
2 changes: 1 addition & 1 deletion apps/playground/src/data/links-smart-contracts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export const linksSmartContracts: MenuItem[] = [
];

export const metaSmartContract: MenuItem = {
title: "Smart Contracts",
title: "Smart Contracts Lib",
desc: "Open-source smart contracts, complete with documentation, and live demos",
link: "/smart-contracts",
icon: DocumentCheckIcon,
Expand Down
2 changes: 1 addition & 1 deletion apps/playground/src/data/links-svelte.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const linksSvelte: MenuItem[] = [

export const metaSvelte = {
title: "Svelte Components",
desc: "Svelte frontend components for bringing your Web3 user interface to life.",
desc: "Svelte UI components for wallet connections",
link: "/svelte",
icon: ComputerDesktopIcon,
items: linksSvelte,
Expand Down
2 changes: 1 addition & 1 deletion apps/playground/src/data/links-transactions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const linksTransactions = [

export const metaTransaction = {
title: "Transactions",
desc: "For sending and minting assets and working with smart contracts",
desc: "Easy-to-use APIs to build transactions to mint tokens and working with smart contracts",
link: "/apis/transaction",
icon: BanknotesIcon,
items: linksTransactions,
Expand Down
2 changes: 1 addition & 1 deletion apps/playground/src/data/links-txbuilders.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const linksTxbuilder = [

export const metaTxbuilder = {
title: "Transaction Builder",
desc: "Build all possible transaction with our cardano-cli like APIs",
desc: "Build transactions with cardano-cli like APIs",
link: "/apis/txbuilder",
icon: BanknotesIcon,
items: linksTxbuilder,
Expand Down
4 changes: 3 additions & 1 deletion apps/playground/src/data/links-utilities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import {
} from "@heroicons/react/24/solid";

import { MenuItem } from "~/types/menu-item";
import { metaData } from "./links-data";

export const metaResolvers = {
title: "Resolvers",
Expand All @@ -32,11 +33,12 @@ export const linksUtilities: MenuItem[] = [
metaSerializers,
metaDeserializers,
metaResolvers,
metaData,
];

export const metaUtilities = {
title: "Utilities",
desc: "Useful functions that you need while building applications.",
desc: "Serializers, resolvers and data types for converting between different formats.",
link: "/apis/utilities",
icon: WrenchScrewdriverIcon,
items: linksUtilities,
Expand Down
2 changes: 1 addition & 1 deletion apps/playground/src/data/links-wallets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const linksWallets = [metaBrowserwallet, metaMeshwallet];

export const metaWallets = {
title: "Wallets",
desc: "Wallet for building amazing applications",
desc: "Wallets APIs for interacting with the blockchain.",
link: "/apis/wallets",
icon: WalletIcon,
items: linksWallets,
Expand Down
2 changes: 1 addition & 1 deletion apps/playground/src/data/links-yaci.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const linksYaci: MenuItem[] = [

export const metaYaci: MenuItem = {
title: "Yaci",
desc: "A custom Cardano devnet to tailor your devnet needs with a builtin indexer",
desc: "Custom Cardano devnet to tailor your devnet needs with a builtin indexer",
link: "/yaci",
items: linksYaci,
icon: "/providers/yaci.png",
Expand Down

0 comments on commit 79937f2

Please sign in to comment.