Skip to content

Commit abdab5f

Browse files
committed
feat: new site generated by cursor
1 parent 9f55db4 commit abdab5f

100 files changed

Lines changed: 7515 additions & 2 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.*
7+
.yarn/*
8+
!.yarn/patches
9+
!.yarn/plugins
10+
!.yarn/releases
11+
!.yarn/versions
12+
13+
# testing
14+
/coverage
15+
16+
# next.js
17+
/.next/
18+
/out/
19+
20+
# production
21+
/build
22+
23+
# misc
24+
.DS_Store
25+
*.pem
26+
27+
# debug
28+
npm-debug.log*
29+
yarn-debug.log*
30+
yarn-error.log*
31+
.pnpm-debug.log*
32+
33+
# env files (can opt-in for committing if needed)
34+
.env*
35+
36+
# vercel
37+
.vercel
38+
39+
# typescript
40+
*.tsbuildinfo
41+
next-env.d.ts

.htaccess

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Força HTTPS
2+
RewriteEngine On
3+
RewriteBase /
4+
RewriteCond %{HTTPS} off
5+
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
6+
7+
# Redirecionar todas as URLs não encontradas para a home
8+
RewriteCond %{REQUEST_FILENAME} !-f
9+
RewriteCond %{REQUEST_FILENAME} !-d
10+
RewriteRule ^(.*)$ / [L,R=301]
11+
12+
# Remove extensão .html
13+
RewriteCond %{REQUEST_FILENAME} !-d
14+
RewriteCond %{REQUEST_FILENAME}.html -f
15+
RewriteRule ^(.*)$ $1.html [NC,L]
16+
17+
# Configurações de cache
18+
<IfModule mod_expires.c>
19+
ExpiresActive On
20+
ExpiresByType image/jpg "access plus 1 year"
21+
ExpiresByType image/jpeg "access plus 1 year"
22+
ExpiresByType image/gif "access plus 1 year"
23+
ExpiresByType image/png "access plus 1 year"
24+
ExpiresByType image/webp "access plus 1 year"
25+
ExpiresByType text/css "access plus 1 month"
26+
ExpiresByType application/javascript "access plus 1 month"
27+
</IfModule>
28+
29+
# Compressão GZIP
30+
<IfModule mod_deflate.c>
31+
AddOutputFilterByType DEFLATE text/plain
32+
AddOutputFilterByType DEFLATE text/html
33+
AddOutputFilterByType DEFLATE text/xml
34+
AddOutputFilterByType DEFLATE text/css
35+
AddOutputFilterByType DEFLATE application/xml
36+
AddOutputFilterByType DEFLATE application/xhtml+xml
37+
AddOutputFilterByType DEFLATE application/rss+xml
38+
AddOutputFilterByType DEFLATE application/javascript
39+
AddOutputFilterByType DEFLATE application/x-javascript
40+
</IfModule>
41+
42+
# Prevenir listagem de diretórios
43+
Options -Indexes
44+
45+
# Configurações de segurança
46+
<IfModule mod_headers.c>
47+
Header set X-Content-Type-Options "nosniff"
48+
Header set X-XSS-Protection "1; mode=block"
49+
Header set X-Frame-Options "SAMEORIGIN"
50+
Header set Referrer-Policy "strict-origin-when-cross-origin"
51+
</IfModule>

README.md

Lines changed: 119 additions & 2 deletions

eslint.config.mjs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import { dirname } from "path";
2+
import { fileURLToPath } from "url";
3+
import { FlatCompat } from "@eslint/eslintrc";
4+
5+
const __filename = fileURLToPath(import.meta.url);
6+
const __dirname = dirname(__filename);
7+
8+
const compat = new FlatCompat({
9+
baseDirectory: __dirname,
10+
});
11+
12+
const eslintConfig = [
13+
...compat.extends("next/core-web-vitals", "next/typescript"),
14+
];
15+
16+
export default eslintConfig;

next.config.js

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
/** @type {import('next').NextConfig} */
2+
const nextConfig = {
3+
output: 'export',
4+
basePath: '',
5+
images: {
6+
remotePatterns: [
7+
{
8+
protocol: 'https',
9+
hostname: 'miro.medium.com',
10+
pathname: '/v2/**',
11+
},
12+
{
13+
protocol: 'https',
14+
hostname: 'images.unsplash.com',
15+
pathname: '/**',
16+
},
17+
{
18+
protocol: 'https',
19+
hostname: 'github.com',
20+
pathname: '/**',
21+
},
22+
{
23+
protocol: 'https',
24+
hostname: 'raw.githubusercontent.com',
25+
pathname: '/**',
26+
},
27+
{
28+
protocol: 'https',
29+
hostname: 'avatars.githubusercontent.com',
30+
pathname: '/**',
31+
}
32+
],
33+
unoptimized: true
34+
},
35+
trailingSlash: true
36+
}
37+
38+
module.exports = nextConfig

next.config.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import type { NextConfig } from "next";
2+
3+
const nextConfig: NextConfig = {
4+
/* config options here */
5+
};
6+
7+
export default nextConfig;

old/.htaccess

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
RewriteEngine On
2+
RewriteBase /
3+
4+
# Redirecionar /blog para /blog.html
5+
RewriteRule ^blog/?$ /blog.html [L,R=301]
6+
7+
# Redirecionar todas as URLs não encontradas para a home
8+
RewriteCond %{REQUEST_FILENAME} !-f
9+
RewriteCond %{REQUEST_FILENAME} !-d
10+
RewriteRule ^(.*)$ / [L,R=301]
File renamed without changes.

old/README.md

Lines changed: 2 additions & 0 deletions
File renamed without changes.

0 commit comments

Comments
 (0)