Skip to content

Commit

Permalink
homepageGuest
Browse files Browse the repository at this point in the history
  • Loading branch information
3nna3 committed Dec 29, 2023
1 parent 2e8939b commit 7ddbf38
Show file tree
Hide file tree
Showing 3 changed files with 114 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/webapp/CSS/500.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@charset "ISO-8859-1";

*{
padding: 0;
margin: 0;
Expand Down
83 changes: 83 additions & 0 deletions src/main/webapp/CSS/homepageGuest.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}

.background {
background-color: white;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
}

.container {
text-align: center;
padding: 20px;
border: 4px solid #199a8e;
border-radius: 20px;
}

.text {
font-weight: 600;
color: #221f1f;
font-size: 16px;
line-height: 1.5;
margin: 20px 0;
border: 2px solid #199a8e;
border-radius: 10px;
padding: 15px;
}

.bordo_pulsante {
display: inline-block;
padding: 30px 60px;
border-radius: 20px;
text-align: center;
text-decoration: none;
cursor: pointer;
font-size: 18px;
margin: 15px;
background-color: #199a8e;
color: white;
border: 4px solid #199a8e;
}

.bordo_pulsante:hover {
background-color: #52d1c6bd;
}

.image {
width: 40px;
height: 40px;
margin-top: 20px;
background-image: url(./img/ellipse-28-4.png);
background-size: cover;
border: 4px solid #199a8e;
border-radius: 20px;
}

/* Media query per adattarsi a schermi di dimensioni diverse */
@media only screen and (max-width: 600px) {
.container {
padding: 10px;
}

.text {
font-size: 14px;
margin: 10px 0;
padding: 10px;
}

.bordo_pulsante {
font-size: 16px;
padding: 25px 50px;
}

.image {
margin-top: 10px;
}
}
30 changes: 30 additions & 0 deletions src/main/webapp/JSP/homepageGuest.jsp
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html lang="it">
<head>
<meta charset="utf-8" />
<link rel="stylesheet" href="../CSS/homepageGuest.css" />
<title>Homepage</title>
</head>
<body class="background">


<div class="container">

<div class="centra-testo">
<div id="loginLogo">
<img src="../images/TalkAidLogo.svg" alt="TalkAId logo">
</div>
TALKAID è un avanzato progetto di riabilitazione per disabilità del linguaggio. Offre trattamenti a distanza, personalizzati grazie all'Intelligenza Artificiale, facilitando logopedisti e motivando i pazienti con il monitoraggio dei progressi. La flessibilità di esercizi da casa elimina barriere, rendendo il percorso accessibile e confortevole. Il sistema, pensato per adulti responsabili, mira a rivoluzionare l'approccio inclusivo e centrato sulla persona per affrontare le disabilità del linguaggio.


<form action="registration.jsp" method="get">
<button class="bordo_pulsante" type="submit">Registrazione</button>
</form>
<form action="login.jsp" method="get">
<button class="bordo_pulsante" type="submit">Login</button>
</form>
</div>
</div>
</body>
</html>

0 comments on commit 7ddbf38

Please sign in to comment.