smooth-app
전 세계 식품의 성분·영양·정보를 자유롭게 협업하고 공개하는 데이터베이스
Nutree는 일반 칼로리 앱이 아니라 AI로 일일 목표를 자동 조정하고 식단을 제안해 매크로를 추적합니다 iOS·Android 무료
Không phải app đếm calo bình thường. Nutree tự điều chỉnh mục tiêu hằng ngày, gợi ý bữa ăn và track macro cho bạn bằng AI. Tải miễn phí trên iOS và Android.
건강TypeScript · MDXGitHub @Nutree-AI-Vietnam온라인운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기메이커가 쓴 소개는 위의 한 줄이 전부입니다. 더 자세한 내용은 저장소 README에서 읽을 수 있습니다. 저장소 README ↗
README 전체를 불러오는 중입니다.
README 전문 보기 ↗Next.js 14 landing page for Nutree - AI-powered nutrition tracking platform.
Live Demo: Coming soon Source: trandactri/nutree-web License: BSD-3-Clause
# Install dependencies
npm install
# Start development server
npm run dev
Open http://localhost:3000 in your browser.
npm run dev # Start dev server (hot reload)
npm run build # Build for production
npm start # Start production server
npm run lint # Run ESLint
npm run type-check # Run TypeScript type checking
web/
├── src/
│ ├── app/
│ │ ├── layout.tsx # Root layout with Header & Footer
│ │ ├── page.tsx # Home page with Hero + Aurora background
│ │ ├── changelog/
│ │ │ └── page.tsx # Changelog page (Phase 4)
│ │ └── globals.css # Global styles, CSS variables, animations
│ ├── components/ # Reusable React components (Phase 3: COMPLETE)
│ │ ├── ui/
│ │ │ ├── Button.tsx # Button component with variants (primary/secondary/ghost)
│ │ │ ├── Logo.tsx # Logo component with responsive sizes
│ │ │ ├── FeatureCard.tsx # Feature showcase with icon, title, description (Phase 3)
│ │ │ └── ScreenshotPlaceholder.tsx # Mock phone frame placeholder (Phase 3)
│ │ ├── layout/
│ │ │ ├── Header.tsx # Navigation header with scroll detection
│ │ │ ├── Footer.tsx # Footer with GitHub link and license
│ │ │ ├── MobileMenu.tsx # Mobile navigation drawer
│ │ │ └── AuroraBackground.tsx # Animated mesh gradient background
│ │ └── sections/
│ │ ├── Hero.tsx # Hero section with CTAs and trust badges
│ │ ├── Features.tsx # Features grid with scroll animations (Phase 3)
│ │ ├── DemoVideo.tsx # Demo video placeholder section (Phase 3)
│ │ └── DownloadCTA.tsx # Download CTA with stats (Phase 3)
│ ├── hooks/
│ │ └── useInView.ts # IntersectionObserver hook for scroll animations (Phase 3)
│ ├── lib/
│ │ ├── cn.ts # className utility (clsx + tailwind-merge)
│ │ ├── constants.ts # Site config, navigation links, FEATURES, FEATURE_ICONS (Phase 3 update)
│ │ └── utils.ts # Utility functions (Phase 3+)
│ └── types/
│ └── index.ts # TypeScript type definitions
├── public/
│ ├── logo.png # Brand logo
│ ├── favicon.ico # Browser favicon
│ └── apple-touch-icon.png # iOS home screen icon
├── package.json
├── tsconfig.json
├── tailwind.config.ts
├── next.config.js
├── postcss.config.js
├── .eslintrc.json
├── ONBOARDING.md # Developer onboarding guide
└── .gitignore
Brand Palette (extracted from Nutree logo):
Primary Forest Green: #1A4739 (rgb(26, 71, 57))
Teal: #29B6A1 (rgb(41, 182, 161))
Emerald: #2D8B70 (rgb(45, 139, 112))
Background: #FAFCFB (off-white, green tint)
Foreground: #0F1F1A (near black, green tint)
Muted: #6B7B75 (muted green-gray)
Border: #D4E5DE (soft green border)
Nutrition Accents:
Protein: #E91E63 (pink)
Carbs: #FFC107 (amber)
Fat: #9C27B0 (purple)
Calories: #FF5722 (deep orange)
Font: Be Vietnam Pro, one family for headings and body text
next/font/google as --font-be-vietnam; Tailwind's font-display and font-body both use itAurora Background: Animated radial gradient mesh effect
Button Styles:
Animations:
See src/app/globals.css for full implementation.
Custom theme configured in tailwind.config.ts:
Configuration in next.config.js:
Strict mode enabled in tsconfig.json:
strict: truenoImplicitAny: truemoduleResolution: bundler@/* → ./src/*// src/components/Header.tsx
import clsx from 'clsx';
interface HeaderProps {
className?: string;
}
export function Header({ className }: HeaderProps) {
return (
<header className={clsx('bg-background', className)}>
{/* Component content */}
</header>
);
}
Use Tailwind utility classes with custom theme colors:
<button className="bg-gradient-brand text-white px-8 py-4 rounded-full hover:shadow-lg">
Get Started
</button>
For complex styles, use globals.css with @layer directive:
@layer components {
.custom-component {
@apply flex items-center gap-4;
}
}
Always define props interfaces:
interface Props {
title: string;
count?: number;
onClick: (id: string) => void;
}
export function Component({ title, count, onClick }: Props) {
// ...
}
Principles: KISS (Keep It Simple) • DRY (Don't Repeat) • YAGNI (You Aren't Gonna Need It)
Rules:
any typessrc/lib/constants.tsFormatting:
npm run lint # Check ESLint rules
npm run type-check # Verify TypeScript types
No environment variables required for development. Optional for advanced features:
# .env.local (not committed)
NEXT_PUBLIC_API_URL=https://api.nutreeai.com
npm run build
npm start
Optimizations applied:
next/image)The project is configured for Docker deployment:
# Build image
docker build -t nutree-web:latest .
# Run container
docker run -p 3000:3000 nutree-web:latest
See the main project Deployment Guide for full Docker/K8s setup.
Modern Fitness Aesthetic (Completed Dec 9, 2025)
New sections implemented:
New UI components:
Design enhancements:
Completed Components (6 total, 518 LOC):
New Constants:
Key Design Decisions:
Code Quality (9.5/10):
Security Notes:
Accessibility Notes:
See Phase 3 Implementation Plan for details.
git checkout -b feature/descriptionnpm run lintnpm run type-checkgit commit -m "feat(scope): description"Comprehensive project documentation is available in the /docs directory:
BSD-3-Clause - See LICENSE file for details