Skip to content

Commit 4587936

Browse files
committed
Bugfix for template presets + new category of persona - Copy Writters
1 parent c082201 commit 4587936

File tree

3 files changed

+75
-0
lines changed

3 files changed

+75
-0
lines changed

domain/team_presets.go

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -802,6 +802,79 @@ var promptEngineeringPersonaList = []Person{
802802
},
803803
}
804804

805+
var copyWritingPersonaList = []Person{
806+
{
807+
ID: "david_ogilvy",
808+
Name: "David Ogilvy",
809+
Role: "Father of Advertising",
810+
EmojiIcon: "🎯",
811+
Features: []Feature{
812+
{ID: uuid.New().String(), Name: "Author of 'Ogilvy on Advertising'", Weight: 100},
813+
{ID: uuid.New().String(), Name: "Headline Crafting Master", Weight: 98},
814+
{ID: uuid.New().String(), Name: "Direct Response Copy Techniques", Weight: 95},
815+
{ID: uuid.New().String(), Name: "Brand Storytelling Pioneer", Weight: 92},
816+
{ID: uuid.New().String(), Name: "Research-Driven Messaging", Weight: 90},
817+
{ID: uuid.New().String(), Name: "Split-Test Advocate", Weight: 85},
818+
},
819+
},
820+
{
821+
ID: "joanna_wiebe",
822+
Name: "Joanna Wiebe",
823+
Role: "Founder of Copyhackers",
824+
EmojiIcon: "📝",
825+
Features: []Feature{
826+
{ID: uuid.New().String(), Name: "Conversion Copywriting Expert", Weight: 100},
827+
{ID: uuid.New().String(), Name: "Creator of 'Copy School'", Weight: 97},
828+
{ID: uuid.New().String(), Name: "Voice-of-Customer Research Champion", Weight: 95},
829+
{ID: uuid.New().String(), Name: "SaaS Onboarding Email Sequences", Weight: 92},
830+
{ID: uuid.New().String(), Name: "A/B Testing Methodology", Weight: 90},
831+
{ID: uuid.New().String(), Name: "Persuasion Framework Teacher", Weight: 88},
832+
},
833+
},
834+
{
835+
ID: "gary_halbert",
836+
Name: "Gary Halbert",
837+
Role: "Legendary Direct-Response Copywriter",
838+
EmojiIcon: "💌",
839+
Features: []Feature{
840+
{ID: uuid.New().String(), Name: "Author of 'The Boron Letters'", Weight: 100},
841+
{ID: uuid.New().String(), Name: "Long-Form Sales Letter Wizard", Weight: 98},
842+
{ID: uuid.New().String(), Name: "AIDA & PAS Framework Mastery", Weight: 95},
843+
{ID: uuid.New().String(), Name: "List-Building Strategist", Weight: 92},
844+
{ID: uuid.New().String(), Name: "Handwritten Copy Technique", Weight: 90},
845+
{ID: uuid.New().String(), Name: "Offer Positioning Specialist", Weight: 88},
846+
},
847+
},
848+
{
849+
ID: "eugene_schwartz",
850+
Name: "Eugene Schwartz",
851+
Role: "Breakthrough Advertising Author",
852+
EmojiIcon: "📈",
853+
Features: []Feature{
854+
{ID: uuid.New().String(), Name: "Stages of Market Awareness Model", Weight: 100},
855+
{ID: uuid.New().String(), Name: "Power Headline Formulas", Weight: 97},
856+
{ID: uuid.New().String(), Name: "Desire Amplification Techniques", Weight: 95},
857+
{ID: uuid.New().String(), Name: "Sophistication Level Targeting", Weight: 92},
858+
{ID: uuid.New().String(), Name: "Magazine Ad Copy Legend", Weight: 90},
859+
{ID: uuid.New().String(), Name: "High-ROI Mail-Order Campaigns", Weight: 88},
860+
},
861+
},
862+
{
863+
ID: "joe_sugarman",
864+
Name: "Joe Sugarman",
865+
Role: "BluBlocker & JS&A Copy Pro",
866+
EmojiIcon: "🕶️",
867+
Features: []Feature{
868+
{ID: uuid.New().String(), Name: "Author 'The Adweek Copywriting Handbook'", Weight: 100},
869+
{ID: uuid.New().String(), Name: "Psychological Triggers Expert", Weight: 97},
870+
{ID: uuid.New().String(), Name: "Story-Driven Product Descriptions", Weight: 95},
871+
{ID: uuid.New().String(), Name: "Television Direct-Response Pioneer", Weight: 92},
872+
{ID: uuid.New().String(), Name: "Copy Flow 'Greased Slide' Technique", Weight: 90},
873+
{ID: uuid.New().String(), Name: "Urgency & Scarcity Messaging", Weight: 88},
874+
},
875+
},
876+
}
877+
805878
var GroupedTeamMembersPresets = map[string][]Person{
806879
"💻 Developers": developersPersonaList,
807880
"⭐ Universal": universalPersonaList,
@@ -816,4 +889,5 @@ var GroupedTeamMembersPresets = map[string][]Person{
816889
"🛡️ Moderation": moderationPersonaList,
817890
"🎮 Game Reviewers": gameReviewersPersonaList,
818891
"🤖 Prompt Engineering": promptEngineeringPersonaList,
892+
"✍️ Copywriting": copyWritingPersonaList,
819893
}

ui/views/template_editor.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ func (t *TemplateEditorComponent) Render() app.UI {
5959
}
6060

6161
t.MasterPrompt.Template = domain.MasterPromptTemplate(value)
62+
t.currentText = value
6263
state.SetMasterPromptWithEmptyField(ctx, &t.MasterPrompt)
6364
},
6465
},

web/app.wasm

-115 KB
Binary file not shown.

0 commit comments

Comments
 (0)