Repository: daijinhai/StayFocused Branch: main Commit: f4bc73ee780c Files: 63 Total size: 154.7 KB Directory structure: gitextract_flgb_r6k/ ├── .gitignore ├── README.md ├── electron/ │ ├── main.cjs │ └── preload.cjs ├── eslint.config.js ├── index.html ├── package.json ├── postcss.config.js ├── public/ │ ├── icon.icns │ ├── robots.txt │ └── sitemap.xml ├── scripts/ │ ├── generate-icons.cjs │ ├── generate-icons.js │ ├── generate-win-icon.cjs │ ├── seo-check.cjs │ └── seo-check.js ├── src/ │ ├── App.tsx │ ├── components/ │ │ ├── AlertDialog.tsx │ │ ├── LanguageSwitcher.tsx │ │ ├── Layout.tsx │ │ ├── SEOHead.tsx │ │ ├── SavedMixes.tsx │ │ ├── SoundButton.tsx │ │ ├── SoundIcon.tsx │ │ ├── ThemeSelector.tsx │ │ ├── ThemeToggle.tsx │ │ └── Timer.tsx │ ├── data/ │ │ ├── categories.ts │ │ ├── categoryMap.ts │ │ ├── seoConfig.ts │ │ ├── sounds/ │ │ │ ├── animals.ts │ │ │ ├── city.ts │ │ │ ├── index.ts │ │ │ ├── nature.ts │ │ │ └── rain.ts │ │ ├── sounds.ts │ │ └── themes.ts │ ├── hooks/ │ │ ├── useOnClickOutside.ts │ │ ├── useSEO.ts │ │ └── useWebVitals.ts │ ├── i18n.ts │ ├── index.css │ ├── locales/ │ │ ├── en/ │ │ │ └── translation.json │ │ ├── en.json │ │ ├── zh/ │ │ │ └── translation.json │ │ └── zh.json │ ├── main.tsx │ ├── store/ │ │ ├── timerStore.ts │ │ ├── useStore.ts │ │ └── useThemeStore.ts │ ├── themes/ │ │ └── index.ts │ ├── types/ │ │ ├── index.ts │ │ └── theme.ts │ ├── types.ts │ ├── utils/ │ │ ├── analytics.ts │ │ ├── audio.ts │ │ └── seoAudit.ts │ └── vite-env.d.ts ├── tailwind.config.js ├── tsconfig.app.json ├── tsconfig.json ├── tsconfig.node.json └── vite.config.ts ================================================ FILE CONTENTS ================================================ ================================================ FILE: .gitignore ================================================ # Logs logs *.log npm-debug.log* yarn-debug.log* yarn-error.log* pnpm-debug.log* lerna-debug.log* node_modules dist dist-ssr *.local # 构建输出 release release/ # Editor directories and files .vscode/* !.vscode/extensions.json .idea .DS_Store *.suo *.ntvs* *.njsproj *.sln *.sw? # Electron 构建相关 public/icons-win .npmrc ================================================ FILE: README.md ================================================ # StayFocused - 专注时钟 & 白噪音应用
打造专属你的专注与放松环境
Made with ❤️ by YOUR-NAME
如果StayFocused对您有所帮助,请考虑给项目一个⭐️
{message}
{mix.volumes && Object.entries(mix.volumes) .filter(([_, volume]) => volume > 0) .map(([soundId]) => t(`sounds.${soundId}`)) .join(' · ') || t('mixes.noSounds')}
{t(`sounds.${sound.id}`)}
{isPlaying && ( setVolume(sound.id, parseFloat(e.target.value))} className="w-24" /> )}${issue.description}
生成时间:${new Date(result.timestamp).toLocaleString()}