diff options
| author | 2023-11-03 21:13:33 +0800 | |
|---|---|---|
| committer | 2023-11-03 21:13:33 +0800 | |
| commit | 9f0d43fe099a95ab1516ae951dcb60a89e76a5a5 (patch) | |
| tree | 51614fe47bff8bb11028a07d4a35c34c9ff6594a /docs/components/blog/Date.tsx | |
| parent | 8f135707d069c900e055dae71e69909d6b9a41bb (diff) | |
| download | HydroRoll-9f0d43fe099a95ab1516ae951dcb60a89e76a5a5.tar.gz HydroRoll-9f0d43fe099a95ab1516ae951dcb60a89e76a5a5.zip | |
chore: delete useless codes
Diffstat (limited to 'docs/components/blog/Date.tsx')
| -rw-r--r-- | docs/components/blog/Date.tsx | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/docs/components/blog/Date.tsx b/docs/components/blog/Date.tsx deleted file mode 100644 index 506eecc..0000000 --- a/docs/components/blog/Date.tsx +++ /dev/null @@ -1,21 +0,0 @@ -import { ReactNode } from "react"; - -function Date({ - children, - update = null, -}: { - children: ReactNode; - update?: string; -}) { - return ( - <div className="text-sm mt-2 text-center text-gray-500 dark:text-gray-400 font-space-grotesk"> - {children} - - {update != null && ( - <div className="text-xs mt-1 text-center">Last updated {update}</div> - )} - </div> - ); -} - -export default Date; |
