Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/evaluation #149

Open
wants to merge 13 commits into
base: develop
Choose a base branch
from
Next Next commit
Share buttons e meta tags implementados
  • Loading branch information
tankesho committed May 25, 2023
commit a790073eff19700677ab4435fb8b6118533bbbab
15 changes: 14 additions & 1 deletion src/main/webapp/WEB-INF/tags/template.tag
Original file line number Diff line number Diff line change
@@ -13,13 +13,27 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>

<meta property=”og:title” content="${jobRequest.description}"/>
<meta property=”og:type” content=”website“/>
<meta property=”og:description” content=”SERVICEBOOK - O MELHOR PROFISSIONAL QUE VOCÊ PRECISA ESTÁ AQUI!“/>
<meta property=”og:image”content="${jobCandidate.individual.profilePicture}"/>
<meta property=”og:site_name” content=”Servicebook“/>

<meta name=”twitter:card” content=”photo“>
<meta name=”twitter:url” content="$(location).attr('href')">
<meta name=”twitter:title” content="${jobRequest.description}">
<meta name=”twitter:description” content=”SERVICEBOOK - O MELHOR PROFISSIONAL QUE VOCÊ PRECISA ESTÁ AQUI!“>
<meta name=”twitter:image”content="${jobCandidate.individual.profilePicture}">

<title>${title}</title>

<base href="${pageContext.request.contextPath}/">
<link rel="shortcut icon" href="assets/resources/images/favicon.ico" type="image/x-icon">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href="assets/libraries/materialize/css/materialize.min.css" type="text/css" rel="stylesheet" media="screen,projection"/>
<link href="assets/resources/styles/style.css" type="text/css" rel="stylesheet" media="screen,projection"/>


</head>

<body>
@@ -88,6 +102,5 @@
this.location = "#" + objID;
}
</script>

</body>
</html>
5 changes: 2 additions & 3 deletions src/main/webapp/WEB-INF/view/client/details-request.jsp
Original file line number Diff line number Diff line change
@@ -28,7 +28,7 @@
<h2 class="secondary-color-text spacing-standard tertiary-color-text">Escolha um ${expertise.name}!</h2>
</div>
</c:if>
<div class="col s12 m6 tertiary-color-text description-job text-info-request">
<div id="job-details" class="col s12 m6 tertiary-color-text description-job text-info-request">
<p>${jobRequest.description}</p>
<p>Pedido expedido em ${jobRequest.dateTarget}</p>
</div>
@@ -272,7 +272,6 @@
});
}
});


});
</script>
<script type="text/javascript" src="https://platform-api.sharethis.com/js/sharethis.js#property=646fc0e45380390019971ecd&product=sticky-share-buttons&source=platform" async="async"></script>