From a1f50008a0ffc8c585deb88464362238a8e68ffc Mon Sep 17 00:00:00 2001 From: Benjamin Culkin Date: Sat, 18 May 2024 21:23:40 -0400 Subject: Initial commit --- src/main/webapp/WEB-INF/web.xml | 17 ++++++++ src/main/webapp/images/jakartaee_logo.jpg | Bin 0 -> 191273 bytes src/main/webapp/index.html | 39 +++++++++++++++++ src/main/webapp/index.xhtml | 58 +++++++++++++++++++++++++ src/main/webapp/main.css | 69 ++++++++++++++++++++++++++++++ 5 files changed, 183 insertions(+) create mode 100644 src/main/webapp/WEB-INF/web.xml create mode 100644 src/main/webapp/images/jakartaee_logo.jpg create mode 100644 src/main/webapp/index.html create mode 100644 src/main/webapp/index.xhtml create mode 100644 src/main/webapp/main.css (limited to 'src/main/webapp') diff --git a/src/main/webapp/WEB-INF/web.xml b/src/main/webapp/WEB-INF/web.xml new file mode 100644 index 0000000..4082750 --- /dev/null +++ b/src/main/webapp/WEB-INF/web.xml @@ -0,0 +1,17 @@ + + + index.html + + + Faces Servlet + jakarta.faces.webapp.FacesServlet + 1 + + + Faces Servlet + *.xhtml + + diff --git a/src/main/webapp/images/jakartaee_logo.jpg b/src/main/webapp/images/jakartaee_logo.jpg new file mode 100644 index 0000000..19f2d76 Binary files /dev/null and b/src/main/webapp/images/jakartaee_logo.jpg differ diff --git a/src/main/webapp/index.html b/src/main/webapp/index.html new file mode 100644 index 0000000..b40d6e9 --- /dev/null +++ b/src/main/webapp/index.html @@ -0,0 +1,39 @@ + + +Welcome to Jakarta EE! + + +

Welcome!

+

+ Welcome to Jakarta EE! This is a very + simple Jakarta EE application generated by the official Eclipse + Starter. It includes a simple "Hello World" RESTful service. +

+

+ +

+

+ The REST end-point is available at rest/hello. + You can supply a name to the end-point using a query parameter like this: rest/hello?name=Jane +

+

Learn more!
+ There are many excellent free resources to learn Jakarta EE! The following are some that you should begin exploring alongside the starter. +

+

+

+ We hope you enjoy your Jakarta EE journey! +

+ + \ No newline at end of file diff --git a/src/main/webapp/index.xhtml b/src/main/webapp/index.xhtml new file mode 100644 index 0000000..90d21a3 --- /dev/null +++ b/src/main/webapp/index.xhtml @@ -0,0 +1,58 @@ + + + + + Welcome to Jakarta EE! + + +
+

Blog Name

+
+ +
+
+
+

TITLE HEADING

+
Title description, Dec 7, 2017
+
+ Image +
+

Some text..

+
+
+

TITLE HEADING

+
Title description, Sep 2, 2017
+
+ Image +
+

Some text..

+
+
+
+
+

About Me

+
+ Image +
+

+ Some text about me in culpa qui officia deserunt mollit anim.. +

+
+
+

Popular Post

+
Image

+
Image

+
Image
+
+
+

Follow Me

+

Some text..

+
+
+
+ + +
+ diff --git a/src/main/webapp/main.css b/src/main/webapp/main.css new file mode 100644 index 0000000..25c50c3 --- /dev/null +++ b/src/main/webapp/main.css @@ -0,0 +1,69 @@ + +* { + box-sizing: border-box; +} + +body { + font-family: Arial; + padding: 20px; + background: #f1f1f1; +} + +/* Header/Blog Title */ +.header { + padding: 30px; + font-size: 40px; + text-align: center; + background: white; +} + +/* Create two unequal columns that floats next to each other */ +/* Left column */ +.leftcolumn { + float: left; + width: 75%; +} + +/* Right column */ +.rightcolumn { + float: left; + width: 25%; + padding-left: 20px; +} + +/* Fake image */ +.fakeimg { + background-color: #aaa; + width: 100%; + padding: 20px; +} + +/* Add a card effect for articles */ +.card { + background-color: white; + padding: 20px; + margin-top: 20px; +} + +/* Clear floats after the columns */ +.row:after { + content: ""; + display: table; + clear: both; +} + +/* Footer */ +.footer { + padding: 20px; + text-align: center; + background: #ddd; + margin-top: 20px; +} + +/* Responsive layout - when the screen is less than 800px wide, make the two columns stack on top of each other instead of next to each other */ +@media screen and (max-width: 800px) { + .leftcolumn, .rightcolumn { + width: 100%; + padding: 0; + } +} -- cgit v1.2.3