mirror of
https://github.com/RealKai42/qwerty-learner.git
synced 2026-04-04 22:09:04 +08:00
fix: update wording in DictRequest panel
This commit is contained in:
@@ -29,29 +29,26 @@ export default function DictRequest() {
|
|||||||
{showPanel && (
|
{showPanel && (
|
||||||
<InfoPanel
|
<InfoPanel
|
||||||
openState={showPanel}
|
openState={showPanel}
|
||||||
title="寻找更多词典?"
|
title="想要添加更多词典?"
|
||||||
icon={IconBook2}
|
icon={IconBook2}
|
||||||
buttonClassName="bg-indigo-500 hover:bg-indigo-400"
|
buttonClassName="bg-indigo-500 hover:bg-indigo-400"
|
||||||
iconClassName="text-indigo-500 bg-indigo-100 dark:text-indigo-300 dark:bg-indigo-500"
|
iconClassName="text-indigo-500 bg-indigo-100 dark:text-indigo-300 dark:bg-indigo-500"
|
||||||
onClose={onClosePanel}
|
onClose={onClosePanel}
|
||||||
>
|
>
|
||||||
<div className="space-y-5">
|
<p className="text-sm text-gray-600 dark:text-gray-300">
|
||||||
<div className="rounded-lg bg-white p-4 shadow-sm dark:bg-gray-800">
|
如果您具备一定的编程技能,欢迎参考我们的
|
||||||
<h4 className="mb-3 font-semibold text-gray-900 dark:text-white">👨💻 具备编程技能?</h4>
|
<a
|
||||||
<p className="text-sm text-gray-600 dark:text-gray-300">
|
href="https://github.com/Kaiyiwing/qwerty-learner/blob/master/docs/toBuildDict.md"
|
||||||
您可以参考我们的
|
className="mx-1 font-medium text-blue-500 hover:text-blue-600"
|
||||||
<a
|
target="_blank"
|
||||||
href="https://github.com/Kaiyiwing/qwerty-learner/blob/master/docs/toBuildDict.md"
|
rel="noreferrer"
|
||||||
className="mx-1 font-medium text-blue-500 hover:text-blue-600"
|
>
|
||||||
target="_blank"
|
词典贡献指南
|
||||||
rel="noreferrer"
|
</a>
|
||||||
>
|
,按照指引为开源项目贡献新的词典内容。我们非常欢迎社区贡献!
|
||||||
词典贡献指南
|
</p>
|
||||||
</a>
|
|
||||||
,为开源项目贡献新的词典内容。
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
{/*
|
||||||
<div className="rounded-lg bg-gradient-to-r from-blue-50 to-indigo-50 p-4 shadow-sm dark:from-gray-800 dark:to-gray-700">
|
<div className="rounded-lg bg-gradient-to-r from-blue-50 to-indigo-50 p-4 shadow-sm dark:from-gray-800 dark:to-gray-700">
|
||||||
<h4 className="mb-3 font-semibold text-gray-900 dark:text-white">🚀 尝试 QwertyLearner.ai</h4>
|
<h4 className="mb-3 font-semibold text-gray-900 dark:text-white">🚀 尝试 QwertyLearner.ai</h4>
|
||||||
<p className="mb-3 text-sm text-gray-600 dark:text-gray-300">
|
<p className="mb-3 text-sm text-gray-600 dark:text-gray-300">
|
||||||
@@ -104,10 +101,11 @@ export default function DictRequest() {
|
|||||||
的独立衍生版本,开源版将持续维持开源与开放运营。
|
的独立衍生版本,开源版将持续维持开源与开放运营。
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
*/}
|
||||||
</InfoPanel>
|
</InfoPanel>
|
||||||
)}
|
)}
|
||||||
<button
|
<button
|
||||||
|
type="button"
|
||||||
onClick={onOpenPanel}
|
onClick={onOpenPanel}
|
||||||
className="group flex items-center space-x-2 rounded-lg border border-indigo-200 bg-gradient-to-r from-indigo-50 to-blue-50 px-4 py-2.5 text-sm font-medium text-indigo-600 shadow-sm transition-all duration-200 hover:scale-105 hover:border-indigo-300 hover:from-indigo-100 hover:to-blue-100 hover:shadow-md focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:border-indigo-400 dark:from-gray-800 dark:to-gray-700 dark:text-indigo-400 dark:hover:from-gray-700 dark:hover:to-gray-600"
|
className="group flex items-center space-x-2 rounded-lg border border-indigo-200 bg-gradient-to-r from-indigo-50 to-blue-50 px-4 py-2.5 text-sm font-medium text-indigo-600 shadow-sm transition-all duration-200 hover:scale-105 hover:border-indigo-300 hover:from-indigo-100 hover:to-blue-100 hover:shadow-md focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:border-indigo-400 dark:from-gray-800 dark:to-gray-700 dark:text-indigo-400 dark:hover:from-gray-700 dark:hover:to-gray-600"
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user