Skip to content

youssefch2003/yc-templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@youssefch2003/yc-cli

npm package

yc-cli is a lightweight scaffolder for modern React + Vite projects. Install production-ready landing pages in seconds—built with Tailwind CSS and shadcn/ui. Includes two templates:

landing-modern for brands/services (hero, features, testimonials, contact).

landipageforapp for mobile apps (App Store/Play badges, animated screenshots, FAQ). Works with TypeScript, Lucide icons, and optional Framer Motion.

Drop-in React + Tailwind + shadcn/ui landing page templates.

Quick Start

# install CLI (or use npx)
npm i -g @youssefch2003/yc-cli

Inside your React app, pick a template

For your service/company landing page — great for agencies, installers, boutiques, or any brand that needs a clean homepage with hero, features, testimonials, contact, and footer.

yc install landing-modern --to ./

For your mobile app — perfect when users Google your app name and need a polished promo site with store badges, animated screenshots, FAQs, and a hero tailored for downloads.

yc install landipageforapp --to ./

Requirements

  • React + Vite (TypeScript)
  • Tailwind + shadcn/ui initialized

Install shadcn components & deps

Common setup

pnpm dlx shadcn@latest init -y

For landing-modern

pnpm dlx shadcn@latest add button badge card accordion separator avatar sheet input textarea label checkbox form
pnpm add lucide-react sonner react-hook-form zod

For landipageforapp

pnpm dlx shadcn@latest add button badge card accordion separator avatar sheet
pnpm add lucide-react framer-motion

Usage

Generated files are placed in src/pages and src/sections.

// landing-modern
import LandingModern from "@/pages/LandingModern"
export default function App() { return <LandingModern /> }

// landipageforapp
import LandingApp from "@/pages/LandingApp"
export default function App() { return <LandingApp /> }

Troubleshooting

Marquee testimonials (landing-modern)

If the testimonial marquee doesn't scroll or looks clipped, add these utilities to your global CSS (e.g. src/index.css or src/app.css):

/* --- Marquee utilities --- */
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll var(--marquee-duration, 28s) linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

License

MIT © youssefch2003

About

Drop-in React landing page templates (Tailwind + shadcn/ui). Install via CLI: service/company sites or mobile-app promo pages with store badges & animations.

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors