니디걸오버도즈

This commit is contained in:
암냥 2025-12-19 00:54:03 +09:00
commit 5be9625af3
No known key found for this signature in database
25 changed files with 208 additions and 29 deletions

View file

@ -0,0 +1,21 @@
'use client';
import { useState, useRef, useEffect } from 'react';
import { useReadmeWaka } from '@/hooks/use-readme-waka';
export default function ReadmeWindow() {
const { wakaContent, isLoading, error } = useReadmeWaka();
if (!wakaContent) return null;
return (
<div className="font-mono rounded-b-lg">
<div className="py-4">
<h3 className="text-lg font-bold">WakaTime Stats</h3>
<pre className="text-sm overflow-auto max-h-96 whitespace-pre-wrap break-words">
{wakaContent.replace(/```(txt)?/g, '')}
</pre>
</div>
</div>
);
}