Skip to content

Commit 73a4a99

Browse files
author
AndrewP
committed
Update Readme.md
1 parent c362b0c commit 73a4a99

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

README.md

+20
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,23 @@ A Laravel front-end scaffolding preset for [Tailwind CSS](https://tailwindcss.co
2525

2626
The default `tailwind.config.js` configuration file included by this package simply uses the config from the Tailwind vendor files. Should you wish to make changes, you should remove the file and run `node_modules/.bin/tailwind init`, which will generate a fresh configuration file for you, which you are free to change to suit your needs.
2727

28+
Add a new i18n string in the `resources/lang/XX/pagination.php` file for each language that your app uses:
29+
```php
30+
'previous' => '« Previous',
31+
'next' => 'Next »',
32+
'goto_page' => 'Goto page #:page', // Add this line
33+
```
34+
This should help with accessibility
35+
```html
36+
<li>
37+
<a href="URL?page=2" class="..."
38+
aria-label="Goto page #2"
39+
>
40+
2
41+
</a>
42+
</li>
43+
```
44+
2845
### Screenshots
2946

3047
![Welcome](/screenshots/welcome.png)
@@ -38,3 +55,6 @@ The default `tailwind.config.js` configuration file included by this package sim
3855
![Dashboard](/screenshots/dashboard.png)
3956

4057
![Verify](/screenshots/verify.png)
58+
59+
![Pagination](/screenshots/pagination-links.png)
60+
![Simple Pagination](/screenshots/simple-pagination-links.png)

screenshots/pagination-links.png

1.27 KB
Loading
1.08 KB
Loading

0 commit comments

Comments
 (0)