Skip to content

Commit

Permalink
chore: update index
Browse files Browse the repository at this point in the history
  • Loading branch information
YuzeTT committed Nov 23, 2023
1 parent 8d4fd22 commit c423ab1
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
Binary file added public/images/icons/rssg-2.webp
Binary file not shown.
5 changes: 4 additions & 1 deletion src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,10 @@ export default function index() {
<img src={item.logo} alt="logo" className='w-auto max-h-8 h-auto' />
</div>
<div className='ml-4 flex-1'>
<div className='text-[16px] font-bold'>{item.name[0]}</div>
<div className='text-[16px] font-bold flex items-center gap-2'>
<div>{item.name[0]}</div>
<div className='text-xs px-1 py-0.5' style={{backgroundColor: item.tag_color[0], color: item.tag_color[1]}}>{item.tag}</div>
</div>
<div className='text-[14px] op50 mt-1'>{item.name[1]}</div>
</div>
</a>
Expand Down
14 changes: 11 additions & 3 deletions src/utils/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,20 @@ const hot = ['#FEE2E2','#DC2626']
// @unocss-include
const list = {
done: [
{
name: ['人生四格', '2x2版 106mm*156mm(含3mm出血)'],
logo: '/images/icons/rssg-2.webp',
url: '/tools/rssg-2',
color: ['#F1A050', '#F3AA3C'],
tag: '内测',
tag_color: ['#F3F4F6','#4B5563']
},
{
name: ['Apple Music', '播放器 透卡/小卡 88.5mm*57m(含出血3mm)'],
logo: '/images/icons/music.webp',
url: '/tools/music',
color: ['#EB4666', '#EF4146'],
tag: '还没做好',
tag: '新上线',
tag_color: ['#dcfce7','#16a34a']
},
{
Expand All @@ -32,8 +40,8 @@ const list = {
logo: '/images/icons/rseg.webp',
url: '/tools/rseg',
color: ['#F1A050', '#F3AA3C'],
tag: '热门',
tag_color: hot
tag: '',
tag_color: []
},
{
name: ['人生四格', '50mm*150mm'],
Expand Down

0 comments on commit c423ab1

Please sign in to comment.