Code Monkey home page Code Monkey logo

ts-next-tailwind-template's Introduction

Ultimate Front-end Template

preview

Most elements are taken from my website.

Deploy with Vercel

Use as a CodeSandbox template

Ingredients โœจ:

  • NextJS 13 ๐Ÿš€
  • TailwindCSS ๐Ÿฆ„
  • Typescript ๐Ÿฆบ
  • Dark Mode Support ๐ŸŒ“
  • ESLint + Prettier Config ๐Ÿ“‚
  • Husky ๐Ÿถ
  • Self-Hosted Inter Font โŠ

Getting started

  1. With 'use as template' repository preview

  2. Clone the project

# http
git clone https://github.com/cristicretu/ts-next-tailwind-template.git
# ssh
git clone [email protected]:cristicretu/ts-next-tailwind-template.git
  1. With create-next-app
npx create-next-app -e https://github.com/cristicretu/ts-next-tailwind-template project-name
  • Tip: if you want to use the version prior to Next.js 13 with the app directory, use:
npx create-next-app -e https://github.com/cristicretu/ts-next-tailwind-template/tree/1ac5d6dd4157ea3c7cc89f14fbfbf01ab0b495fc project-name

Install the required packages and run the template

cd project-name
npm install
# yarn install
# pnpm install

Included

Custom classNames function

Under /lib/classNames

Packages

  1. Next-themes: An abstraction for themes in your Next.js app
  2. react-use: react-hooks
  3. Framer Motion: animation library

Custom globals.css

  1. custom underline
  2. vercel navbar
  3. removes firefox, edge and ie. bugs with overflows

Absolute Imports

import TextField from '../../../ui/TextField.tsx'

changes to

import TextField from 'uis/TextField.tsx'

SEO optimization found in Container.tsx

Folder structuring & organization

Under /ui/ & /public/

Self Hosted Inter Font

Under /public/fonts/

404 Page

Favicons and more configs

Under /public/static/favicons/

preview

ts-next-tailwind-template's People

Contributors

bhanufyi avatar cristicretu avatar dependabot[bot] avatar imgbotapp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.