diff --git a/src/main/webapp/CSS/homepagepatient.css b/src/main/webapp/CSS/homepagepatient.css new file mode 100644 index 0000000..dcc26aa --- /dev/null +++ b/src/main/webapp/CSS/homepagepatient.css @@ -0,0 +1,229 @@ +.container { + width: 100%; + max-width: 800px; + margin: 0 auto; + padding: 20px; +} + +.margin20 { + margin-bottom: 4em; +} + +.card { + display: flex; + flex-direction: column; + align-items: flex-direction; + gap: 16px; + padding: 20px; + position: relative; + flex: 0 0 auto; + background-color: #ffffff; + border-radius: 32px; + margin-right: 20px; /* Spazio tra i div */ +} + +.cards { + margin-top: 20px; + margin-bottom: 20px; + display: flex; + overflow-x: auto; + white-space: nowrap; +} + +.card2 { + display: flex; + flex-direction: column; + align-items: flex-start; + gap: 16px; + padding: 20px; + position: relative; + flex: 0 0 auto; + background-color: #ffffff; + border-radius: 32px; + margin-right: 20px; /* Spazio tra i div */ +} + +.challenges .cards { + display: flex; + overflow-x: scroll; +} +.card .img { + position: absolute; + width: 105px; + height: 115px; + top: 4px; + left: 600px; +} + + + + + + + + + +.frame-3 { + display: flex; + align-items: center; + gap: 16px; + position: relative; + align-self: stretch; + width: 100%; + flex: 0 0 auto; +} + +.frame-4 { + display: flex; + flex-direction: column; + align-items: flex-start; + justify-content: center; + gap: 8px; + position: relative; + flex: 1; + flex-grow: 1; +} + +.frame-5 { + display: flex; + flex-direction: column; + align-items: flex-start; + position: relative; + align-self: stretch; + width: 100%; + flex: 0 0 auto; +} + +.frame-7 { + display: flex; + width: 208px; + align-items: flex-start; + justify-content: space-between; + position: relative; + flex: 0 0 auto; +} + +.illustration-wrapper { + display: flex; + align-items: center; + justify-content: center; + padding: 8px; + position: relative; + flex: 0 0 auto; + border-radius: 900px; +} + +.illustration { + position: relative; + width: 40px; + height: 40px; +} + +.img { + position: absolute; + width: 105px; + height: 115px; + top: 4px; + left: 260px; +} + +.chapter { + position: relative; + width: fit-content; + margin-top: -1px; + font-family: Georgia, serif; + font-size: 2em; + white-space: nowrap; +} + +.discovering-english { + position: relative; + align-self: stretch; + font-family: Georgia, serif; + color: #252526; + font-weight: 700; + font-size: 2em; +} + +.button-2 { + display: flex; + align-items: center; + justify-content: center; + gap: 8px; + padding: 10px; + position: relative; + background-color: #199a8e; + border-radius: 9999px; + + font-family: Georgia, serif; + color: #ffffff; + font-size: 2em; + white-space: nowrap; + + box-sizing: border-box; +} + + + + + + +.navigation-title { + display: flex; + height: 32px; + align-items: baseline; + justify-content: space-between; + padding: 4px 0px; + position: relative; +} + +.current-lesson { + position: relative; + width: fit-content; + margin-top: -1px; + font-family: Georgia, serif; + font-weight: 700; + color: #252526; + font-size: 2.5em; + text-align: center; + white-space: nowrap; +} + +.buttons { + display: flex; + align-items: center; + justify-content: center; + position: relative; + background-color: #199a8e; + border-radius: 9999px; + border-width: 1px; + padding: 10px; + + font-family: Georgia, serif; + color: #ffffff; + font-size: 2em; + white-space: nowrap; +} + + + + + +.header { + font-family: Georgia, serif; + text-align: center; + color:#199a8e; + font-weight: 700; + font-size: 2.5em; +} + +.notification{ + float: right; + height: 1.3em; +} + +.profile{ + float: left; + height: 1.3em; +} + diff --git a/src/main/webapp/CSS/login.css b/src/main/webapp/CSS/login.css index e908e28..cee1e48 100644 --- a/src/main/webapp/CSS/login.css +++ b/src/main/webapp/CSS/login.css @@ -1,7 +1,7 @@ * { margin: 0; padding: 0; - font-family: Inter, sans-serif; + font-family: Georgia, sans-serif; } body { diff --git a/src/main/webapp/CSS/registration.css b/src/main/webapp/CSS/registration.css index ab0d098..b4e348f 100644 --- a/src/main/webapp/CSS/registration.css +++ b/src/main/webapp/CSS/registration.css @@ -72,7 +72,7 @@ a { position: absolute; top: 635px; left: 91px; -font-family: Georgia, serif; + font-family: Georgia, serif; font-weight: 400; color: transparent; font-size: 15px; @@ -195,7 +195,7 @@ font-family: Georgia, serif; position: absolute; top: 14px; left: 63px; -font-family: Georgia, serif; + font-family: Georgia, serif; font-weight: 400; color: #a0a7b0; font-size: 16px; @@ -237,7 +237,7 @@ font-family: Georgia, serif; width: 287px; top: 78px; left: 40px; -font-family: Georgia, serif; + font-family: Georgia, serif; font-weight: 400; color: transparent; font-size: 13px; @@ -269,6 +269,19 @@ font-family: Georgia, serif; left: -1px; } +.element-registration .hai-gia-un-account { + position: absolute; + width: 287px; + top: 215px; + left: 70px; + font-family: Georgia, serif; + font-weight: 400; + color: transparent; + font-size: 13px; + letter-spacing: 0; + line-height: 18.2px; +} + .element-registration .top { position: relative; width: 88px; @@ -285,7 +298,7 @@ font-family: Georgia, serif; position: absolute; top: 0; left: 0; -font-family: Georgia, serif; + font-family: Georgia, serif; font-weight: 700; color: #101522; font-size: 18px; diff --git a/src/main/webapp/JSP/homepagepatient.jsp b/src/main/webapp/JSP/homepagepatient.jsp new file mode 100644 index 0000000..7db41c5 --- /dev/null +++ b/src/main/webapp/JSP/homepagepatient.jsp @@ -0,0 +1,150 @@ + + +
+ <%@page contentType="text/html;charset=UTF-8"%> + + + + +- Hai già un account? - - Login -
+ Hai già un account? + + Login +