Skip to content

kCan1/frontendmentor8

Repository files navigation

Article Preview Card

A responsive Article Preview Card built with React, TypeScript, Vite, and Tailwind CSS. This project is based on a Frontend Mentor challenge and demonstrates modern UI techniques, accessibility, and best practices in React development.

Features

  • Responsive design for mobile and desktop
  • Interactive share options with smooth transitions
  • Accessible markup and keyboard navigation
  • Clean, maintainable code structure
  • ESLint integration for code quality

Tech Stack

Getting Started

  1. Install dependencies:

    npm install
  2. Start the development server:

    npm run dev
  3. Build for production:

    npm run build
  4. Preview production build:

    npm run preview

Folder Structure

├── public/
│   └── vite.svg
├── src/
│   ├── assets/
│   │   ├── images/
│   │   └── style-guide.md
│   ├── components/
│   │   ├── Card.tsx
│   │   └── card/
│   │       └── Footer.tsx
│   ├── constants/
│   │   └── data.ts
│   ├── declarations/
│   │   └── declarations.d.ts
│   ├── App.tsx
│   ├── App.css
│   ├── index.css
│   ├── main.tsx
│   └── vite-env.d.ts
├── index.html
├── package.json
├── tsconfig.json
├── tsconfig.app.json
├── tsconfig.node.json
├── vite.config.ts
└── README.md

Accessibility & Style Guide

Linting & Code Quality

  • ESLint is configured for React and TypeScript.
  • See eslint.config.js for details.
  • Recommended to expand ESLint rules for production (see below).

Expanding ESLint Configuration

For production, enable type-aware lint rules and consider adding eslint-plugin-react-x and eslint-plugin-react-dom.

License

This project is for educational purposes and based on a Frontend Mentor challenge.


Demo:
Feel free to fork, modify, and use this template for your

About

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published