Skip to content

Personal portfolio with a prompt-inspired design based on Next.js and headless WordPress.

License

Notifications You must be signed in to change notification settings

williamfridh/williamfridh.com-Portfolio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WilliamFridh.com - Portfolio

image image image image image image image image image image

Welcome to the repository containing my portfolio website. It uses the technologies Next.js (thus also React JS), TypeScript, Tailwind CSS, TypeScript, GraphQL, and deploys to Vercel. A liver version is available at WilliamFridh.com. it has basic support for pages and in addition, portfolio and makes use Advanced Custom Fields (ACF).

Note that this README.md file covers both folders in this repository: "app", and "cms". CMS however only contains a theme used for displaying an error message upon visiting the URL where WordPress is located.

Background

This project is a Next.js project bootstrapped with create-next-app that I built on to achieve my vision. It was requested as part of the course EH1021 Active Career Start with the goal of preparing us as students for the job application process.

Running The APP

  1. Clone the repository.
  2. Follow the instructions in the file ".env.example".
  3. Read through the code and find what's required by the WordPress GraphQL.
  4. Run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
  1. Open http://localhost:3000 with your browser to see the website in action.

info

  • No "pages/index.tsx" is used. Instead "next.config.js" redirects traffic from "/" to "/home" so that "pages/[slug].tsx" can handle the request. "/home" is stored inside ".env.local".

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

WordPress

The website has unique styling for certain elements to keep the theme consistent.

Formating data in WordPress

  • Lists must start with a "header" element. For instance:
<ul>
	<li>Courses</li>
	<li>Mathematics</li>
	<li>Computer Programming</li>
</ul>
  • The menu is to be loaded from a menu by the name "Main".
  • The social menu is to be loaded from a menu by the name "Social".

Sources:

About

Personal portfolio with a prompt-inspired design based on Next.js and headless WordPress.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages