update Home

This commit is contained in:
yzqzss 2024-02-17 03:44:15 +00:00
parent 2725c0809f
commit fe0467aaf1

View File

@ -1,13 +1,15 @@
import { List } from 'antd';
import { GithubOutlined, LinkOutlined } from '@ant-design/icons';
import { List, Tag } from 'antd';
import SearchForm from '../components/SearchForm';
import { PRIMARY_COLOR } from '../constant';
const tips = [
'全文搜索,模糊搜索,简繁同搜,拼音,同音字。',
'有近 11 万篇中文博客文章(包含少量播客),共收录有 1.4K+ 博客。',
'搜索结果以匹配度排序,没有时间权重,这样更容易找到真正有价值的文章。',
'可以用 ";作者" 来筛选同作者的文章。数据库月度更新,如果你需要实时信息,请使用其他优美的搜索引擎。希望你能在这十几万篇文章里找到有用的东西。',
'如需添加收录,给我发消息 TG: @yzqzss / Email: yzqzss@othing.xyz',
'133k+ 篇中文博客文章(包含少量播客),共收录有 1.6K+ 博客。',
'搜索结果以匹配度排序,没有时间权重,这样更容易找到真正有价值的文章。(时间排序以后将提供)',
'可以用 ";作者" 来筛选同作者的文章。数据库月度更新,如果你需要实时信息,请使用其他优美的搜索引擎。希望你能找到有用的东西。',
'如需添加收录,E-Mail: search[at]saveweb.org',
];
// FIXME: 垂直居中
@ -27,6 +29,16 @@ const Home = () => {
</List.Item>
)}
/>
<div className="absolute bottom-0 w-full flex justify-center pb-4">
<Tag icon={<GithubOutlined />} color={PRIMARY_COLOR}>
<a href="https://github.com/saveweb/saveweb-search-frontend">
saveweb/saveweb-search-frontend
</a>
</Tag>
<Tag icon={<LinkOutlined />} color={PRIMARY_COLOR}>
<a href={import.meta.env.VITE_APP_API_BASE_URL}>&API</a>
</Tag>
</div>
</div>
);
};