Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/landing/src/routes/pricing.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export default function Pricing() {
</p>
</div>

<div class='mt-10 flex hidden justify-center'>
<div class='mt-10 hidden justify-center'>
<div class='inline-flex rounded-lg bg-gray-100 p-1'>
<button
type='button'
Expand Down Expand Up @@ -155,7 +155,7 @@ export default function Pricing() {
</div>
</div>

<div class='mt-10 grid hidden grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-4'>
<div class='mt-10 hidden grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-4'>
<For each={plans()}>
{(plan, index) => (
<div
Expand Down
8 changes: 0 additions & 8 deletions packages/mcp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,6 @@ Fetch Drizzle ORM documentation.

**Parameters:**

- `path` (optional) - Doc path (e.g. "select", "insert", "relations"). Omit for index.

### `zag_docs`

Fetch Zag.js documentation for building accessible UI components with SolidJS. Note: Most components have been migrated to Ark UI, but this tool is still useful for components that haven't been migrated yet.

**Parameters:**

- `path` (optional) - Component name (e.g. "accordion", "dialog", "tooltip"). Omit for index.

### `code_review`
Expand Down
2 changes: 0 additions & 2 deletions packages/mcp/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import { registerLintTools } from './tools/lint.js';
import { registerLocalDocsTools } from './tools/local-docs.js';
import { registerBetterAuthTools } from './tools/better-auth.js';
import { registerDrizzleTools } from './tools/drizzle.js';
import { registerZagTools } from './tools/zag.js';
import { registerCodeReviewTools } from './tools/code-review.js';

const __filename = fileURLToPath(import.meta.url);
Expand All @@ -35,7 +34,6 @@ registerLintTools(server, repoRoot);
registerLocalDocsTools(server, docsRoot);
registerBetterAuthTools(server);
registerDrizzleTools(server);
registerZagTools(server);
registerCodeReviewTools(server, repoRoot);

// Start the server with stdio transport
Expand Down
201 changes: 0 additions & 201 deletions packages/mcp/src/tools/zag.ts

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ export default function NoteEditor(props) {
const initialExpanded = props.readOnly ? true : !props.collapsed;
const [expanded, setExpanded] = createSignal(initialExpanded);
const [localValue, setLocalValue] = createSignal('');
const [hasBeenManuallyToggled, setHasBeenManuallyToggled] = createSignal(false);
let textareaRef;

// Initialize from Y.Text and set up observer
Expand Down Expand Up @@ -136,7 +135,6 @@ export default function NoteEditor(props) {
<Collapsible
open={expanded()}
onOpenChange={({ open }) => {
setHasBeenManuallyToggled(true);
setExpanded(open);
}}
trigger={
Expand Down
56 changes: 56 additions & 0 deletions packages/web/src/components/project-ui/ContactPrompt.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
/**
* ContactPrompt Component
* Prompts users to contact for early access when they cannot create projects
*/

import { FiMail } from 'solid-icons/fi';
import { LANDING_URL } from '@config/api.js';

export default function ContactPrompt(props) {
const restrictionType = () => props.restrictionType ?? 'entitlement';
const projectCount = () => props.projectCount ?? 0;
const quotaLimit = () => props.quotaLimit ?? null;

const contactUrl = () => `${LANDING_URL}/contact`;

const getTitle = () => {
if (restrictionType() === 'entitlement') {
return 'Project Creation Not Available';
}
return 'Project Limit Reached';
};

const getMessage = () => {
if (restrictionType() === 'entitlement') {
return 'CoRATES is in early access. Request access to create projects by contacting us.';
}
const limit = quotaLimit();
const limitText = limit === null || limit === -1 ? '∞' : limit;
return `You've reached your project limit (${projectCount()}/${limitText}). Request early access for more projects.`;
};

return (
<div class='rounded-lg border border-blue-200 bg-white p-4'>
<div class='flex items-start space-x-3'>
<div class='shrink-0'>
<div class='flex h-10 w-10 items-center justify-center rounded-full bg-blue-100'>
<FiMail class='h-5 w-5 text-blue-600' />
</div>
</div>
<div class='min-w-0 flex-1'>
<h3 class='text-sm font-medium text-gray-900'>{getTitle()}</h3>
<p class='mt-1 text-sm text-gray-600'>{getMessage()}</p>
<a
href={contactUrl()}
target='_blank'
rel='noopener noreferrer'
class='mt-3 inline-flex items-center rounded-md bg-blue-600 px-3 py-1.5 text-sm font-medium text-white transition-colors hover:bg-blue-700'
>
<FiMail class='mr-1 h-4 w-4' />
Request Early Access
</a>
</div>
</div>
</div>
);
}
Loading