docs: limitations doc; homepage details
This commit is contained in:
@@ -97,6 +97,7 @@ export default function LimitationsPage() {
|
|||||||
isZh ? '点击、文本输入、选择' : 'Click, text input, select',
|
isZh ? '点击、文本输入、选择' : 'Click, text input, select',
|
||||||
isZh ? '页面滚动(垂直 / 水平)' : 'Scroll (vertical / horizontal)',
|
isZh ? '页面滚动(垂直 / 水平)' : 'Scroll (vertical / horizontal)',
|
||||||
isZh ? '表单提交、焦点切换' : 'Form submit, focus',
|
isZh ? '表单提交、焦点切换' : 'Form submit, focus',
|
||||||
|
isZh ? '同源 iframe(仅单层)' : 'Same-origin iframe (single level only)',
|
||||||
isZh ? '执行 JavaScript(可选)' : 'Execute JavaScript (opt-in)',
|
isZh ? '执行 JavaScript(可选)' : 'Execute JavaScript (opt-in)',
|
||||||
].map((text) => (
|
].map((text) => (
|
||||||
<li key={text} className="flex items-center text-gray-700 dark:text-gray-300">
|
<li key={text} className="flex items-center text-gray-700 dark:text-gray-300">
|
||||||
@@ -115,6 +116,7 @@ export default function LimitationsPage() {
|
|||||||
isZh ? '悬停、拖拽、右键菜单' : 'Hover, drag & drop, right-click',
|
isZh ? '悬停、拖拽、右键菜单' : 'Hover, drag & drop, right-click',
|
||||||
isZh ? '键盘快捷键' : 'Keyboard shortcuts',
|
isZh ? '键盘快捷键' : 'Keyboard shortcuts',
|
||||||
isZh ? '坐标定位操作' : 'Position-based control',
|
isZh ? '坐标定位操作' : 'Position-based control',
|
||||||
|
isZh ? '嵌套 iframe、跨域 iframe' : 'Nested iframes, cross-origin iframes',
|
||||||
isZh ? '绘图操作' : 'Drawing',
|
isZh ? '绘图操作' : 'Drawing',
|
||||||
isZh
|
isZh
|
||||||
? 'Monaco、CodeMirror 等需要通过 JS 实例控制的编辑器'
|
? 'Monaco、CodeMirror 等需要通过 JS 实例控制的编辑器'
|
||||||
|
|||||||
@@ -103,10 +103,7 @@ export default function HeroSection() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<section
|
<section className="relative px-6 pt-18 pb-14 lg:pb-20 lg:pt-24" aria-labelledby="hero-heading">
|
||||||
className="relative px-6 pt-24 py-20 pb-18 lg:py-22 lg:pt-28 overflow-hidden"
|
|
||||||
aria-labelledby="hero-heading"
|
|
||||||
>
|
|
||||||
<div className="max-w-7xl mx-auto text-center">
|
<div className="max-w-7xl mx-auto text-center">
|
||||||
{/* Background Pattern + Particles */}
|
{/* Background Pattern + Particles */}
|
||||||
<div className="absolute inset-0 opacity-30" aria-hidden="true">
|
<div className="absolute inset-0 opacity-30" aria-hidden="true">
|
||||||
@@ -122,7 +119,7 @@ export default function HeroSection() {
|
|||||||
/>
|
/>
|
||||||
|
|
||||||
<div className="relative z-10">
|
<div className="relative z-10">
|
||||||
<div className="inline-flex items-center px-4 py-2 mb-8 text-sm font-medium bg-white/90 dark:bg-gray-800/90 rounded-full shadow-lg border border-gray-200 dark:border-gray-700">
|
<div className="inline-flex items-center px-4 py-2 mb-4 text-sm font-medium bg-white/90 dark:bg-gray-800/90 rounded-full shadow-lg border border-gray-200 dark:border-gray-700">
|
||||||
<span
|
<span
|
||||||
className="w-2 h-2 bg-blue-500 rounded-full mr-2 animate-pulse"
|
className="w-2 h-2 bg-blue-500 rounded-full mr-2 animate-pulse"
|
||||||
aria-hidden="true"
|
aria-hidden="true"
|
||||||
@@ -134,7 +131,7 @@ export default function HeroSection() {
|
|||||||
|
|
||||||
<h1
|
<h1
|
||||||
id="hero-heading"
|
id="hero-heading"
|
||||||
className="text-5xl lg:text-7xl font-bold mb-14 mt-8 bg-linear-to-r from-blue-600 to-purple-600 bg-clip-text text-transparent pb-1"
|
className="text-5xl lg:text-7xl font-bold mb-10 mt-8 bg-linear-to-r from-blue-600 to-purple-600 bg-clip-text text-transparent pb-1"
|
||||||
>
|
>
|
||||||
{isZh ? (
|
{isZh ? (
|
||||||
<>
|
<>
|
||||||
|
|||||||
Reference in New Issue
Block a user