当前位置: 首页 > news >正文

手机和pc网站公司网站需求文档

手机和pc网站,公司网站需求文档,杭州电商网站建设公司,网站关键词越多越好吗前端使用 Cursor 的最佳助手 - PromptCoder 你是否正在使用 Cursor 进行前端开发,却苦于繁琐的代码生成和原型图的还原?你是否渴望一个更高效、更智能的工具来提升你的开发效率?那么,你一定不能错过 PromptCoder! Pr…

前端使用 Cursor 的最佳助手 - PromptCoder

你是否正在使用 Cursor 进行前端开发,却苦于繁琐的代码生成和原型图的还原?你是否渴望一个更高效、更智能的工具来提升你的开发效率?那么,你一定不能错过 PromptCoder!

PromptCoder 是什么?

PromptCoder 是一款专为前端开发者打造的智能代码生成工具,它与 Cursor 无缝适配,能够根据你的截图,快速生成高质量的 Cursor 提示词,生成前端代码。从而轻松复刻一个页面或者原型图。

PromptCoder 的优势:

  • 交互简单易用: 只需一张截图即可得到想要的效果。

  • 从免费开始: PromptCoder 只需注册即可免费体验全部内容。

  • 多框架支持:PromptCoder 现在已经支持 Next,React,VueFlutter 等框架。

示例 (油管主页)

原版 请添加图片描述

生成版

请添加图片描述

从截图到生成好完整代码只需一分钟, CursorPromptCoder 的加持下拥有极高的代码还原度

提示词分享

以下是 PromptCoder 生成的提示词,用于还原油管主页:


Create detailed components with these requirements:
1. Use 'use client' directive for client-side components
2. Style with Tailwind CSS utility classes for responsive design
3. Use Lucide React for icons (from lucide-react package). Do NOT use other UI libraries unless requested
4. Use stock photos from picsum.photos where appropriate, only valid URLs you know exist
5. Configure next.config.js image remotePatterns to enable stock photos from picsum.photos
6. Avoid duplicate components
7. Automatically source and display logos from a CDN in design placeholders
8. Follow proper import practices:- Use @/ path aliases- Keep component imports organized- Update current src/app/page.tsx with new comprehensive code- Don't forget root route (page.tsx) handling- You MUST complete the entire prompt before stopping**Layout Overview*** **Page Structure**: The page will be divided into a single main section containing a grid layout of video cards.
* **Component Hierarchy**:+ `VideoGrid` (container component)- `VideoCard` (repeated component for each video)- `Thumbnail` (image component)- `VideoTitle` (text component)
* **Responsive Design Considerations**:+ The grid layout will be responsive, adapting to different screen sizes and devices.+ On smaller screens, the grid will collapse into a single column, with each video card taking up the full width of the screen.+ On larger screens, the grid will expand to display multiple columns, with each video card taking up a portion of the screen width.**Component Details*** **VideoGrid**:+ Will receive an array of video data as a prop.+ Will render a grid of `VideoCard` components, with each card representing a single video.+ Will handle responsive layout and grid item sizing.
* **VideoCard**:+ Will receive a single video object as a prop.+ Will render a `Thumbnail` component and a `VideoTitle` component.+ Will handle hover and click events for video playback.
* **Thumbnail**:+ Will receive an image URL as a prop.+ Will render an `img` element with the provided URL.
* **VideoTitle**:+ Will receive a title string as a prop.+ Will render a `p` element with the provided title.
* **State Management Needs**:+ The `VideoGrid` component will need to manage the state of the video data array.+ The `VideoCard` component will need to manage the state of the video playback (e.g., play/pause, current time).
* **Props and Data Flow**:+ The `VideoGrid` component will receive the video data array as a prop from a parent component.+ The `VideoCard` component will receive the video object as a prop from the `VideoGrid` component.**Styling Specifications*** **Color Schemes**:+ Primary color: #FF0000 (YouTube red)+ Secondary color: #FFFFFF (white)+ Background color: #F7F7F7 (light gray)
* **Typography**:+ Font family: Open Sans+ Font sizes:- Video title: 16px- Video description: 14px
* **Spacing and Alignment**:+ Grid item spacing: 16px+ Video title padding: 8px+ Video description padding: 16px
* **Animations and Transitions**:+ Video card hover effect: scale up by 10% and change background color to #CCCCCC (dark gray)+ Video playback transition: fade in/out over 0.5 seconds**Interactive Elements*** **User Inputs**:+ Video playback controls (play/pause, seek)+ Video title click event (opens video in new tab)
* **Navigation**:+ Grid navigation (scrolling, pagination)
* **Loading States**:+ Video grid loading state (spinner or skeleton UI)+ Video playback loading state (spinner or buffering animation)
* **Micro-interactions**:+ Video card hover effect+ Video playback transition+ Grid item animation on scroll

点击 访问 PromptCoder官网,了解更多信息并开始免费试用。让 PromptCoder 成为你前端开发的得力助手,助你轻松应对各种挑战,打造更出色的前端应用!

http://www.15wanjia.com/news/175822.html

相关文章:

  • 北京网站seowordpress 件康
  • 顺德网站建设找顺的开发一个app需要多长时间
  • 创建网站怎么弄网站怎样绑定域名
  • 制作网站作业22seesaw
  • 南阳做网站 汉狮公司西数网站管理助手 伪静态
  • 淘宝自己建的网站龙岩网站制作
  • wordpress 图片排列宁波正规seo推广
  • 贵阳建设企业网站精准客源 获客
  • 如何做企业网站宣传手机版app制作软件
  • pta编程网站.net 接单网站有哪些
  • 做木工网站网站建设 兼职 外包
  • 百度地图网站开发网站建设月流量
  • 曹县住房和城乡建设部网站网站建设便宜
  • asp网站 攻击福州网站建设企业哪家好?
  • 轮网站开发的重要性专业网站开发多少钱
  • 南京专业网站设计哪个品牌深圳网站建设-猴王网络
  • 宿州住房和城乡建设局网站优书网有官方app吗
  • 网站开发案例详解 源代码个人可以建立网站吗
  • 网站建设实际总结沙坪坝集团网站建设
  • 网站网页怎么做做图的模板下载网站有哪些
  • 好的免费博客网站网站调用微信数据
  • 网站建设預算有哪些网站系统
  • 手机网站开发的目的合肥教育网站建设
  • 湖口县建站公司wordpress主题在线编辑器
  • 温州平台网站建设百度快速排名培训
  • 小程序怎么制作网站济南酷火网站建设
  • 给企业做网站的公司西安100个网页设计模板
  • 企业个性化网站建设费用设计平台属性
  • 学习网站模板wordpress上传图片时发生了错误
  • 嘉祥网站建设哪家好网站开发用怎么语言