Skip to content

Instantly share code, notes, and snippets.

View fayimora's full-sized avatar
🕺

Fayi FB fayimora

🕺
  • London, England
View GitHub Profile
import { useMemo, useState } from 'react'
import { Box, Typography } from '@mui/material'
import { createFileRoute } from '@tanstack/react-router'
import { ActionRequiredDialog } from '@components/dashboard/action-required-dialog'
import { OffersContent } from '@components/offers/offers-content'
import { OfferTabs } from '@components/offers/offer-tabs'
import type {
AllocationActionItem,
TransferActionItem,
} from '@components/types'
// Copyright (c) 2025-2026 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
// SPDX-License-Identifier: Apache-2.0
import { useMemo, useState } from 'react'
import {
Alert,
Box,
Button,
Card,
CardContent,
// Copyright (c) 2025-2026 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
// SPDX-License-Identifier: Apache-2.0
import { useCallback, useEffect, useMemo, useState } from 'react'
import CloseIcon from '@mui/icons-material/Close'
import {
Alert,
Box,
CircularProgress,
IconButton,
import { useMemo, type ReactNode } from 'react'
import AccountBalanceWalletIcon from '@mui/icons-material/AccountBalanceWallet'
import DashboardIcon from '@mui/icons-material/Dashboard'
import NotificationsNoneIcon from '@mui/icons-material/NotificationsNone'
import {
Box,
Divider,
Drawer,
Typography,
type SxProps,
import { Button, type ButtonProps } from '@mui/material'
type PillButtonTone = 'primary' | 'secondary' | 'danger' | 'neutral'
type PillButtonProps = ButtonProps & {
tone?: PillButtonTone
}
export function PillButton({
tone = 'primary',
// Copyright (c) 2025-2026 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
// SPDX-License-Identifier: Apache-2.0
import { createTheme, type ThemeOptions } from '@mui/material/styles'
export const portfolioColors = {
black: '#000000',
grey27: '#1B1B1B',
grey36: '#272727',
grey54: '#363636',
/**
* oh-pi Auto Session Name Extension
*
* Automatically names sessions based on the first user message.
*/
import type { ExtensionAPI } from "@mariozechner/pi-coding-agent";
export default function (pi: ExtensionAPI) {
let named = false;
// Copyright (c) 2025-2026 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
// SPDX-License-Identifier: Apache-2.0
import { css } from 'lit'
import { BaseElement } from '../internal/base-element'
import { cssToString } from '../utils'
import { WalletPickerEntry } from '@canton-network/core-types'
export type {
WalletPickerEntry,
import { createFileRoute, Link } from "@tanstack/react-router";
import {
BookOpen,
FileText,
Gavel,
Globe,
GraduationCap,
Landmark,
MessageSquare,
Scale,
local overrides = require "configs.overrides"
---@type NvPluginSpec[]
local plugins = {
-- Override plugin definition options
-- {
-- dir = "~/Code/opencode-nvim",
-- -- or absolute path: dir = "/home/fayi/Code/opencode-nvim",
-- config = function()