mateusfg7 / mateusf.com Goto Github PK
View Code? Open in Web Editor NEW🏡 My corner of internet, a.k.a Personal Homepage & Portfolio.
Home Page: https://mateusf.com
License: GNU General Public License v3.0
🏡 My corner of internet, a.k.a Personal Homepage & Portfolio.
Home Page: https://mateusf.com
License: GNU General Public License v3.0
Full Gray (bg) - #131313
Md Gray (text) - #494949
Light Gray (title) - #666666
Main Color - #0984e3 [ hover - #8e44ad ]
Secondary Color - #B57233
This issue close #5
Create an info page with my Public GPG, social links, etc.
Change the style of scrollbar on entire page
Add Katex render to render math notation.
yarn run v1.22.19
$ eslint . --ext js,jsx,ts,tsx
Oops! Something went wrong! :(
ESLint: 8.29.0
ESLint couldn't find the plugin "eslint-plugin-n".
(The package "eslint-plugin-n" was not found when loaded as a Node module from the directory "/home/mateusfg7/Projects/mfg-b".)
It's likely that the plugin isn't installed correctly. Try reinstalling by running the following:
npm install eslint-plugin-n@latest --save-dev
The plugin "eslint-plugin-n" was referenced from the config file in ".eslintrc.json » eslint-config-standard".
If you still can't figure out the problem, please stop by https://eslint.org/chat/help to chat with the team.
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Error when execute yarn build
:
> Build error occurred
Error: EISDIR: illegal operation on a directory, read
at Object.readSync (fs.js:614:3)
at tryReadSync (fs.js:383:20)
at Object.readFileSync (fs.js:420:19)
at /home/mateusfg7/www/mfg-b/.next/server/chunks/617.js:39:68
at Array.map (<anonymous>)
at getSortedKnowledgeData (/home/mateusfg7/www/mfg-b/.next/server/chunks/617.js:34:38)
at getStaticPaths (/home/mateusfg7/www/mfg-b/.next/server/pages/category/[category].js:137:78)
at buildStaticPaths (/home/mateusfg7/www/mfg-b/node_modules/next/dist/build/utils.js:472:37)
at /home/mateusfg7/www/mfg-b/node_modules/next/dist/build/utils.js:615:125
at processTicksAndRejections (internal/process/task_queues.js:95:5) {
type: 'Error',
errno: -21,
syscall: 'read',
code: 'EISDIR'
}
Convert tag/category string to slug format to generate links
Create a dialogue style boxes, somethi like this.
Create a "copy button" on code blocks, to fast copy long codes
ref:
Add the last update of the post on metadata header.
Error with prettier-eslint configuration when run eslint
check
Oops! Something went wrong! :(
ESLint: 7.32.0
Error: Cannot read config file: /home/mateusfg7/www/mfg-b/node_modules/eslint-config-prettier/@typescript-eslint.js
Error: "prettier/@typescript-eslint" has been merged into "prettier" in eslint-config-prettier 8.0.0. See: https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md#version-800-2021-02-21
Referenced from: /home/mateusfg7/www/mfg-b/.eslintrc.json
at Object.<anonymous> (/home/mateusfg7/www/mfg-b/node_modules/eslint-config-prettier/@typescript-eslint.js:1:69)
at Module._compile (/home/mateusfg7/www/mfg-b/node_modules/v8-compile-cache/v8-compile-cache.js:192:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)
at Module.load (internal/modules/cjs/loader.js:937:32)
at Function.Module._load (internal/modules/cjs/loader.js:778:12)
at Module.require (internal/modules/cjs/loader.js:961:19)
at module.exports (/home/mateusfg7/www/mfg-b/node_modules/import-fresh/index.js:32:59)
at loadJSConfigFile (/home/mateusfg7/www/mfg-b/node_modules/@eslint/eslintrc/lib/config-array-factory.js:225:16)
at loadConfigFile (/home/mateusfg7/www/mfg-b/node_modules/@eslint/eslintrc/lib/config-array-factory.js:309:20)
at ConfigArrayFactory._loadConfigData (/home/mateusfg7/www/mfg-b/node_modules/@eslint/eslintrc/lib/config-array-factory.js:609:42)
Create a dark color pallete
Add rehype-jargon plugin, a Rehype plugin for jargon terms.
refs
Increment the README.md with some project info, like technologies, a way to deploy your own page, and features about mardown rendering.
./src/components/Container.tsx:3:39
Type error: Property 'children' does not exist on type '{}'.
1 | import React from 'react'
2 |
> 3 | export const Container: React.FC = ({ children }) => {
| ^
4 | return <div className="max-w-4xl p-5 m-auto">{children}</div>
5 | }
6 |
Error on PR #297
Save read state on localStorage using the window scroll position as reference
Server Error
Error: Invalid <Link> with <a> child. Please remove <a> or use <Link legacyBehavior>.
Learn more: https://nextjs.org/docs/messages/invalid-new-link-with-extra-anchor
This error happened while generating the page. Any console logs will be displayed in the terminal window.
Call Stack
LinkComponent
node_modules/next/dist/client/link.js (252:22)
renderWithHooks
file:/home/mateusfg7/Projects/mfg-b/node_modules/react-dom/cjs/react-dom-server.browser.development.js (5658:16)
renderForwardRef
file:/home/mateusfg7/Projects/mfg-b/node_modules/react-dom/cjs/react-dom-server.browser.development.js (5842:18)
renderElement
file:/home/mateusfg7/Projects/mfg-b/node_modules/react-dom/cjs/react-dom-server.browser.development.js (6005:11)
renderNodeDestructiveImpl
file:/home/mateusfg7/Projects/mfg-b/node_modules/react-dom/cjs/react-dom-server.browser.development.js (6104:11)
renderNodeDestructive
file:/home/mateusfg7/Projects/mfg-b/node_modules/react-dom/cjs/react-dom-server.browser.development.js (6076:14)
renderNode
file:/home/mateusfg7/Projects/mfg-b/node_modules/react-dom/cjs/react-dom-server.browser.development.js (6259:12)
renderChildrenArray
file:/home/mateusfg7/Projects/mfg-b/node_modules/react-dom/cjs/react-dom-server.browser.development.js (6211:7)
renderNodeDestructiveImpl
file:/home/mateusfg7/Projects/mfg-b/node_modules/react-dom/cjs/react-dom-server.browser.development.js (6141:7)
renderNodeDestructive
file:/home/mateusfg7/Projects/mfg-b/node_modules/react-dom/cjs/react-dom-server.browser.development.js (6076:14)
Wrap all matching elements with a given element.
You can use this plugin when you want to improve the size of HTML documents.
In
<img style="display: block;">
Out
<img style="display:block">
Config dependabot file, found on insights > Dependency Graph > Dependabot
.
yarn build
yarn run v1.22.5
$ next build
info - Using webpack 5. Reason: Enabled by default https://nextjs.org/docs/messages/webpack5
Failed to compile.
./src/pages/post/[id].tsx:42:28
Type error: This expression is not callable.
Type 'typeof import("/home/mateusfg7/www/mfg-b/node_modules/unified/index")' has no call signatures.
40 | const tags = postData.tags.split(',')
41 |
> 42 | const contentProcessor = unified()
| ^
43 | .use(markdown)
44 | .use(gfm)
45 | .use(math)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Add rehype-components plugin, experimental rehype plugin to render components, which are actually custom elements in HTML that get replaced by the output of a component rendering function.
refs
Add <head>
with post metadada for each post, on src/knowledge/[id].tsx
.
Add a comments area with Disques
Add plugin in remark to render tables
Links
Move posts to an external repo, using git modules.
Add a TOC (Table of contents) on the posts, to divide it with topics.
Add a smooth scroll on portifolio page
Reset the font size of
Add a field on post header to indicate the actual state: Published, Draft or Planned.
Make the layout responsive to small - devices
Add a button to go to home page
Add a page contain a index of all the pages.
For new readers or crawlers, like archive.org
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates are currently rate-limited. Click on a checkbox below to force their creation now.
@commitlint/cli
, @commitlint/config-conventional
)These updates have been manually edited so Renovate will no longer make changes. To discard all commits and start over, click on a checkbox.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
eslint-config-next
, next
).gitpod.Dockerfile
.github/workflows/ci_pull-request.yml
.github/workflows/ci_push-dev.yml
.github/workflows/ci_push-main.yml
.github/workflows/lint.yml
actions/checkout v4
actions/setup-node v4
.github/workflows/pagespeed-metrics.yml
.github/workflows/release.yml
actions/checkout v4
actions/setup-node v4
actions/checkout v4
actions/setup-node v4
actions/checkout v4
mikepenz/action-gh-release v1
ubuntu 22.04
.github/workflows/sync-dev-branch.yml
actions/checkout v4
.github/workflows/sync-main-branch.yml
actions/checkout v4
package.json
@giscus/react ^2.3.0
@headlessui/react ^1.7.15
@phosphor-icons/react ^2.0.8
@radix-ui/react-accordion ^1.1.1
@radix-ui/react-dialog ^1.0.3
contentlayer 0.3.4
date-fns 2.30.0
feed ^4.2.2
github-slugger ^2.0.0
katex ^0.16.8
kbar 0.1.0-beta.43
next 14.0.0
next-contentlayer 0.3.4
next-themes ^0.2.1
react 18.2.0
react-dom 18.2.0
react-error-boundary ^4.0.11
react-icons 4.11.0
react-parallax-tilt ^1.7.154
react-simple-typewriter ^5.0.1
reading-time ^1.5.0
rehype-autolink-headings ^7.0.0
rehype-katex 7.0.0
rehype-pretty-code 0.9.11
rehype-shift-heading ^2.0.0
rehype-slug 6.0.0
rehype-stringify ^9.0.3
rehype-toc 3.0.2
remark-breaks ^4.0.0
remark-gfm 3.0.1
remark-hint ^1.0.10
remark-math 5.1.1
remark-parse ^10.0.2
remark-rehype ^11.0.0
sharp ^0.32.5
shiki ^0.14.0
tailwindcss-animated ^1.0.1
unified ^10.1.2
unist-util-visit ^5.0.0
@clack/prompts ^0.7.0
@commitlint/cli ^18.0.0
@commitlint/config-conventional ^18.0.0
@tailwindcss/forms ^0.5.3
@types/mdx ^2.0.3
@types/node 20.8.10
@types/react 18.2.35
@types/remark-hint ^1.0.1
@types/semver ^7.5.0
autoprefixer ^10.4.13
esbuild ^0.19.0
eslint 8.53.0
eslint-config-next 14.0.0
eslint-config-prettier ^9.0.0
eslint-plugin-prettier 5.0.1
husky ^8.0.1
picocolors ^1.0.0
postcss ^8.4.19
prettier ^3.0.0
prettier-plugin-tailwindcss ^0.5.0
semver ^7.5.1
simple-git ^3.18.0
tailwindcss ^3.3.3
tsx ^3.12.7
typescript 5.2.2
vercel ^32.0.0
Replace slug()
function to new GithubSlugger().slug()
from "[email protected]" on src/lib/utils.ts
There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.
Location: renovate.json
Error type: Invalid JSON (parsing failed)
Message: Syntax error: expecting String near },
Add a button to got to the top of post
const handleScrollToTop = () => {
window.scrollTo({
top: 0,
behavior: 'smooth',
});
};
To use ESLint, additional required package(s) must be installed.
Please install eslint-config-next by running:
yarn add --dev eslint-config-next
If you do not want to run ESLint during builds, disable it in next.config.js. See https://nextjs.org/docs/api-reference/next.config.js/ignoring-eslint.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Create a page of knowledge with specific tag
Use a hash of the knowledge as a header title
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.