Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 46
Upload articles by parsing urls#5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -25,3 +25,73 @@ body { | ||||||
| text-wrap: balance; | ||||||
| } | ||||||
| } | ||||||
| /* globals.css */ | ||||||
| :root { | ||||||
| --max-width: 800px; | ||||||
| --page-padding: 16px; | ||||||
| --heading-font-size: 28px; | ||||||
| --heading-font-weight: 700; | ||||||
| --heading-margin-bottom: 16px; | ||||||
| --card-border: 1px solid #eee; | ||||||
| --card-radius: 8px; | ||||||
| --card-padding: 16px; | ||||||
| --list-gap: 12px; | ||||||
| } | ||||||
| /* 全局 main 容器 */ | ||||||
CopilotAI | ||||||
| /* 全局 main 容器 */ | |
| /* Global main container */ |
CopilotAISep 12, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comment '标题' is in Chinese. Consider using English for consistency, such as '/* Page title /' or '/ Heading */'.
| /* 标题 */ | |
| /* Page title */ |
CopilotAISep 12, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comment '列表' is in Chinese. Consider using English for consistency, such as '/* Document list /' or '/ List styles */'.
| /* 列表 */ | |
| /* Document list */ |
CopilotAISep 12, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comment '卡片' is in Chinese. Consider using English for consistency, such as '/* Card styles /' or '/ Document card */'.
| /* 卡片 */ | |
| /* Card styles */ |
CopilotAISep 12, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comment '链接' is in Chinese. Consider using English for consistency, such as '/* Link styles /' or '/ Document links */'.
| /* 链接 */ | |
| /* Link styles */ |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,31 @@ | ||||||
| 'use client' | ||||||
| import { useState } from 'react' | ||||||
| export default function UploadPage() { | ||||||
| const [value, setValue] = useState('') | ||||||
| const handleClick = () => { | ||||||
| console.log('输入内容:', value) | ||||||
CopilotAI | ||||||
| console.log('输入内容:',value) | |
| console.log('Input content:',value) |
CopilotAISep 12, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The placeholder text '公众号url' is in Chinese. Consider using English for consistency, such as 'Enter article URL' or 'WeChat article URL'.
| placeholder="公众号url" | |
| placeholder="Enter article URL" |
CopilotAISep 12, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The button text '上传' is in Chinese. Consider using English for consistency with the codebase, such as 'Upload' or 'Submit'.
| 上传 | |
| Upload |
CopilotAISep 12, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] This comment is redundant since it's already clear from the filename. Consider removing it or replacing with a more descriptive comment about the purpose of the following CSS rules.