Skip to content

Commit

Permalink
changed icons in benefit section to animated icons- super cool :-)
Browse files Browse the repository at this point in the history
  • Loading branch information
“Sophie committed Nov 24, 2023
1 parent 4f39c29 commit 6f51716
Show file tree
Hide file tree
Showing 14 changed files with 40 additions and 8 deletions.
20 changes: 19 additions & 1 deletion src/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,22 @@ html {

.ts-benefit-section {
height: 50rem;
}
}

/* Initially hide animated icon */
.ts-animated-icon {
display: none;
}

/* Show animated icon on card hover */
.ts-hover-trigger:hover .ts-static-icon {
display: none;
}

.ts-hover-trigger:hover .ts-animated-icon {
display: block;
}




Binary file added src/img/diagramm.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/img/diagramm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/img/meteorregen.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/img/meteorregen.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/img/roboter (1).gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/img/roboter (1).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/img/roboter.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/img/roboter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/img/schild.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/img/schild.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/img/zusammenarbeit.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/img/zusammenarbeit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 21 additions & 7 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,12 @@ <h2 class="text-4xl mb-8 font-bold text-center text-primary-900">Stay one step a
<div class="flex place-content-center pt-6">

<!-- CARD 1 -->
<div class="max-w-sm rounded overflow-hidden bg-gray-100 border-2 border-primary-200 mr-6">
<img src="./img/icons8-ai-64.png" alt="Roboter Icon" class="w-16 h-16 mx-auto my-4">
<div class="max-w-sm rounded overflow-hidden bg-gray-100 border-2 border-primary-200 mr-6 ts-hover-trigger">
<img src="./img/roboter.png" alt="Roboter Icon" class="w-12 h-12 mx-auto my-6 ts-static-icon">

<!-- Animated GIF Icon (Initially Hidden) -->
<img src="./img/roboter.gif" alt="Animated Icon" class="w-16 h-16 mx-auto my-4 ts-animated-icon">

<!-- <svg xmlns="http://www.w3.org/2000/svg" class="w-16 h-16 mx-auto my-4 text-primary-500" fill="none"
viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6">
<path stroke-linecap="round" stroke-linejoin="round" d="M15.75 15.75l-2.489-2.489m0 0a3.375 3.375 0 10-4.773-4.773 3.375 3.375 0 004.774 4.774zM21 12a9 9 0 11-18 0 9 9 0 0118 0z" />
Expand All @@ -75,8 +79,13 @@ <h2 class="text-4xl mb-8 font-bold text-center text-primary-900">Stay one step a
</div>

<!-- CARD 2 -->
<div class="max-w-sm rounded overflow-hidden bg-gray-100 border-2 border-primary-200 mr-6">
<img src="./img/icons8-delete-shield-64.png" alt="Shield Icon" class="w-16 h-16 mx-auto my-4">
<div class="max-w-sm rounded overflow-hidden bg-gray-100 border-2 border-primary-200 mr-6 ts-hover-trigger">
<img src="./img/schild.png" alt="Shield Icon" class="w-12 h-12 mx-auto my-6 ts-static-icon">

<!-- Animated GIF Icon (Initially Hidden) -->
<img src="./img/schild.gif" alt="Animated Icon" class="w-16 h-16 mx-auto my-4 ts-animated-icon">


<!-- <svg xmlns="http://www.w3.org/2000/svg" class="w-16 h-16 mx-auto my-4 text-primary-500" fill="none"
viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6">
<path stroke-linecap="round" stroke-linejoin="round"
Expand All @@ -93,13 +102,18 @@ <h2 class="text-4xl mb-8 font-bold text-center text-primary-900">Stay one step a
</div>

<!-- CARD 3 -->
<div class="max-w-sm rounded overflow-hidden bg-gray-100 border-2 border-primary-200">
<img src="./img/icons8-staff-64.png" alt="Collaboration Icon" class="w-16 h-16 mx-auto my-4">
<!-- <svg xmlns="http://www.w3.org/2000/svg" class="w-16 h-16 mx-auto my-4 text-primary-500" fill="none"
<div class="max-w-sm rounded overflow-hidden bg-gray-100 border-2 border-primary-200 ts-hover-trigger">
<img src="./img/zusammenarbeit.png" alt="Collaboration Icon" class="w-12 h-12 mx-auto my-6 ts-static-icon">

<!-- Animated GIF Icon (Initially Hidden) -->
<img src="./img/zusammenarbeit.gif" alt="Animated Icon" class="w-16 h-16 mx-auto my-4 ts-animated-icon">

<!-- <svg xmlns="http://www.w3.org/2000/svg" class="w-16 h-16 mx-auto my-4 text-primary-500" fill="none"
viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6">
<path stroke-linecap="round" stroke-linejoin="round"
d="M12 9v3.75m0-10.036A11.959 11.959 0 013.598 6 11.99 11.99 0 003 9.75c0 5.592 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.31-.21-2.57-.598-3.75h-.152c-3.196 0-6.1-1.249-8.25-3.286zm0 13.036h.008v.008H12v-.008z" />
</svg> -->

<div class="px-6 py-2">
<div class="font-bold text-xl mb-2 text-primary-900">Collaboration & Communication</div>
<p class="text-gray-700 text-base">
Expand Down

0 comments on commit 6f51716

Please sign in to comment.