Skip to content

Commit

Permalink
feat(Setup project using kowind and configuring colors, fonts and som…
Browse files Browse the repository at this point in the history
…e styles.): 🎉 🎨
  • Loading branch information
kayooliveira committed Jul 15, 2022
0 parents commit 2fb274b
Show file tree
Hide file tree
Showing 18 changed files with 425 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
node_modules
dist
/*.js
bin
.env
74 changes: 74 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
{
"env": {
"browser": true,
"es2021": true
},
"extends": [
"plugin:react/recommended",
"standard",
"prettier",
"plugin:@typescript-eslint/recommended",
"plugin:import/warnings",
"plugin:import/errors"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"react",
"@typescript-eslint",
"eslint-plugin-import-helpers",
"prettier"
],
"rules": {
"prettier/prettier":"error",
"space-before-function-paren":"off",
"camelcase":"warn",
"react/prop-types":"off",
"no-use-before-define":"off",
"@typescript-eslint/no-explicit-any":"off",
"@typescript-eslint/no-unused-vars": [
"error",
{
"argsIgnorePattern": "_"
}
],
"import-helpers/order-imports": [
"warn",
{ // example configuration
"newlinesBetween": "always",
"groups": [
"module",
"/^@shared/",
["parent", "sibling", "index"]
],
"alphabetize": { "order": "asc", "ignoreCase": true }
}
],
"import/prefer-default-export": "off"

},
"settings": {
"react": {
"version": "detect"
},
"import/resolver": {
"node": {
"extensions": [
".js",
".jsx",
".ts",
".tsx"
]
},
"typescript": {
"project": "./tsconfig.json"
}
}
}
}
120 changes: 120 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn.lock
package-lock.json
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# Snowpack dependency directory (https://snowpack.dev/)
web_modules/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
.env.test
.env.production

# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache

# Next.js build output
.next
out

# Nuxt.js build / generate output
.nuxt
dist

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and not Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port

# Stores VSCode versions used for testing VSCode extensions
.vscode-test

# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*
7 changes: 7 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"semi": false,
"singleQuote": true,
"arrowParens": "avoid",
"trailingComma": "none",
"endOfLine": "auto"
}
3 changes: 3 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"recommendations": ["esbenp.prettier-vscode", "bradlc.vscode-tailwindcss"]
}
12 changes: 12 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnPaste": true,
"editor.formatOnSave": true,
"editor.formatOnSaveMode": "file",
"tailwindCSS.includeLanguages": {
"plaintext": "html"
},
"editor.quickSuggestions": {
"strings": true
}
}
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<p align="center">
<a href="https://www.github.com/kayooliveira" target="_blank" rel="noopener noreferrer">
<img width="200" src="./src/assets/img/favicon.svg" alt="kayooliveira logo">
</a>
</p>
<br>

# <p align="center"> :book: ***Kayo Oliveira*** - Portfolio:book:

## 🧪 Stack 🧪
- React
- Typescript
- TailwindCSS

## License
MIT

---
#### <p align="center"> made with :two_hearts: by [Kayo Oliveira](https://github.com/kayooliveira)
39 changes: 39 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="src/Assets/img/logo.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Kayo Oliveira - Desenvolvedor Web</title>
<meta name="application-name" content="Kayo Oliveira" />
<meta name="description" content="Kayo Oliveira Desenvolvedor WEB" />
<meta
name="keywords"
content="brasil, brazil, developer, desenvovedor, programador, reactjs, react, nextjs, next, stitches, styled components, css-in-js"
/>
<meta name="author" content="Kayo Oliveira" />
<meta
property="og:title"
content="Kayo Oliveira - Desenvolvedor FullStack"
/>
<meta
property="og:description"
content="Desenvolvedor FullStack trabalhando atualmente com ReactJS, PHP, Typescript, TailwindCSS, Stitches entre algumas outras bibliotecas, confira a aba de serviços para mais informações."
/>
<meta property="og:type" content="website" />
<meta property="og:image" content="/src/Assets/img/logo.png" />
<meta
property="og:image:alt"
content="Kayo Oliveira - Desenvolvedor FullStack"
/>
<meta property="og:locale" content="pt_BR" />
<meta property="og:site_name" content="Kayo Oliveira" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap" rel="stylesheet">
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>
36 changes: 36 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"name": "kayooliveira.com",
"version": "0.0.0",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview"
},
"dependencies": {
"phosphor-react": "^1.4.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"tailwind-scrollbar": "^1.3.1",
"vitawind": "^2.0.0"
},
"devDependencies": {
"@types/react": "^18.0.15",
"@types/react-dom": "^18.0.6",
"@typescript-eslint/eslint-plugin": "^5.27.0",
"@typescript-eslint/parser": "^5.27.0",
"@vitejs/plugin-react": "^2.0.0",
"eslint": "^8.16.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-import-helpers": "^1.2.1",
"eslint-plugin-n": "^15.0.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-react": "^7.30.0",
"prettier": "^2.5.1",
"prettier-plugin-tailwindcss": "^0.1.5",
"typescript": "^4.4.4",
"vite": "^3.0.0"
}
}
6 changes: 6 additions & 0 deletions postcss.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
}
5 changes: 5 additions & 0 deletions src/App.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import React from 'react'

export function App() {
return <h1>Hello World</h1>
}
13 changes: 13 additions & 0 deletions src/assets/img/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions src/main.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import React from 'react'
import ReactDOM from 'react-dom'

import './styles/global.css'
import { App } from './App'

ReactDOM.render(
<React.StrictMode>
<App />
</React.StrictMode>,
document.getElementById('root')
)
9 changes: 9 additions & 0 deletions src/styles/global.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
@tailwind base;
@tailwind components;
@tailwind utilities;


body {
@apply font-default bg-background;
scroll-behavior: smooth;
}
1 change: 1 addition & 0 deletions src/vite-env.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/// <reference types="vite/client" />
Loading

0 comments on commit 2fb274b

Please sign in to comment.