Skip to content

Instantly share code, notes, and snippets.

View Theodore-Kelechukwu-Onyejiaku's full-sized avatar
:octocat:
pro

Theodore Kelechukwu Onyejiaku Theodore-Kelechukwu-Onyejiaku

:octocat:
pro
View GitHub Profile

Task: Build a header/navigation system for the “NeuraFlow” landing page using Next.js 15 (App Router), TypeScript, and Tailwind CSS. The header must be sticky, translucent, animated, accessible, and data-driven. Implement as production-quality components with clean organization.

Brand & Tone

Brand: NeuraFlow

Personality: Futuristic, elegant, minimal; high contrast with soft glows and glassmorphism.

Typography (Tailwind font classes are fine to stub): Inter or Space Grotesk.

@Theodore-Kelechukwu-Onyejiaku
Theodore-Kelechukwu-Onyejiaku / prompt.md
Created November 9, 2025 23:18
Prompt 1: Bolt Strapi Tutorial

Build an advanced, visually stunning landing page for an AI technology company called "NeuraFlow."

Tech stack: Next.js 15, TypeScript, Tailwind CSS.

🧠 Concept

NeuraFlow is an avant-garde AI company that builds adaptive neural tools for creators and engineers. The website should look futuristic yet human, blending artificial intelligence, creativity, and innovation.

The design should feel immersive and cinematic, with animated gradients, soft glassmorphism, interactive 3D or motion effects, and elegant typography. Think of websites like Vercel, Runway, and Anthropic, but more dynamic and storytelling-driven.

Understood! I'll refer to the content model diagrams and OpenAPI specification you provided to draft four specific prompts. These prompts will be aligned with the best practices for Bolt prompting, helping to structure the website creation step by step. I'll get started and present you with clear, actionable prompts.
Below are four example prompts for building a company website in Bolt. They are structured according to the best‑practice guidelines—starting with foundational settings, breaking work into small steps, using precise design language and guiding Bolt’s focus to specific components. Each prompt references the content model and OpenAPI endpoints in your resources.
1. **Initialize global site settings**
*“I’m building a company website for ‘Acme Technologies Ltd.’ Let’s start by configuring the `GlobalSettings` single type via the **PUT /global-setting** endpoint. Set the fields `siteName` to ‘Acme Tech’ and `companyName` to ‘Acme Technologies Ltd’, and add a placeholder logo asset. For the
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://cdn.tailwindcss.com"></script>
<script> window.FontAwesomeConfig = { autoReplaceSvg: 'nest'};</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/js/all.min.js" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<style>
{
"openapi": "3.0.0",
"info": {
"version": "1.0.0",
"title": "DOCUMENTATION",
"description": "",
"termsOfService": "YOUR_TERMS_OF_SERVICE_URL",
"contact": {
"name": "TEAM",
"email": "contact-email@something.io",
@Theodore-Kelechukwu-Onyejiaku
Theodore-Kelechukwu-Onyejiaku / edit-form.tsx
Created April 16, 2025 15:02
Edit Invoice Form: ./app/ui/invoices/edit-form.tsx
"use client";
import {
CheckIcon,
ClockIcon,
CurrencyDollarIcon,
UserCircleIcon,
} from '@heroicons/react/24/outline';
import Link from 'next/link';
import { Button } from '@/app/ui/button';
@Theodore-Kelechukwu-Onyejiaku
Theodore-Kelechukwu-Onyejiaku / create-form.tsx
Created April 16, 2025 14:57
Updating invoices Forms: ./app/ui/invoices/create-form.tsx
"use client"
import { ReactNode } from 'react';
import Link from 'next/link';
import { redirect } from 'next/navigation';
import { SubmitHandler, useForm } from "react-hook-form";
import { zodResolver } from "@hookform/resolvers/zod";
import {
CheckIcon,
ClockIcon,
@Theodore-Kelechukwu-Onyejiaku
Theodore-Kelechukwu-Onyejiaku / edit-customer-form.tsx
Created April 16, 2025 14:39
Invoke the `updateCustomer()` action: ./app/ui/customers/edit-customer-form.tsx
"use client"
import { ReactNode } from 'react';
import { redirect } from 'next/navigation';
import Link from 'next/link';
import { SubmitHandler, useForm } from "react-hook-form";
import { zodResolver } from "@hookform/resolvers/zod";
import {
EnvelopeIcon,
UserCircleIcon,
@Theodore-Kelechukwu-Onyejiaku
Theodore-Kelechukwu-Onyejiaku / create-customer-form.tsx
Created April 16, 2025 14:30
Create Customer Form: ./app/ui/customers/create-customer-form.tsx
"use client"
import { ReactNode } from 'react';
import Link from 'next/link';
import { redirect } from 'next/navigation';
import { SubmitHandler, useForm } from "react-hook-form";
import { zodResolver } from "@hookform/resolvers/zod";
import {
EnvelopeIcon,
UserCircleIcon,
@Theodore-Kelechukwu-Onyejiaku
Theodore-Kelechukwu-Onyejiaku / actions.ts
Created April 16, 2025 14:27
Update Actions File: ./app/lib/actions.ts
"use server";
import { eq } from "drizzle-orm";
import { revalidatePath } from "next/cache";
import { db } from "@/app/db";
import { Customer, customers, NewCustomer } from "@/app/db/schema/customers.schema";
import { Invoice, invoices, NewInvoice } from "@/app/db/schema/invoices.schema";
export const createInvoice = async (formData: NewInvoice) => {
const { amount } = formData;