726386e976
Rename directories
2021-02-06 22:47:46 +00:00
9f3226aec5
Rename directories
2021-02-06 22:46:22 +00:00
a5bee4685a
Update code syntax highlighting styles
2021-02-06 21:07:41 +00:00
fdd5b3138f
Update Workspace slides for PHPNW
2021-02-02 20:48:52 +00:00
398fa3c547
Add workspace.yml
...
Add a workspace.yml file with commands for PDF generating and watching,
generating thumbnail images, and cleaning generated files.
2021-01-29 00:12:30 +00:00
d409742cfe
Add rst2pdf slides
2021-01-28 23:33:44 +00:00
c78138b63d
Add 'Taking Flight with Tailwind CSS' slides
2021-01-28 23:33:44 +00:00
6cf5e862ad
Add 'Test Driven Drupal' slides
2021-01-28 23:33:44 +00:00
64dc136483
Update nodemon command
2021-01-28 23:33:44 +00:00
8ebbad1a85
Add link to talks page
2021-01-28 23:33:44 +00:00
cc6f7a3557
Define background mode in generate command
2021-01-28 23:33:44 +00:00
b84764c013
Add 'Upgrading to Drupal 9' slides
2021-01-28 23:33:44 +00:00
93df801f13
Add 'Working with Workspace' slides
2021-01-28 23:33:44 +00:00
6d17643b19
Add README
2021-01-02 13:19:54 +00:00
d38acd6876
Add description text and button
2020-12-27 13:15:27 +00:00
4018f9a6db
Limit width on xl screens
2020-12-27 13:15:27 +00:00
b047ea3e4e
Add Register Now button
...
Fixes #2
2020-12-27 13:15:26 +00:00
d7d778096e
Add homepage header
2020-12-27 12:07:35 +00:00
7499a8817d
Increase logo size on small screens
2020-12-27 12:07:17 +00:00
97925b0456
Override sm screen size
2020-12-27 12:07:17 +00:00
91cee26e71
Adjust navigation width on small screens
2020-12-27 12:07:17 +00:00
702b755319
Make child links toggleable
2020-12-27 12:07:17 +00:00
5a2df50e90
Make the mobile navigation toggleable
2020-12-27 12:07:17 +00:00
36a4eb2d92
Add Bebas Neue font
2020-12-27 12:07:17 +00:00
5fadbbccd0
Override Tailwind's default colours
2020-12-27 12:07:17 +00:00
641c61dd47
Add mobile navigation
2020-12-27 12:07:16 +00:00
cb79277374
Add and configure Tailwind CSS
...
Add and configure Tailwind CSS within the project, including adding npm
scripts for compiling the CSS, configuring purge settings, and adding
the `cssnano` library for minifying the CSS (which is run for production
builds).
2020-12-26 22:43:57 +00:00
cdb0e67eb3
Add the Home page
2020-12-26 22:43:56 +00:00
559ed8e908
Add README.rst
2020-12-26 22:20:19 +00:00
ca1886b0df
Initial commit
2020-12-26 22:20:18 +00:00
b2dccb925e
Delete old content
2020-12-23 20:33:26 +00:00
354fbe4128
Switch to rst
...
Convert README.md to README.rst.
This was done automatically using https://cloudconvert.com/md-to-rst ,
and gives some features like the table of contents for free. It also
means that I can use tools like [rst2pdf](https://rst2pdf.org ) to create
exportable versions and handouts.
GitHub also still renders it automatically too. :)
2020-12-23 20:10:01 +00:00
91aed1b171
Updates
2020-11-14 14:47:53 +00:00
0a1da40788
Fix the existing test
2020-11-14 12:52:36 +00:00
0c6fa6e60f
Throw an Exception if it is the wrong type
2020-11-14 12:52:22 +00:00
4be8e02246
Only articles should be used for Posts
...
An Exception should be thrown if the node passed to the `Post` entity is
not an article.
> Drupal\Tests\my_module\Unit\Entity\PostTest::it_throws_an_exception_if_the_node_is_not_an_article
> Failed asserting that exception of type "InvalidArgumentException" is
thrown.
2020-11-14 12:44:42 +00:00
655c854a80
5e: Fix the kernel tests
2020-11-14 12:38:17 +00:00
8f8218260b
5d: Ensure the label will return the title
2020-11-14 10:09:38 +00:00
bd68420fc1
5d: Create a mock node
...
> TypeError: Return value of Drupal\my_module\Entity\Post::getTitle()
> must be of the type string, null returned
2020-11-14 10:09:38 +00:00
0b4c648ac6
5c: Return the node label
2020-11-14 10:09:38 +00:00
61664cb263
5c: Add the node as a constructor argument
...
> Undefined variable: node
2020-11-14 10:09:38 +00:00
1fe7119b5d
5b: Add getTitle() method
...
> Failed asserting that two strings are identical
2020-11-14 10:09:38 +00:00
07ad4dc2b1
5b: Check that it returns the post title
...
> Drupal\Tests\my_module\Unit\Entity\PostTest::it_returns_the_title
> Error: Call to undefined method Drupal\my_module\Entity\Post::getTitle()
2020-11-14 10:09:38 +00:00
cbd0176c37
5a: Add a unit test for the Post class
2020-11-14 10:09:38 +00:00
259f077f61
4m: Return a Post rather than a node
2020-11-14 10:09:38 +00:00
9aec327945
4l: Expect a custom Post class to be returned
2020-11-14 10:09:38 +00:00
290c8fbcba
4k: Sort articles before returning
2020-11-14 10:09:38 +00:00
91f7d094e7
4k: Articles are returned in the correct order
2020-11-14 10:09:38 +00:00
e925409f5f
4j: Add status condition to getAll()
2020-11-14 10:09:38 +00:00
a540f4ad32
4j: Only published articles are returned
2020-11-14 10:09:38 +00:00