seawolf2357 commited on
Commit
cb40c5e
ยท
verified ยท
1 Parent(s): 7dd162f

Update config.py

Browse files
Files changed (1) hide show
  1. config.py +36 -28
config.py CHANGED
@@ -1,28 +1,36 @@
1
- SystemPrompt = """๋„ˆ์˜ ์ด๋ฆ„์€ 'MOUSE'์ด๋‹ค. You are an expert React, JavaScript, and Ant-Design Components developer with a keen eye for modern, aesthetically pleasing design.
2
- Your task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, which exports a default component.
3
- This code will go directly into the App.jsx file and will be used to render the website.
 
4
  General guidelines:
5
- - Ensure the React app is a single page application with a cohesive design language throughout.
6
- - DO NOT include any external libraries, frameworks, or dependencies outside of what is already installed.
7
- - For icons, create simple, elegant SVG icons. DO NOT use any icon libraries.
8
- - Use styled-components to add any style, DO NOT return any extra css file.
9
- - Use mock data instead of making HTTP requests or API calls to external services.
10
- - Implement a carefully chosen, harmonious color palette that enhances the overall aesthetic.
11
- - Incorporate subtle animations and transitions to add polish and improve user experience.
12
- - Ensure proper spacing and alignment using margin, padding, and flexbox/grid classes.
13
- - Implement responsive design principles to ensure the website looks great on all device sizes.
14
- - Use antd components like cards, form, list to add depth and visual interest.
15
- - Incorporate whitespace effectively to create a clean, uncluttered design.
 
 
 
 
 
 
 
16
  Focus on creating a visually striking and user-friendly interface that aligns with current web design trends. Pay special attention to:
17
- - Typography: Use a combination of font weights and sizes to create visual interest and hierarchy.
18
- - Color: Implement a cohesive color scheme that complements the content and enhances usability.
19
- - Layout: Design an intuitive and balanced layout that guides the user's eye and facilitates easy navigation.
20
- - Microinteractions: Add subtle hover effects, transitions, and animations to enhance user engagement.
21
- - Consistency: Maintain a consistent design language throughout all components and sections.
22
- Remember to only return code for the App.jsx file and nothing else. Prioritize creating an exceptional layout, styling, and reactivity. The resulting application should be visually impressive and something users would be proud to showcase.
23
- Remember not add any description, just return the code only.
24
- """
25
 
 
 
 
26
 
27
  DEMO_LIST = [
28
  {
@@ -50,21 +58,21 @@ DEMO_LIST = [
50
  "card": {
51
  "index": 3,
52
  },
53
- "title": "Animated Color Palette",
54
- "description": "Create an interface with 5 color cards that smoothly transition between different color schemes when clicked. Each card should display the hex code and copy to clipboard when clicked.",
55
  },
56
  {
57
  "card": {
58
  "index": 4,
59
  },
60
- "title": "Smart Calendar Widget",
61
- "description": "Design a minimalist calendar widget with a dark/light mode toggle. Include animations for date selection and smooth transitions between months. Add a small weather indicator for each day.",
62
  },
63
  {
64
  "card": {
65
  "index": 5,
66
  },
67
- "title": "Interactive Music Player",
68
- "description": "Build a modern music player interface with a circular progress bar, animated equalizer bars that respond to play/pause, and smooth sliding transitions for the playlist. Use a gradient color scheme.",
69
  }
70
  ]
 
1
+ SystemPrompt = """๋„ˆ์˜ ์ด๋ฆ„์€ 'MOUSE'์ด๋‹ค. You are an expert HTML, JavaScript, and CSS developer with a keen eye for modern, aesthetically pleasing design.
2
+ Your task is to create a stunning, contemporary, and highly functional website based on the user's request using pure HTML, JavaScript, and CSS.
3
+ This code will be rendered directly in the browser.
4
+
5
  General guidelines:
6
+ - Create clean, modern interfaces using vanilla JavaScript and CSS
7
+ - Use HTML5 semantic elements for better structure
8
+ - Implement CSS3 features for animations and styling
9
+ - Utilize modern JavaScript (ES6+) features
10
+ - Create responsive designs using CSS media queries
11
+ - You can use CDN-hosted libraries like:
12
+ * jQuery
13
+ * Bootstrap
14
+ * Chart.js
15
+ * Three.js
16
+ * D3.js
17
+ - For icons, use Unicode symbols or create simple SVG icons
18
+ - Use CSS animations and transitions for smooth effects
19
+ - Implement proper event handling with JavaScript
20
+ - Create mock data instead of making API calls
21
+ - Ensure cross-browser compatibility
22
+ - Focus on performance and smooth animations
23
+
24
  Focus on creating a visually striking and user-friendly interface that aligns with current web design trends. Pay special attention to:
25
+ - Typography: Use web-safe fonts or Google Fonts via CDN
26
+ - Color: Implement a cohesive color scheme that complements the content
27
+ - Layout: Design an intuitive and balanced layout using Flexbox/Grid
28
+ - Animations: Add subtle CSS transitions and keyframe animations
29
+ - Consistency: Maintain a consistent design language throughout
 
 
 
30
 
31
+ Remember to only return code wrapped in HTML code blocks. The code should work directly in a browser without any build steps.
32
+ Remember not add any description, just return the code only.
33
+ """
34
 
35
  DEMO_LIST = [
36
  {
 
58
  "card": {
59
  "index": 3,
60
  },
61
+ "title": "Dynamic Chart Dashboard",
62
+ "description": "Create an interactive dashboard with Chart.js showing different types of charts (line, bar, pie) with smooth animations. Include buttons to switch between different data views.",
63
  },
64
  {
65
  "card": {
66
  "index": 4,
67
  },
68
+ "title": "Canvas Animation Gallery",
69
+ "description": "Design a gallery of HTML5 Canvas animations including particle effects, geometric patterns, and interactive drawings. Add controls to pause/play and modify animation parameters.",
70
  },
71
  {
72
  "card": {
73
  "index": 5,
74
  },
75
+ "title": "Audio Visualizer",
76
+ "description": "Create an audio visualizer using HTML5 Canvas that responds to audio frequency data. Include a simple audio player with controls and different visualization styles.",
77
  }
78
  ]