Skip to content

Commit

Permalink
Merge pull request #4 from ViniR07/develop
Browse files Browse the repository at this point in the history
Add netflix-V2 project
  • Loading branch information
vinimrs authored May 1, 2022
2 parents b8435e1 + 0fe8cff commit a646090
Show file tree
Hide file tree
Showing 39 changed files with 2,408 additions and 2,286 deletions.
22 changes: 11 additions & 11 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# EditorConfig is awesome: https://EditorConfig.org

# top-most EditorConfig file
root = true

[*]
indent_style = space
indent_size = 4
end_of_line = crlf
charset = utf-8
trim_trailing_whitespace = false
# EditorConfig is awesome: https://EditorConfig.org

# top-most EditorConfig file
root = true

[*]
indent_style = space
indent_size = 4
end_of_line = crlf
charset = utf-8
trim_trailing_whitespace = false
insert_final_newline = false
4 changes: 2 additions & 2 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
node_modules
.next
node_modules
.next
/*.js
78 changes: 39 additions & 39 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,39 +1,39 @@
{
"env": {
"browser": true,
"es2021": true,
"node": true,
"jest": true
},
"extends": [
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
"standard",
"prettier",
"prettier/prettier"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"react",
"@typescript-eslint",
"prettier"
],
"rules": {
"react/prop-types": "off"
},
"overrides": [
{
"files": ["*.tsx"],
"rules": {
"no-undef": "off"
}
}
]
}
{
"env": {
"browser": true,
"es2021": true,
"node": true,
"jest": true
},
"extends": [
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
"standard",
"prettier",
"prettier/prettier"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"react",
"@typescript-eslint",
"prettier"
],
"rules": {
"react/prop-types": "off"
},
"overrides": [
{
"files": ["*.tsx"],
"rules": {
"no-undef": "off"
}
}
]
}
10 changes: 5 additions & 5 deletions next-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
/// <reference types="next" />
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
116 changes: 58 additions & 58 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,58 +1,58 @@
/** @type {import('next').NextConfig} */

const nextConfig = {
reactStrictMode: true,
compiler: {
styledComponents: true,
},
};

module.exports = nextConfig;

const withImages = require('next-images');
module.exports = withImages({
esModule: true,
});

// next-react-svg
// const withReactSvg = require('next-react-svg')
// const path = require('path')

// module.exports = withReactSvg({
// include: path.resolve(__dirname, 'src/assets/svg'),
// webpack(config, options) {
// return config
// }
// })

/* Use somente se for usar babel.config.js */
// webpack: (config, options) => {
// const nextBabelLoader = findNextBabelLoader(config);
// // Set Babel root to workspace root, so config
// // applies to workspace modules.
// nextBabelLoader.options.root = resolve('..');
// // But use the local config
// nextBabelLoader.options.configFile = resolve('.babelrc');
// return config;
// }

// function findNextBabelLoader(config) {
// for (const rule of config.module.rules) {
// // server
// if (
// rule.use &&
// rule.use.loader === 'next-babel-loader'
// ) {
// return rule.use;
// }
// // client
// else if (
// rule.use &&
// Array.isArray(rule.use) &&
// rule.use[1].loader === 'next-babel-loader'
// ) {
// return rule.use[1];
// }
// }
// throw new Error('`next-babel-loader` not found');
// }
/** @type {import('next').NextConfig} */

const nextConfig = {
reactStrictMode: true,
compiler: {
styledComponents: true,
},
};

module.exports = nextConfig;

const withImages = require('next-images');
module.exports = withImages({
esModule: true,
});

// next-react-svg
// const withReactSvg = require('next-react-svg')
// const path = require('path')

// module.exports = withReactSvg({
// include: path.resolve(__dirname, 'src/assets/svg'),
// webpack(config, options) {
// return config
// }
// })

/* Use somente se for usar babel.config.js */
// webpack: (config, options) => {
// const nextBabelLoader = findNextBabelLoader(config);
// // Set Babel root to workspace root, so config
// // applies to workspace modules.
// nextBabelLoader.options.root = resolve('..');
// // But use the local config
// nextBabelLoader.options.configFile = resolve('.babelrc');
// return config;
// }

// function findNextBabelLoader(config) {
// for (const rule of config.module.rules) {
// // server
// if (
// rule.use &&
// rule.use.loader === 'next-babel-loader'
// ) {
// return rule.use;
// }
// // client
// else if (
// rule.use &&
// Array.isArray(rule.use) &&
// rule.use[1].loader === 'next-babel-loader'
// ) {
// return rule.use[1];
// }
// }
// throw new Error('`next-babel-loader` not found');
// }
27 changes: 18 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions prettier.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = {
semi: true,
singleQuote: true,
arrowParens: 'avoid',
endOfLine: 'auto',
tabWidth: 4
module.exports = {
semi: true,
singleQuote: true,
arrowParens: 'avoid',
endOfLine: 'auto',
tabWidth: 4
}
3 changes: 3 additions & 0 deletions public/images/1.png:Zone.Identifier
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[ZoneTransfer]
ZoneId=3
HostUrl=https://user-images.githubusercontent.com/92659173/156057029-d245b3ab-c249-4610-99b8-21f91757c0fc.png
Binary file added public/images/3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/netflix-2.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/video-netflix-2.mp4
Binary file not shown.
4 changes: 4 additions & 0 deletions public/video-netflix.mp4:Zone.Identifier
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[ZoneTransfer]
ZoneId=3
ReferrerUrl=https://online-video-cutter.com/
HostUrl=https://s41.123apps.com/vcutter/d/s40rg85ovjO_mp4_mySEOQaA.mp4
4 changes: 4 additions & 0 deletions public/video-vinchat.mp4:Zone.Identifier
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[ZoneTransfer]
ZoneId=3
ReferrerUrl=https://online-video-cutter.com/
HostUrl=https://s23.123apps.com/vcutter/d/s18yiJBv2df_mkv_nlM7c2fB.mp4
Loading

1 comment on commit a646090

@vercel
Copy link

@vercel vercel bot commented on a646090 May 1, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

vinport – ./

vinport.vercel.app
vinport-vinir07.vercel.app
vinport-git-main-vinir07.vercel.app

Please sign in to comment.