Giter Site home page Giter Site logo

portfolio-site-template's Introduction

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Inter, a custom Google Font.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

portfolio-site-template's People

Contributors

alexrusselldev avatar

Stargazers

Aiden Leong avatar

Watchers

 avatar

portfolio-site-template's Issues

Script for rearranging the navBar

npm script that starts an interactive process to rearrange the nav.

Rough flow should be:

  • Load a list of pages and display them
  • User can navigate the list and add them to a list of pages that are shown on the navbar
  • Keybinding for removing last page from shown list
  • Keybinding to save and exit
  • Page files are then all updated based on whether they are in the shown list or not and their position in the list

Mobile navigation menu

Currently the nav bar just turns into a vertical list on small screens.

Ideally this should be replaced with some kind of interactive mobile menu that can be hidden.

Advanced pages hierarchy

Currently the blog page is hardcoded to allow it to have children.

We should include a boolean isParent property in the frontmatter of a page content file.

The root page.tsx file should then search for this flag and include child pages from the /content/[slug] directory. It can then display a content grid based on this. Errors should be handled gracefully.

The new:page script will need to be updated to reflect this. It should configure frontmatter and the content directory for the page.

The new:post script will need to be updated to reflect this. It should use the frontmatter of the root content files to determine a list of collections that a post could be added to and then display this as a select option in the prompts question.

  • Implement rendering functionality
  • Implement error handling
    • Errors when running in dev mode
    • Errors when building
  • Update new:page script to add bolean isParent to frontmatter and to create content directory.
  • Update new:post script to first prompt the user to choose a collection to add the post to.

Sitemap

Next has a functionality to generate a sitemap.xml document

README file

We need a README file.

It should contain:

  • What this project is about
  • How to use this project
  • Project scripts list and usage guide
  • License

Implement MaterialUI

The site looks crap at the moment, I want to use some of the Material UI components to get it looking nicer.

Check static rendering

I have a feeling that not all of the pages are statically rendered.

I want to deploy this repo on netlify and vercel and ensure all pages can be statically rendered.

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.