Coder Social home page Coder Social logo

golamrabbiazad / golamrabbiazad.vercel.app Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 2.99 MB

✨ My portfolio is built with Next.js 14, TailwindCSS, and Vercel.

Home Page: https://golamrabbiazad.vercel.app

TypeScript 66.22% CSS 12.25% JavaScript 10.51% MDX 11.01%
react nexjs tailwindcss typescript vercel contentlayer-nextjs mdx

golamrabbiazad.vercel.app's Introduction

golamrabbiazad.vercel.app

✨ My portfolio is built with Next.js 13, TailwindCSS, and Vercel.

$ gh repo clone golamrabbiazad/golamrabbiazad.vercel.app

$ cd golamrabbiazad.vercel.app/

$ npm i

$ npm run dev

App running on http://localhost:3000 🥳

golamrabbiazad.vercel.app's People

Contributors

dependabot[bot] avatar golamrabbiazad avatar

Stargazers

 avatar

Watchers

 avatar  avatar

golamrabbiazad.vercel.app's Issues

Fix: Cannot find module 'contentlayer/generated' or its corresponding type declarations with next.js 13 pages

Issue:

This Error occurs when building the app with Next.js pages.

  1 | import Link from "next/link"
  2 | import { Post } from "contentlayer/generated"
                           ^

Type error: Cannot find module 'contentlayer/generated' or its corresponding type declarations.

Solution:

contentlayer and next-contentlayer v0.3.4 require the app directory to be present.

Just create an empty app directory in the base root project.

OR, modify the build command with contentlayer build && next build.

This is it 🥳

use-delayed-render lib Conflicting peer dependency: [email protected]

npm WARN Could not resolve dependency:
npm WARN peer react@"^16.13.1" from [email protected]
npm WARN node_modules/use-delayed-render
npm WARN   use-delayed-render@"^0.0.7" from the root project
npm WARN 
npm WARN Conflicting peer dependency: [email protected]
npm WARN node_modules/react
npm WARN   peer react@"^16.13.1" from [email protected]
npm WARN   node_modules/use-delayed-render
npm WARN     use-delayed-render@"^0.0.7" from the root project

bug: dark and light mode issue

When Clicking on the toggle-mode button it is set to system.

The first time, when clicking on the toggle mode which is if the system === 'dark' then it is set to dark mode in the local storage.
And the theme isn't changing the first time.

The second time click, it changes to the light mode in the local storage as well as the theme.

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.