@@ -3,11 +3,13 @@ import GrowthIcon from '@rsuite/icons/Growth';
33import ListOl from '@rsuite/icons/legacy/ListOl' ;
44import React from 'react' ;
55
6- type FeatureItemType = {
6+ export type FeatureItemType = {
77 key : string ;
88 title : string ;
9+ shortTitle ?: string ;
910 path : string ;
1011 icon ?: string ;
12+ description ?: React . ReactNode ;
1113} ;
1214
1315type FeatureGroupType = {
@@ -25,18 +27,24 @@ export const features: FeatureGroupType[] = [
2527 items : [
2628 {
2729 key : 'punycode' ,
28- title : 'Punycode' ,
30+ title : 'Punycodeエンコード' ,
31+ shortTitle : 'Punycode' ,
2932 path : '/punycode' ,
33+ description : '文字列をpunycodeエンコードします' ,
3034 } ,
3135 {
3236 key : 'base64' ,
33- title : 'Base64' ,
37+ title : 'Base64エンコード' ,
38+ shortTitle : 'Base64' ,
3439 path : '/base64' ,
40+ description : '文字列をBase64エンコードします' ,
3541 } ,
3642 {
3743 key : 'urlencode' ,
38- title : 'URL' ,
44+ title : 'URLエンコード' ,
45+ shortTitle : 'URL' ,
3946 path : '/urlencode' ,
47+ description : '文字列をURLエンコードします' ,
4048 } ,
4149 ] ,
4250 } ,
@@ -49,6 +57,7 @@ export const features: FeatureGroupType[] = [
4957 key : 'character_count' ,
5058 title : '文字数カウント' ,
5159 path : '/character_count' ,
60+ description : '文字数や行数をカウントします' ,
5261 } ,
5362 {
5463 key : 'character_replace' ,
@@ -81,11 +90,13 @@ export const features: FeatureGroupType[] = [
8190 key : 'date_converter' ,
8291 title : '日時の変換' ,
8392 path : '/date_converter' ,
93+ description : '日付のフォーマットを変換します' ,
8494 } ,
8595 {
8696 key : 'date_diff' ,
8797 title : '日数計算' ,
8898 path : '/date_diff' ,
99+ description : '2つの時間から差分の時間を計算します' ,
89100 } ,
90101 ] ,
91102 } ,
@@ -98,6 +109,7 @@ export const features: FeatureGroupType[] = [
98109 key : 'hash' ,
99110 title : 'Hash' ,
100111 path : '/hash' ,
112+ description : '文字列からハッシュを生成します' ,
101113 } ,
102114 // {
103115 // key: 'dummy',
@@ -108,11 +120,13 @@ export const features: FeatureGroupType[] = [
108120 key : 'uuid' ,
109121 title : 'UUID' ,
110122 path : '/uuid' ,
123+ description : '複数のUUIDを生成します' ,
111124 } ,
112125 {
113126 key : 'image_generator' ,
114127 title : '画像生成' ,
115128 path : '/image_generator' ,
129+ description : 'ダミー用の画像を生成します' ,
116130 } ,
117131 ] ,
118132 } ,
0 commit comments