GithubHelp home page GithubHelp logo

drfaelsan / portifolio Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 315 KB

Desenvolvimento de portifólio com React + ViteJs + TailwindCss + Eslint ...

JavaScript 5.66% HTML 4.80% CSS 1.04% TypeScript 88.51%

portifolio's Introduction

Bem vindo ao meu portifólio

Olá meu nome é Rafael Vieira, tenho 24 anos no momento estou solteiro, amo a área de T.I e hoje pretendo fazer meu portifólio e com isso estou criando esse README (instruções) para vocês terem uma base de como foi o passo a passo para o desenvolvimento do mesmo, aqui colocarei os comandos utilizados no desenvolvimento, pacotes utilizados e talvez algumas dicas que farei o possível para buscar para fazer um portifólio de respeito, sem mais de longas vamos aos passos...

Passo a Passo

npm init vite@latest

Nota: Preenchimento das informações solicitadas na criação do projeto, nome, framework e linguagem.

cd <project name>
npm install
npm install -D tailwindcss postcss autoprefixer
npx tailwind init -p
npm i @rocketseat/eslint-config -D
npm i prettier-plugin-tailwindcss -D
npm install lucide-react -D	 
npm install react-type-animation

Nota: Na raiz do projeto devemos criar o arquivo prettier.config.js e nele devemos inserir os seguintes comandos:

module.exports = {
  plugins: [require('prettier-plugin-tailwindcss')],
}

Nota: No Arquivo tailwind.config.js devemos inserir os seguintes códigos:

/** @type  {import('tailwindcss').Config} */

module.exports  = {
	content: ["./src/**/*.{js,ts,jsx,tsx}"],
	theme: {
		variants: {
			animation: ["motion-safe"],
		},
		extend: {
			animation: {
				fadeIn:  "fadeIn 2s ease-in forwards"
			},
			keyframes: {
				fadeIn: {
				"0%": { opacity:  0 },
				"100%": { opacity:  1 }
				}
			}
		},
	}
}

Nota: No Arquivo .eslintrc.cjs devemos inserir os seguintes códigos:

module.exports  = {
	env: { browser:  true, es2020:  true },
	extends: [
		'eslint:recommended',
		'plugin:@typescript-eslint/recommended',
		'plugin:react-hooks/recommended',
		'@rocketseat/eslint-config/react'
	],
	parser:  '@typescript-eslint/parser',
	parserOptions: { 
		ecmaVersion:  'latest', 
		sourceType:  'module' 
	},
	plugins: ['react-refresh'],
	rules: {
		'react-refresh/only-export-components':  'warn',
	},
}

Estrutura de pastas

 src
 ├── App.tsx
 ├── main.tsx
 ├── index.css
 ├── vite-env.d.ts	 
 ├── assets
 ├── components
 	├── Main
		├── index.tsx
	├── Sidebar
		├── index.tsx
		├── SidebarContent.tsx
		├── SidebarIcon.tsx
		├── SidebarRoot.tsx
	├── SidebarDesk
		├── index.tsx
		├── SidebarDeskContent.tsx
		├── SidebarDeskIcon.tsx
		├── SidebarDeskRoot.tsx
	├── Sidenav
		 ├── index.tsx
		 ├── Data
			├── index.tsx
	├── Work
		 ├── index.tsx
		 ├── WorkContent.tsx
		 ├── WorkRoot.tsx
		 ├── Data
			 ├── index.tsx

portifolio's People

Contributors

drfaelsan avatar

Stargazers

 avatar

Watchers

 avatar  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.