Skip to content

Instantly share code, notes, and snippets.

View scottfalconer's full-sized avatar

Scott Falconer scottfalconer

View GitHub Profile
Build a production-quality public frontend called “Umami Next” — a modern, world-class reimagining of Drupal’s Umami demo for the Drupal CMS / Canvas era.
This is NOT a Drupal implementation.
Do NOT build Drupal backend code, admin UI, entity forms, login flows, config screens, or a fake CMS/page-builder interface.
Build only the public-facing frontend/theme prototype and the code architecture that will make a later migration into Drupal CMS straightforward.
This should feel like:
- a premium editorial food publication
- clearly descended from Umami’s food-magazine DNA
- modern enough that it could credibly become a Drupal CMS site template or a future successor to Umami
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│( ● ) Thinking... │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
send q or ctrl+c to exit | send "/clear" to reset | send "/help" for commands | press enter to send — 0% context left
Failed to parse toolCall.arguments: {"command": ["bash", "-lc", "apply_patch << 'EOF'\n*** Begin Patch\n*** Add File: src/components/excerpt-section.tsx\n+import Link from 'next/link';\n+import { SectionHeading } from '@/components/section-heading';\n+import { Card, CardContent } from '@/components/ui/card';\n+import { BookCTA } from '@/components/book-cta';\n+import { Button } from '@/components/ui/button';\n+import { Info, BookMarked } from 'lucide-react';\n+\n+
@scottfalconer
scottfalconer / Compose node
Created October 21, 2012 21:46
PNWDS presentation: code samples
// Create a new node object
var node = {
node:{
title: 'hello',
type:'post',
field_post_description: {
und: [{
value: 'This is a custom field value',
format: 'full_html'
}]