🦁 This is the repo for the website of Mike Wink, my own website. https://mikewink.de
  • PHP 82.7%
  • JavaScript 17.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2022-11-20 13:57:01 +01:00
public Update index.php and manifest.json for dark theme 2022-11-20 13:57:01 +01:00
src/css Add Tailwind directives, fonts and pattern to src 2021-07-05 21:30:58 +02:00
.gitignore Update .gitignore file with .DS_Store 2022-10-05 17:20:41 +02:00
LICENSE Initial commit 2021-07-02 09:11:02 +02:00
package-lock.json Add Tailwind CSS and typography plugin packages 2021-07-05 21:26:36 +02:00
package.json Add Tailwind CSS and typography plugin packages 2021-07-05 21:26:36 +02:00
README.md Update README with section about PHP server 2022-11-18 10:30:23 +01:00
tailwind.config.js Update site with dark mode 2022-11-18 11:48:23 +01:00

Mike Wink Website

That is the static website for Mike Wink. It is powered by pure HTML and Tailwind CSS. The index is a PHP file so that I can have a dynamic elements.

Installation

Do a normal npm install to install dependencies. See the Tailwind CSS documentation for details.

Run dev watch

npx tailwindcss \
    -i ./src/css/styles.css \
    -o public/build/styles.css \
    --jit \
    --purge="./public/**/*.php" \
    --watch

Run production build

NODE_ENV=production \
    npx tailwindcss \
    -i ./src/css/styles.css \
    -o public/build/styles.css \
    --jit \
    --purge="./public/**/*.php" \
    --minify

Serving the site

Use the PHP commandline server to serve the site locally.

php -S localhost:8000 -t ./public

Used assets