Skip to content
Permalink
Browse files

Switch to new theme

  • Loading branch information
ChrisWiegman committed Aug 17, 2020
1 parent 7393cb8 commit 5ccc40ee5b32c7aa378bdc53f17634eada614915
Showing with 14,157 additions and 8,623 deletions.
  1. +0 −17 .gitattributes
  2. +21 −4 .gitignore
  3. +5 −0 .jshintignore
  4. +24 −19 .jshintrc
  5. +26 −0 .lando.yml
  6. +0 −52 .travis.yml
  7. +12 −0 .vscode/extensions.json
  8. +16 −0 .vscode/launch.json
  9. +6 −0 .vscode/settings.json
  10. +0 −39 404.php
  11. +5 −0 Docker/Dockerfile-node
  12. +20 −0 Docker/Dockerfile-php
  13. +0 −193 Gruntfile.js
  14. +150 −0 Makefile
  15. +71 −0 README.md
  16. +0 −190 archive.php
  17. +0 −33 assets/css/sass/components/_accessibility.scss
  18. +0 −17 assets/css/sass/components/_alignments.scss
  19. +0 −68 assets/css/sass/components/_clearings.scss
  20. +0 −27 assets/css/sass/components/_colors.scss
  21. +0 −355 assets/css/sass/components/_content.scss
  22. +0 −57 assets/css/sass/components/_elements.scss
  23. +0 −5 assets/css/sass/components/_fonts.scss
  24. +0 −242 assets/css/sass/components/_forms.scss
  25. +0 −105 assets/css/sass/components/_icon-fonts.scss
  26. +0 −152 assets/css/sass/components/_layout.scss
  27. +0 −30 assets/css/sass/components/_links.scss
  28. +0 −119 assets/css/sass/components/_max-1020.scss
  29. +0 −35 assets/css/sass/components/_max-1400.scss
  30. +0 −111 assets/css/sass/components/_max-700.scss
  31. +0 −87 assets/css/sass/components/_media.scss
  32. +0 −170 assets/css/sass/components/_menus.scss
  33. +0 −132 assets/css/sass/components/_print.scss
  34. +0 −68 assets/css/sass/components/_projects.scss
  35. +0 −147 assets/css/sass/components/_reset.scss
  36. +0 −72 assets/css/sass/components/_speaking.scss
  37. +0 −161 assets/css/sass/components/_typography.scss
  38. +0 −156 assets/css/sass/components/_widgets.scss
  39. +0 −58 assets/css/sass/editor.scss
  40. +0 −22 assets/css/sass/master.scss
  41. BIN assets/font/cw.eot
  42. +0 −48 assets/font/cw.svg
  43. BIN assets/font/cw.ttf
  44. BIN assets/font/cw.woff
  45. BIN assets/font/cw.woff2
  46. +0 −46 assets/js/src/progress.js
  47. +0 −64 assets/js/src/scripts.js
  48. +0 −19 assets/js/src/skip-link-focus-fix.js
  49. +0 −71 comments.php
  50. +9 −28 composer.json
  51. +1,136 −632 composer.lock
  52. +0 −38 footer.php
  53. +0 −24 functions.php
  54. +15 −0 gulpfile.js
  55. +0 −59 header.php
  56. +0 −48 home.php
  57. +0 −536 includes/functions/core.php
  58. +0 −348 includes/functions/template-tags.php
  59. +0 −54 index.php
  60. +3,234 −3,099 package-lock.json
  61. +15 −23 package.json
  62. +6 −3 phpcs.xml
  63. +7 −1 phpunit.xml → phpunit.xml.dist
  64. +0 −4 readme.md
  65. BIN screenshot.png
  66. +0 −56 search.php
  67. +0 −21 sidebar.php
  68. +0 −286 single.php
  69. +0 −12 style.css
  70. +0 −41 template-parts/content-none.php
  71. +0 −61 template-parts/content.php
  72. +9 −38 tests/bootstrap.php
  73. +25 −0 tests/test-plugin-file.php
  74. +0 −20 tests/test-sample.php
  75. +9,331 −0 theme-unit-test-data.xml
  76. 0 theme/functions.php
  77. 0 theme/index.php
  78. +3 −0 theme/scripts/starter-script.js
  79. +11 −0 theme/style.css

This file was deleted.

@@ -48,6 +48,7 @@ GitHub.sublime-settings

.metadata
bin/
!tests/bin/
tmp/
*.tmp
*.bak
@@ -195,11 +196,27 @@ tmtags
# Build Assets
node_modules
vendor
!assets/css/vendor
languages/*.pot
/theme/languages/*.pot
assets/css/*.css
assets/css/*.map
assets/js/*.js
assets/js/*.map
phploy.ini
.vscode
coverage.clover
/theme/scripts/*-min.js

# Docker files
Docker/database
Docker/wordpress
Docker/logs
Docker/debug
!Docker/bin

# Unit tests
!/tests/bin/

# WordPress core (for IDEs)
/wordpress/

# Build files
/build/
clover.xml
@@ -0,0 +1,5 @@
gulpfile.js
**/*-min.js
wordpress/
node_modules/
vendor/
@@ -1,24 +1,29 @@
{
"boss": true,
"curly": true,
"eqeqeq": true,
"eqnull": true,
"es3": true,
"expr": true,
"immed": true,
"noarg": true,
"nonbsp": true,
"onevar": true,
"boss": true,
"curly": true,
"eqeqeq": true,
"eqnull": true,
"esversion": 3,
"expr": true,
"immed": true,
"noarg": true,
"nonbsp": true,
"onevar": true,
"quotmark": "single",
"trailing": true,
"undef": false,
"unused": true,
"browser": true,
"globals": {
"_": false,
"undef": true,
"unused": true,

"browser": true,

"globals": {
"_": false,
"Backbone": false,
"jQuery": false,
"JSON": false,
"wp": false
"jQuery": false,
"JSON": false,
"wp": false,
"export": false,
"module": false,
"require": false
}
}
}
@@ -0,0 +1,26 @@
name: chriswiegman-theme
recipe: wordpress
config:
webroot: wordpress
php: '7.4'
via: nginx
database: mariadb
xdebug: true
services:
mailhog:
type: mailhog
portforward: true
hogfrom:
- appserver
phpmyadmin:
type: phpmyadmin
hosts:
- database
appserver:
overrides:
volumes:
- ./theme:/app/wordpress/wp-content/themes/chriswiegman-theme
tooling:
phpunit:
service: appserver
cmd: vendor/bin/phpunit

This file was deleted.

@@ -0,0 +1,12 @@
{
"recommendations": [
"felixfbecker.php-intellisense",
"ikappas.phpcs",
"bmewburn.vscode-intelephense-client",
"neilbrayfield.php-docblocker",
"persoderlind.vscode-phpcbf",
"felixfbecker.php-debug",
"dbaeumer.jshint",
"johnbillion.vscode-wordpress-hooks"
]
}
@@ -0,0 +1,16 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Listen for XDebug",
"type": "php",
"request": "launch",
"port": 9000,
"log": true,
"pathMappings": {
"/app/wordpress/wp-content/themes/chriswiegman-theme/": "${workspaceFolder}/theme",
"/app/wordpress/": "${workspaceFolder}/wordpress",
}
}
]
}
@@ -0,0 +1,6 @@
{
"phpcs.standard": "phpcs.xml",
"phpcbf.executablePath": "${workspaceRoot}/vendor/bin/phpcbf",
"phpcbf.standard": "phpcs.xml",
"intelephense.diagnostics.undefinedConstants": false,
}
39 404.php

This file was deleted.

@@ -0,0 +1,5 @@
FROM node:lts
ARG UID=1000
ARG GID=1000

RUN groupmod -g ${GID} node && usermod -u ${UID} -g ${GID} node
@@ -0,0 +1,20 @@
FROM php:7.4-cli

RUN apt-get update && \
apt-get install -y \
git \
unzip \
--no-install-recommends && \
rm -r /var/lib/apt/lists/*

RUN pecl install xdebug && \
docker-php-ext-enable xdebug

RUN echo "xdebug.remote_enable=1" >> /usr/local/etc/php/conf.d/xdebug.ini && \
echo "xdebug.remote_autostart=1" >> /usr/local/etc/php/conf.d/xdebug.ini && \
echo "xdebug.remote_connect_back=0" >> /usr/local/etc/php/conf.d/xdebug.ini && \
echo "xdebug.profiler_enable=0" >> /usr/local/etc/php/conf.d/xdebug.ini

VOLUME [ "/app" ]

WORKDIR /app

0 comments on commit 5ccc40e

Please sign in to comment.
You can’t perform that action at this time.