PHP in-house SSG to create a web portfolio for my professional CV
Find a file
2022-07-14 18:51:00 +02:00
.idea initial commit 2022-06-21 12:33:35 +02:00
assets feat: add some meta data and README 2022-07-14 10:04:14 +02:00
config feat: intro, projects pages and many ohers things 2022-07-14 00:26:21 +02:00
public chore: clean up 2022-07-14 18:42:57 +02:00
src feat: add build script 2022-07-14 18:16:36 +02:00
templates fix: build script assets 2022-07-14 18:40:38 +02:00
webgl initial commit 2022-06-21 12:33:35 +02:00
.gitignore feat: add build script 2022-07-14 18:16:36 +02:00
.phpactor.yml feat: add contact form, links and project page 2022-07-07 00:03:47 +02:00
composer.json feat: intro, projects pages and many ohers things 2022-07-14 00:26:21 +02:00
composer.lock feat: intro, projects pages and many ohers things 2022-07-14 00:26:21 +02:00
Makefile initial commit 2022-06-21 12:33:35 +02:00
package.json feat: add contact form, links and project page 2022-07-07 00:03:47 +02:00
README.md feat: add instructions in README.md 2022-07-14 18:44:29 +02:00
static_build.sh fix: static build resources deletion and clean up 2022-07-14 18:51:00 +02:00
style.css initial commit 2022-06-21 12:33:35 +02:00
webpack.config.js initial commit 2022-06-21 12:33:35 +02:00
yarn.lock feat: add contact form, links and project page 2022-07-07 00:03:47 +02:00

Le futuriste's portfolio 2022 version

This is the 2022 version of my portfolio.

Workflow:

All the text content or structured content I want to put on the website is stored in YAML file to beeasy to change and work with. The YAML can be used outside of the website to generate resume for example.

Then I use PHP and Twig to render the HTML and SASS to add a little bit of style. Webpack is used to compile to SASS to CSS and pack the JavaScript.

Unlike the previous version of this website, it doesn't require the use of a database.

Appart from the language handling, the site doesn't necessarily need to have PHP generate the page each time so it can be build to HTML files by a script and cached. So the whole website can run without PHP.

Requirements

  • PHP >=8.1
  • Node >=16.16
  • Yarn >=1.22

Installation

git clone blahblah
composer install
yarn
yarn build

You may want to run the build_static.sh if you want to serve the site without PHP.

Credits

Current structure

  • Quick facts about me (Intro)
  • Tech wall
  • Pro projects
  • Side projects
  • Find me on (Links)
  • Contact form

Another structure to try: tabbed structure

The main page: quick facts and the nav bar would be on the left instead of at the top

Todo

  • Add a little bit more style for the project page
  • Compress images for the projects slide show
  • Add some URL redirection
  • Improve accessibility
  • Add HTML for the semantic web
  • Add link to blog and various links to specifics articles (for example about a particular project or about my computing setup)

Technical issues or comments

If you have any comments on this website, please reach to me via email