Skip to content

Commit 99547e8

Browse files
authored
Merge pull request #49 from jamezp/style-updates-claude
Used Claude to update the look and feel of resteasy.dev.
2 parents 196daa6 + ceab4c6 commit 99547e8

132 files changed

Lines changed: 2483 additions & 5470 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,8 @@ target
88
*.iml
99
.vscode
1010

11+
node_modules
12+
1113
## OS related
1214
*.DS_Store
15+
node_modules/

content/blogs/index.html

Lines changed: 54 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -8,27 +8,62 @@
88
link: blogs/page:page
99
---
1010

11+
<div class="blog-list-container">
1112
{#for post in site.collections.posts.paginated(page.paginator)}
12-
<div class="post-preview">
13-
<a href="{post.url.absolute}">
14-
<h3 class="post-title">{post.title}</h3>
15-
{#if post.data.containsKey('subtitle')}
16-
<h5 class="post-subtitle">{post.data.subtitle}</h5>
17-
{/if}
18-
</a>
19-
<p class="post-meta">Posted by {post.data.author ?: "The RESTEasy Team"} on {post.date.format("MMMM dd, YYYY")}</p>
20-
</div>
21-
<hr>
13+
<article class="blog-post-card card mb-4">
14+
<div class="card-body">
15+
<a href="{post.url.absolute}" class="text-decoration-none">
16+
<h3 class="card-title post-title">{post.title}</h3>
17+
{#if post.data.containsKey('subtitle')}
18+
<h5 class="post-subtitle text-muted">{post.data.subtitle}</h5>
19+
{#else}
20+
<h5 class="post-subtitle text-muted">{post.contentAbstract}</h5>
21+
{/if}
22+
</a>
23+
<div class="post-meta">
24+
<i class="fas fa-user"></i> {post.data.author ?: "The RESTEasy Team"}
25+
<span class="mx-2"></span>
26+
<i class="fas fa-calendar"></i> {post.date.format("MMMM dd, YYYY")}
27+
</div>
28+
<a href="{post.url.absolute}" class="btn btn-sm btn-outline-primary mt-3">
29+
Read More <i class="fas fa-arrow-right"></i>
30+
</a>
31+
</div>
32+
</article>
2233
{/for}
34+
</div>
2335

24-
<!-- Pager -->
25-
<p align="center">
36+
<!-- Pagination -->
2637
{#if page.paginator.total > 1}
27-
{#if page.paginator.previous}
28-
<a href="{page.paginator.previous}">&larr; Newer Posts</a>
29-
{/if}
30-
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
31-
{#if page.paginator.next}
32-
<a href="{page.paginator.next}">Older Posts &rarr;</a>
33-
{/if}
38+
<nav aria-label="Blog pagination" class="mt-4">
39+
<ul class="pagination justify-content-center">
40+
{#if page.paginator.previous}
41+
<li class="page-item">
42+
<a class="page-link" href="{page.paginator.previous}">
43+
<i class="fas fa-arrow-left"></i> Newer Posts
44+
</a>
45+
</li>
46+
{#else}
47+
<li class="page-item disabled">
48+
<span class="page-link">
49+
<i class="fas fa-arrow-left"></i> Newer Posts
50+
</span>
51+
</li>
52+
{/if}
53+
54+
{#if page.paginator.next}
55+
<li class="page-item">
56+
<a class="page-link" href="{page.paginator.next}">
57+
Older Posts <i class="fas fa-arrow-right"></i>
58+
</a>
59+
</li>
60+
{#else}
61+
<li class="page-item disabled">
62+
<span class="page-link">
63+
Older Posts <i class="fas fa-arrow-right"></i>
64+
</span>
65+
</li>
66+
{/if}
67+
</ul>
68+
</nav>
3469
{/if}

content/books.html

Lines changed: 99 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -3,56 +3,105 @@
33
title: Books
44
selflink: books
55
---
6-
<table>
7-
<tr>
8-
<td>
9-
<img width="180" alt="" height="236"
10-
src="{site.url('/img/books/mainColumnParagraphs/0/imageBinary/restful_java.gif').absolute}"/>
11-
</td>
12-
<td>
13-
<p><a href="https://oreilly.com/catalog/9780596158040/">RESTful Java with JAX-RS</a> by
14-
Bill
15-
Burke. RESTful Java with JAX-RS includes a technical guide that explains REST and
16-
JAX-RS,
17-
how they work, and when to use them. With the RESTEasy workbook that follows, you get
18-
step-by-step instructions for installing, configuring, and running several working
19-
JAX-RS
20-
examples, using the JBoss RESTEasy implementation of JAX-RS.</p>
21-
</td>
22-
</tr>
23-
</table>
246

7+
<div class="books-intro mb-5">
8+
<p class="lead">
9+
Dive deeper into RESTful web services and JAX-RS with these recommended books from the community.
10+
</p>
11+
</div>
2512

26-
<table>
27-
<tr>
28-
<td>
29-
<img width="180" alt="" height="236"
30-
src="{site.url('/img/books/mainColumnParagraphs/00/imageBinary/rest.gif').absolute}"/>
31-
</td>
32-
<td>
33-
<p><a href="https://oreilly.com/catalog/9780596529260/">RESTful Web Services</a> by Leonard
34-
Richardson and Sam Ruby. A great introduction to REST, RESTful techniques, and
35-
designing
36-
RESTful Web Services.&nbsp; Its how I learned about REST initially.</p>
37-
</td>
38-
</tr>
39-
</table>
13+
<div class="row g-4">
14+
<!-- RESTful Java with JAX-RS -->
15+
<div class="col-md-6 col-lg-4">
16+
<div class="card h-100 book-card">
17+
<div class="book-cover">
18+
<img src="{site.url('/img/books/mainColumnParagraphs/0/imageBinary/restful_java.gif').absolute}"
19+
class="card-img-top"
20+
alt="RESTful Java with JAX-RS book cover"/>
21+
</div>
22+
<div class="card-body d-flex flex-column">
23+
<h4 class="card-title">
24+
<a href="https://oreilly.com/catalog/9780596158040/" target="_blank">
25+
RESTful Java with JAX-RS
26+
</a>
27+
</h4>
28+
<p class="book-author mb-3">
29+
<i class="fas fa-user"></i> Bill Burke
30+
</p>
31+
<p class="card-text flex-grow-1">
32+
RESTful Java with JAX-RS includes a technical guide that explains REST and JAX-RS,
33+
how they work, and when to use them. With the RESTEasy workbook that follows, you get
34+
step-by-step instructions for installing, configuring, and running several working
35+
JAX-RS examples, using the JBoss RESTEasy implementation of JAX-RS.
36+
</p>
37+
<a href="https://oreilly.com/catalog/9780596158040/"
38+
class="btn btn-outline-primary mt-3"
39+
target="_blank">
40+
View on O'Reilly <i class="fas fa-external-link-alt"></i>
41+
</a>
42+
</div>
43+
</div>
44+
</div>
4045

41-
<table>
42-
<tr>
43-
<td>
44-
<img width="180" alt="" height="236"
45-
src="{site.url('/img/books/mainColumnParagraphs/01/imageBinary/cookbook.gif').absolute}"/>
46-
</td>
47-
<td>
48-
<p><a href="https://oreilly.com/catalog/9780596808679/">RESTful Web Services Cookbook</a>
49-
by
50-
Subbu Allamaraju and Mike Amundsen. Detailed cookbook on how to design RESTful
51-
services.&nbsp;
52-
Subbu has an <a href="https://www.subbu.org/">incredible blog</a> on REST and finally
53-
he's
54-
taken a lot of his ideas and experiences along with Mike Amundsen and incorporated them
55-
into a book.</p>
56-
</td>
57-
</tr>
58-
</table>
46+
<!-- RESTful Web Services -->
47+
<div class="col-md-6 col-lg-4">
48+
<div class="card h-100 book-card">
49+
<div class="book-cover">
50+
<img src="{site.url('/img/books/mainColumnParagraphs/00/imageBinary/rest.gif').absolute}"
51+
class="card-img-top"
52+
alt="RESTful Web Services book cover"/>
53+
</div>
54+
<div class="card-body d-flex flex-column">
55+
<h4 class="card-title">
56+
<a href="https://oreilly.com/catalog/9780596529260/" target="_blank">
57+
RESTful Web Services
58+
</a>
59+
</h4>
60+
<p class="book-author mb-3">
61+
<i class="fas fa-user"></i> Leonard Richardson & Sam Ruby
62+
</p>
63+
<p class="card-text flex-grow-1">
64+
A great introduction to REST, RESTful techniques, and designing RESTful Web Services.
65+
It's how I learned about REST initially.
66+
</p>
67+
<a href="https://oreilly.com/catalog/9780596529260/"
68+
class="btn btn-outline-primary mt-3"
69+
target="_blank">
70+
View on O'Reilly <i class="fas fa-external-link-alt"></i>
71+
</a>
72+
</div>
73+
</div>
74+
</div>
75+
76+
<!-- RESTful Web Services Cookbook -->
77+
<div class="col-md-6 col-lg-4">
78+
<div class="card h-100 book-card">
79+
<div class="book-cover">
80+
<img src="{site.url('/img/books/mainColumnParagraphs/01/imageBinary/cookbook.gif').absolute}"
81+
class="card-img-top"
82+
alt="RESTful Web Services Cookbook book cover"/>
83+
</div>
84+
<div class="card-body d-flex flex-column">
85+
<h4 class="card-title">
86+
<a href="https://oreilly.com/catalog/9780596808679/" target="_blank">
87+
RESTful Web Services Cookbook
88+
</a>
89+
</h4>
90+
<p class="book-author mb-3">
91+
<i class="fas fa-user"></i> Subbu Allamaraju & Mike Amundsen
92+
</p>
93+
<p class="card-text flex-grow-1">
94+
Detailed cookbook on how to design RESTful services. Subbu has an
95+
<a href="https://www.subbu.org/" target="_blank">incredible blog</a> on REST and finally
96+
he's taken a lot of his ideas and experiences along with Mike Amundsen and incorporated
97+
them into a book.
98+
</p>
99+
<a href="https://oreilly.com/catalog/9780596808679/"
100+
class="btn btn-outline-primary mt-3"
101+
target="_blank">
102+
View on O'Reilly <i class="fas fa-external-link-alt"></i>
103+
</a>
104+
</div>
105+
</div>
106+
</div>
107+
</div>

content/build.html

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)