diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 00000000..2dc8dae0 --- /dev/null +++ b/.prettierignore @@ -0,0 +1,2 @@ +/src/content/ +/src/data/ diff --git a/src/pages/404.mdx b/src/pages/404.mdx index af7d6022..40d01d81 100644 --- a/src/pages/404.mdx +++ b/src/pages/404.mdx @@ -2,6 +2,6 @@ title: Page not found --- -import Layout from '~/layouts/PageLayout.astro' +import Layout from "~/layouts/PageLayout.astro"; diff --git a/src/pages/ansible-course.mdx b/src/pages/ansible-course.mdx index 9e6c3cb6..f237adc8 100644 --- a/src/pages/ansible-course.mdx +++ b/src/pages/ansible-course.mdx @@ -7,13 +7,52 @@ title: Ansible email course Register for my upcoming Ansible email course. -
    -
    - + +
    +
      +
      +
      + +
      +
      + +
      +
      -
      -
      -
      -
      + diff --git a/src/pages/call.mdx b/src/pages/call.mdx index 80bc92c8..1492b06f 100644 --- a/src/pages/call.mdx +++ b/src/pages/call.mdx @@ -11,7 +11,12 @@ price: 199 - Once payment is received, you’ll obtain a link to schedule a meeting in my calendar. - The meeting will take place over Zoom. -Book your call now → + + Book your call now → + If you don’t find the call valuable, I’ll refund 100% of the cost. diff --git a/src/pages/contact.mdx b/src/pages/contact.mdx index b4b961db..dae5e8f1 100644 --- a/src/pages/contact.mdx +++ b/src/pages/contact.mdx @@ -3,7 +3,7 @@ layout: ~/layouts/PageLayout.astro title: Contact Oliver --- -export const email = 'oliver@oliverdavies.uk' +export const email = "oliver@oliverdavies.uk"; The best way to get in touch with me is via email: {email}. I usually reply within one business day. diff --git a/src/pages/daily.mdx b/src/pages/daily.mdx index 708c0ffb..400cce2a 100644 --- a/src/pages/daily.mdx +++ b/src/pages/daily.mdx @@ -3,32 +3,32 @@ layout: ~/layouts/PageLayout.astro title: Oliver's Daily List --- -import AboutMe from '~/components/AboutMe.astro'; -import DailyEmailForm from '~/components/DailyEmailForm.astro'; -import Markdown from '~/components/Markdown.astro'; -import _ from 'lodash' +import AboutMe from "~/components/AboutMe.astro"; +import DailyEmailForm from "~/components/DailyEmailForm.astro"; +import Markdown from "~/components/Markdown.astro"; +import _ from "lodash"; export const testimonials = [ { name: "Patty O'Callaghan", text: "

      Just wanted to say that your blog is amazing <3 I absolutely love it and usually share it with colleagues and some of the kids at my Code Club.

      Thanks for contributing to the community with your amazing content! :)

      ", - image: "patty-ocallaghan.jpg" + image: "patty-ocallaghan.jpg", }, { name: "Stephen Mulvihill", - text: "I like the \"$ git log -S\" and \"$ git log --grep\" commands, will definitely be using these, thanks!", - image: "stephen-mulvihill.jpg" + text: 'I like the "$ git log -S" and "$ git log --grep" commands, will definitely be using these, thanks!', + image: "stephen-mulvihill.jpg", }, { name: "Marcos Duran", text: "

      I am a big fan of your git approaches. I especially remember pairing with you and watching how many commands you run to solve many problems and how fast you were. It's a skill I believe not many have, particularly those who are used to working with a GUI like me, and personally I think it is quite valuable.

      ", - image: "marcos-duran.jpg" - } -] + image: "marcos-duran.jpg", + }, +]; -export const sortedTestimonials = _.reverse(testimonials) +export const sortedTestimonials = _.reverse(testimonials); -A daily newsletter on software development, DevOps, community, and open-source. +A daily newsletter on software development, DevOps, community, and open-source.
      @@ -45,7 +45,7 @@ A daily newsletter on software development, DevOps, community, and open-source.
      - +
      {testimonial.name}
      @@ -62,6 +62,7 @@ A daily newsletter on software development, DevOps, community, and open-source.
      )} +
      diff --git a/src/pages/drupal-consulting.mdx b/src/pages/drupal-consulting.mdx index fd33b422..77ef02ab 100644 --- a/src/pages/drupal-consulting.mdx +++ b/src/pages/drupal-consulting.mdx @@ -3,7 +3,7 @@ layout: ~/layouts/PageLayout.astro title: Oliver Davies - PHP Developer and Drupal Specialist --- -export const email = "oliver@oliverdavies.uk" +export const email = "oliver@oliverdavies.uk"; I'm a long-time Web Developer and consultant. I’ve led, delivered, and maintained PHP, Drupal, and Drupal Commerce based websites, have worked for some of the UK’s largest and well-known PHP and Drupal agencies, and even for the Drupal Association - the nonprofit organisation behind the Drupal project - where I was employed to work on and improve the Drupal.org websites. diff --git a/src/pages/drupal-testing.mdx b/src/pages/drupal-testing.mdx index 316f1029..196b9890 100644 --- a/src/pages/drupal-testing.mdx +++ b/src/pages/drupal-testing.mdx @@ -3,24 +3,24 @@ layout: ~/layouts/PageLayout.astro title: Introduction to Automated Testing and Test-Driven Development with Drupal --- -export const drupalVersions = '9 and 10' +export const drupalVersions = "9 and 10"; export const prices = { early: "395.00", full: "495.00", -} +}; -export const isEarlyBird = true +export const isEarlyBird = true; -export const nextDate = '2022-04-04' +export const nextDate = "2022-04-04"; export const testimonials = [ { - name: 'Scott Euser, Head of Web Development', - image: '/images/scott-euser.jpg', - text: 'Oliver really knows his stuff. Whether you are just starting out or looking to take your knowledge to the next level, his patient and clear way of explaining will help get you there.', + name: "Scott Euser, Head of Web Development", + image: "/images/scott-euser.jpg", + text: "Oliver really knows his stuff. Whether you are just starting out or looking to take your knowledge to the next level, his patient and clear way of explaining will help get you there.", }, -] +]; Are you a Drupal Developer who wants to learn about automated testing and test-driven development, or do you manage a development team that you'd like to train? @@ -30,15 +30,15 @@ I offer an interactive full-day workshop (previously presented at DrupalCamp Lon ## Contents -* What is automated testing, and why write tests? -* What types of tests are available in Drupal? -* Outside-in vs. inside-out testing. -* Configuring Drupal and PHPUnit to run tests locally. -* Exercise: writing tests for existing Drupal core functionality. -* Exercise: adding tests to an existing custom module. -* What is test-driven development? -* Exercise: writing a new Drupal module from scratch with test-driven development. -* Q&A +- What is automated testing, and why write tests? +- What types of tests are available in Drupal? +- Outside-in vs. inside-out testing. +- Configuring Drupal and PHPUnit to run tests locally. +- Exercise: writing tests for existing Drupal core functionality. +- Exercise: adding tests to an existing custom module. +- What is test-driven development? +- Exercise: writing a new Drupal module from scratch with test-driven development. +- Q&A
      @@ -49,7 +49,10 @@ The workshop is currently only available remotely, and the next available date i Seats are available at {isEarlyBird ? `an early bird price of £${prices.early}` : `a price of £${prices.full}`}, with a 10% discount for bulk orders of 5 or more seats. @@ -59,6 +62,7 @@ Seats are available at {isEarlyBird ? `an early bird pri ## Testimonials {testimonials.map(testimonial => ( +
      {testimonial.text} @@ -70,5 +74,6 @@ Seats are available at {isEarlyBird ? `an early bird pri +
      ))} diff --git a/src/pages/links.mdx b/src/pages/links.mdx index 9efe5c4a..ff7a1195 100644 --- a/src/pages/links.mdx +++ b/src/pages/links.mdx @@ -4,26 +4,33 @@ title: Links --- export const links = [ - { title: 'My daily email list', url: '/daily' }, - { title: 'Twitter', url: 'https://twitter.com/opdavies' }, - { title: 'YouTube', url: 'https://www.youtube.com/channel/UCkeK0qF9HHUPQH_fvn4ghqQ' }, - { title: 'LinkedIn', url: 'https://www.linkedin.com/in/opdavies' }, - { title: 'Drupal.org', url: 'https://www.drupal.org/u/opdavies' }, - { title: 'GitHub', url: 'https://github.com/opdavies' }, - { title: 'GitHub Gists', url: 'https://gist.github.com/opdavies' }, - { title: 'Packagist', url: 'https://packagist.org/packages/opdavies' }, - { title: 'Speakerdeck', url: 'https://speakerdeck.com/opdavies' }, - { title: 'PHP South Wales', url: 'https://www.phpsouthwales.uk' }, + { title: "My daily email list", url: "/daily" }, + { title: "Twitter", url: "https://twitter.com/opdavies" }, + { + title: "YouTube", + url: "https://www.youtube.com/channel/UCkeK0qF9HHUPQH_fvn4ghqQ", + }, + { title: "LinkedIn", url: "https://www.linkedin.com/in/opdavies" }, + { title: "Drupal.org", url: "https://www.drupal.org/u/opdavies" }, + { title: "GitHub", url: "https://github.com/opdavies" }, + { title: "GitHub Gists", url: "https://gist.github.com/opdavies" }, + { title: "Packagist", url: "https://packagist.org/packages/opdavies" }, + { title: "Speakerdeck", url: "https://speakerdeck.com/opdavies" }, + { title: "PHP South Wales", url: "https://www.phpsouthwales.uk" }, ];
      -
        - {links && links.map(link => ( + +
      diff --git a/src/pages/speaker-information.mdx b/src/pages/speaker-information.mdx index 32bf6b0c..5124feb8 100644 --- a/src/pages/speaker-information.mdx +++ b/src/pages/speaker-information.mdx @@ -5,7 +5,12 @@ title: Speaker Information ## Bio -Oliver Davies (@opdavies) has been building websites since 2007, and speaking at meetups and conferences since 2012. He is a Full Stack Developer and a certified Drupal expert who also has experience developing with Symfony, Laravel, Sculpin and Vue.js, as well as with DevOps and systems administration. +Oliver Davies ( + @opdavies +) has been building websites since 2007, and speaking at meetups and conferences +since 2012. He is a Full Stack Developer and a certified Drupal expert who also has +experience developing with Symfony, Laravel, Sculpin and Vue.js, as well as with +DevOps and systems administration. He is a Lead Software Developer at Transport for Wales, a Drupal core contributor and mentor, and an open source and contribution advocate. diff --git a/src/pages/things-about-php.mdx b/src/pages/things-about-php.mdx index 5ee1542d..2ac4fafd 100644 --- a/src/pages/things-about-php.mdx +++ b/src/pages/things-about-php.mdx @@ -3,7 +3,7 @@ layout: ~/layouts/PageLayout.astro title: Things you should know about PHP --- -export const email = "oliver@oliverdavies.uk" +export const email = "oliver@oliverdavies.uk"; Thanks for attending my [Things you should know about PHP](/talks/things-you-should-know-about-php) talk. @@ -58,5 +58,10 @@ Do you want to introduce PHP to your company or team, or add one of these tools I offer consulting calls and services to reduce your onboarding time and get you up and running quicker and easier.