Skip to content

Commit 538bbfb

Browse files
committed
upd docs and add title for domain selector
1 parent ba18b46 commit 538bbfb

File tree

4 files changed

+23
-20
lines changed

4 files changed

+23
-20
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<h1>𝐕𝐌𝐀𝐈𝐋.𝐃𝐄𝐕</h1>
33
<p><a href="https://discord.gg/d68kWCBDEs">Discord</a> · <a href="https://github.com/oiov/vmail/blob/main/README_en.md">English</a> | 简体中文</p>
44
<p>使用 Cloudflare email worker 实现的临时电子邮件服务</p>
5-
<img src="https://img.inke.app/file/beb0212f96c6cd37eaeb8.jpg"/>
5+
<!-- <img src="https://img.inke.app/file/beb0212f96c6cd37eaeb8.jpg"/> -->
66
</div>
77

88
## 🌈 特点
@@ -51,11 +51,11 @@ pnpm run remix:dev
5151

5252
运行前复制 `apps/remix/.env.example` 文件并重命名为 `apps/remix/.env`,填写必要的环境变量。
5353

54-
## ❤️ 共建交流群
54+
## ❤️ 交流群
5555

56-
期待参与共建,欢迎加入交流群
56+
有任何问题或意见,欢迎加入交流群讨论。
5757

58-
- 加微信 `yesmore_cc` 拉讨论群 (**备注你的职业**)
58+
- 添加微信 `yesmore_cc` (**备注你的职业**) 拉讨论群或[扫码进群](https://img.inke.app/file/494a7126352427a3b34d8.jpg)
5959
- Discord: https://discord.gg/d68kWCBDEs
6060

6161
## 🎨 Inspired By

README_en.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<h1>𝐕𝐌𝐀𝐈𝐋.𝐃𝐄𝐕</h1>
33
<p><a href="https://discord.gg/d68kWCBDEs">Discord</a> · English | <a href="/README.md">简体中文</a></p>
44
<p>Temporary email service build with email worker.</p>
5-
<img src="https://img.inke.app/file/beb0212f96c6cd37eaeb8.jpg"/>
5+
<!-- <img src="https://img.inke.app/file/beb0212f96c6cd37eaeb8.jpg"/> -->
66
</div>
77

88
## Features

apps/remix/app/components/MailList.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,9 @@ export function MailList(props: { mails: Email[] }) {
9090
</button>
9191
</div>
9292

93-
<div className="grids flex flex-col flex-1 h-[485px] overflow-y-auto p-2">
93+
<div className="grids flex flex-col flex-1 h-[488px] overflow-y-auto p-2">
9494
{data.length === 0 && (
95-
<div className="w-full items-center h-[485px] flex-col justify-center flex">
95+
<div className="w-full items-center h-[488px] flex-col justify-center flex">
9696
<Loader />
9797
<p className="text-zinc-400 mt-6">{t("Waiting for emails...")}</p>
9898
</div>

apps/remix/app/routes/_h._index.tsx

+16-13
Original file line numberDiff line numberDiff line change
@@ -299,19 +299,22 @@ export default function Index() {
299299
</div>
300300
)}
301301
{loaderData.domains && loaderData.domains.length > 1 && (
302-
<select
303-
id="selectDomain"
304-
name="selectDomain"
305-
className="mb-4 border text-sm rounded-md block w-full p-2.5 bg-gray-700 border-gray-600 placeholder-gray-400 text-white focus:ring-blue-500 focus:border-gray-500">
306-
{loaderData.domains.map((item: string) => (
307-
<option
308-
className="py-2 h-10"
309-
selected={item === loaderData.domains[0]}
310-
value={item}>
311-
{item}
312-
</option>
313-
))}
314-
</select>
302+
<>
303+
<div className="mb-3 text-sm font-semibold">{t("Domain")}</div>
304+
<select
305+
id="selectDomain"
306+
name="selectDomain"
307+
className="mb-4 border text-sm rounded-md block w-full p-2.5 bg-gray-700 border-gray-600 placeholder-gray-400 text-white focus:ring-blue-500 focus:border-gray-500">
308+
{loaderData.domains.map((item: string) => (
309+
<option
310+
className="py-2 h-10"
311+
selected={item === loaderData.domains[0]}
312+
value={item}>
313+
{item}
314+
</option>
315+
))}
316+
</select>
317+
</>
315318
)}
316319
<button
317320
type="submit"

0 commit comments

Comments
 (0)