Skip to content
Snippets Groups Projects
Commit 7227f56b authored by Johannes Buechele's avatar Johannes Buechele
Browse files

fixed class naming

parent fc03a2e9
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@ const Spinner = (props) => {
<div role="status">
<svg
aria-hidden="true"
class="mr-2 w-8 h-8 text-gray-200 animate-spin dark:text-gray-600 fill-green-600"
className="mr-2 w-8 h-8 text-gray-200 animate-spin dark:text-gray-600 fill-green-600"
viewBox="0 0 100 101"
fill="none"
xmlns="http://www.w3.org/2000/svg"
......
......@@ -88,15 +88,15 @@ const UserWorkListElement = (props) => {
<div className="px-4 py-5 bg-white hover:shadow-inner space-y-6 sm:p-6">
<Collapsible
trigger={
<div class="flex items-center justify-between">
<div class="flex-grow">
<div class="bg-white px-4 py-1">
<h4 class="w-full text-lg font-medium leading-6 text-gray-900">
<div className="flex items-center justify-between">
<div className="flex-grow">
<div className="bg-white px-4 py-1">
<h4 className="w-full text-lg font-medium leading-6 text-gray-900">
{props.userWork.title}
</h4>
</div>
</div>
<div class="flex items-center justify-center space-x-2">
<div className="flex items-center justify-center space-x-2">
{props.editable === "true" && (
<div
onClick={(event) => {
......@@ -114,18 +114,18 @@ const UserWorkListElement = (props) => {
}}
>
{edit ? (
<div class="flex items-center justify-center">
<div class="relative w-12 h-12 rounded-full border-2 border-fairblue hover:bg-fairblue hover:text-white transition-colors duration-300">
<div class="absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2">
<PencilIcon class="h-6 w-6" aria-hidden="true" />
<div className="flex items-center justify-center">
<div className="relative w-12 h-12 rounded-full border-2 border-fairblue hover:bg-fairblue hover:text-white transition-colors duration-300">
<div className="absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2">
<PencilIcon className="h-6 w-6" aria-hidden="true" />
</div>
</div>
</div>
) : (
<div class="flex items-center justify-center">
<div class="relative w-12 h-12 rounded-full border-2 border-fairblue hover:bg-fairblue hover:text-white transition-colors duration-300">
<div class="absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2">
<SaveAsIcon class="h-6 w-6" aria-hidden="true" />
<div className="flex items-center justify-center">
<div className="relative w-12 h-12 rounded-full border-2 border-fairblue hover:bg-fairblue hover:text-white transition-colors duration-300">
<div className="absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2">
<SaveAsIcon className="h-6 w-6" aria-hidden="true" />
</div>
</div>
</div>
......@@ -142,10 +142,10 @@ const UserWorkListElement = (props) => {
);
}}
>
<div class="flex items-center justify-center">
<div class="relative w-12 h-12 rounded-full border-2 border-fairblue hover:bg-fairblue hover:text-white transition-colors duration-300">
<div class="absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2">
<DownloadIcon class="h-6 w-6" aria-hidden="true" />
<div className="flex items-center justify-center">
<div className="relative w-12 h-12 rounded-full border-2 border-fairblue hover:bg-fairblue hover:text-white transition-colors duration-300">
<div className="absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2">
<DownloadIcon className="h-6 w-6" aria-hidden="true" />
</div>
</div>
</div>
......@@ -162,10 +162,10 @@ const UserWorkListElement = (props) => {
);
}}
>
<div class="flex items-center justify-center">
<div class="relative w-12 h-12 rounded-full border-2 border-fairblue hover:bg-fairblue hover:text-white transition-colors duration-300">
<div class="absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2">
<DownloadIcon class="h-6 w-6" aria-hidden="true" />
<div className="flex items-center justify-center">
<div className="relative w-12 h-12 rounded-full border-2 border-fairblue hover:bg-fairblue hover:text-white transition-colors duration-300">
<div className="absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2">
<DownloadIcon className="h-6 w-6" aria-hidden="true" />
</div>
</div>
</div>
......@@ -178,11 +178,11 @@ const UserWorkListElement = (props) => {
ApiService.downloadCertificate(props.userWork.id);
}}
>
<div class="flex items-center justify-center">
<div class="relative w-12 h-12 rounded-full border-2 border-fairblue hover:bg-fairblue hover:text-white transition-colors duration-300">
<div class="absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2">
<div className="flex items-center justify-center">
<div className="relative w-12 h-12 rounded-full border-2 border-fairblue hover:bg-fairblue hover:text-white transition-colors duration-300">
<div className="absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2">
<FingerPrintIcon
class="h-6 w-6"
className="h-6 w-6"
aria-hidden="true"
/>
</div>
......@@ -190,10 +190,10 @@ const UserWorkListElement = (props) => {
</div>
</div>
)}
<div class="flex items-center justify-center">
<div class="relative w-12 h-12 rounded-full border-2 border-fairblue hover:bg-fairblue hover:text-white transition-colors duration-300">
<div class="absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2">
<ArrowDownIcon class="h-6 w-6" aria-hidden="true" />
<div className="flex items-center justify-center">
<div className="relative w-12 h-12 rounded-full border-2 border-fairblue hover:bg-fairblue hover:text-white transition-colors duration-300">
<div className="absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2">
<ArrowDownIcon className="h-6 w-6" aria-hidden="true" />
</div>
</div>
</div>
......
......@@ -41,8 +41,8 @@ const RegisterCheck = ({
<p className="text-sm text-gray-500"></p>
</div>
<div>
<div class="flex flex-wrap flex-col">
<div class="w-full">
<div className="flex flex-wrap flex-col">
<div className="w-full">
<h3 className="text-lg font-medium leading-6 text-fairblue">
<EasyTrans>
RegisterWork.Title.WorkInformation
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment