Gym-website Tailwind Templates

Gym Website

Used React, Typescript, Tailwind, Vite, Hero Icons, Framer Motion, Form Submit, React Anchor Link Smooth Scroll.

Credits

This project is based on the tutorial by EdRoh, where they demonstrate how to build a fully responsive Typescript React Fitness Application.

I thank the original creater as this tutorial helped me learn about the implementation and integration of several different tech tools into one project. I tried my best to understand the code instead of merely copying it word by word. I initially faced many issues regarding Localhost port connectivity, npm commands etc. I also faced issues with the Prettier extension and had to recreate the React app, but eventually I was able to complete the website and deploy it successfully using CloudFlare pages.

Original Tutorial:

React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:

  • Configure the top-level parserOptions property like this:
export default {
  // other rules...
  parserOptions: {
    ecmaVersion: 'latest',
    sourceType: 'module',
    project: ['./tsconfig.json', './tsconfig.node.json'],
    tsconfigRootDir: __dirname,
  },
}
  • Replace plugin:@typescript-eslint/recommended to plugin:@typescript-eslint/recommended-type-checked or plugin:@typescript-eslint/strict-type-checked
  • Optionally add plugin:@typescript-eslint/stylistic-type-checked
  • Install eslint-plugin-react and add plugin:react/recommended & plugin:react/jsx-runtime to the extends list

Top categories

Loading Svelte Themes