Skip to content

Commit

Permalink
chore: update translations
Browse files Browse the repository at this point in the history
  • Loading branch information
CNSeniorious000 committed Sep 3, 2024
1 parent 6beb009 commit 0d19dce
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions src/lib/components/Hero.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,21 @@

<div class="flex flex-col translate-x-0.5 gap-3 lg:gap-5">
<div class="text-xs">
<span class="op-30">由一个编译成 WASM 的 CPython</span>
<span class="op-30">由一个将 CPython 编译成 WASM 的项目</span>
<a class="underline underline-(white op-30 offset-2) op-80 transition hover:op-100" href="https://github.com/pyodide/pyodide">@pyodide</a>
<span class="op-30">实现</span>
</div>

<h1 class="flex flex-row select-none text-4xl font-bold tracking-wide font-sans -translate-x-0.5">
<h1 class="flex flex-row select-none text-4xl font-semibold tracking-wide font-sans -translate-x-0.5">
<span>Pyth</span>
<span>on</span>
<span>line</span>
</h1>

<div>
<h2 class="group w-fit flex flex-row gap-1.5 rounded-sm bg-neutral-1 px-2.5 py-1.5 text-sm text-neutral-9 font-bold font-mono">
内置 Copilot 的 Python IDE,原生运行于浏览器中
<span class="hidden select-none group-hover:(block after:content-['🚀'])" />
<h2 class="group w-fit flex flex-row gap-1.5 rounded-sm bg-neutral-1 px-2.5 py-1.5 text-sm text-neutral-9 font-500">
浏览器中的 Python IDE,内置 Copilot
<span class="hidden select-none group-hover:(block after:content-['🥰'])" />
</h2>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<FeatureCard icon="i-ph-terminal-window-duotone" href="/console" title="Python 控制台" description="打开一个沉浸式控制台" />
<FeatureCard icon="i-hugeicons-hand-pointing-right-01" href="/about" title="自我介绍" description="功能简介" />
<FeatureCard icon="i-solar-command-bold-duotone" on:click={() => $showMenu = true} title="试试快捷菜单" description="按 Ctrl/Cmd + K 打开" />
<FeatureCard icon="i-hugeicons-package-search" href="/pypi" title="探索 PyPI" description="搜索PyPI上的包" />
<FeatureCard icon="i-hugeicons-package-search" href="/pypi" title="探索 PyPI" description="搜索 PyPI 上的包" />
<FeatureCard icon="i-mdi-github-face" href="/github" title="打开一个 GitHub 仓库" description="从指定的 GitHub 仓库打开一个工作区" />
<FeatureCard icon="i-lucide-folder-dot" href="/playground" title="看看本站源码" description="本站的 Python 代码" />
</div>
Expand Down

0 comments on commit 0d19dce

Please sign in to comment.