-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjusting location UI, small changes on login and contact form
- Loading branch information
Showing
11 changed files
with
73 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 23 additions & 12 deletions
35
frontend/src/app/components/location-card/location-card.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,27 @@ | ||
<div class="w-full max-w-5xl mx-auto rounded-xl p-4 sm:flex sm:items-center sm:space-x-6 shadow-md hover:shadow-sm transition-shadow duration-300 mb-4 bg-white cursor-pointer" (click)="onSelectLocation()" [ngClass]="{'shadow-none border-l-8 border-blue-500 text-white' : isSelected}"> | ||
<img class="block mx-auto h-16 w-16 object-cover rounded-full sm:mx-0 sm:flex-shrink-0" [src]="location.image" alt=""> | ||
<div class="text-center space-y-2 sm:text-left"> | ||
<div class="space-y-0.5"> | ||
<p class="text-lg text-black font-semibold"> | ||
{{ location.name }} | ||
</p> | ||
<p class="text-gray-500 text-sm text-slate-500 truncate"> | ||
{{ location.address }} | ||
<div class="w-full max-w-5xl mx-auto rounded-xl p-4 shadow-md hover:shadow-sm transition-shadow duration-300 mb-4 bg-white cursor-pointer location-list" | ||
(click)="onSelectLocation()" | ||
[ngClass]="{'shadow-none border-l-8 border-blue-500 text-white' : isSelected}"> | ||
|
||
<!-- Title --> | ||
<div class="text-lg text-black font-semibold mb-2"> | ||
{{ location.name }} | ||
</div> | ||
|
||
<!-- Content Container --> | ||
<div class="sm:flex sm:space-x-6"> | ||
<!-- Image --> | ||
<img class="block h-32 w-32 object-cover rounded-md sm:mx-0 sm:flex-shrink-0" | ||
[src]="location.image" alt="{{ location.name }}"> | ||
|
||
<!-- Description and Type --> | ||
<div class="space-y-2 flex-1 location-detail mt-2 sm:mt-0"> | ||
<!-- <span class="text-gray-600 text-slate-500 tracking-widest location-type"> | ||
{{ location.type }} | ||
</span> --> | ||
<span class="inline-flex items-center bg-gray-50 px-1 py-1 text-xs font-medium text-gray-600 ring-1 ring-inset ring-gray-500/10 tracking-widest location-type">{{ location.type }}</span> | ||
<p class="text-gray-600 text-sm text-slate-500 description"> | ||
{{ location.description | slice:0:100 }}... | ||
</p> | ||
<!-- <p class="text-gray-600 text-sm text-slate-500 truncate"> | ||
Kategorija: {{ location.type }} | ||
</p> --> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
.location-list { | ||
font-size: 10px; | ||
.location-detail { | ||
.description { | ||
line-height: 1; | ||
} | ||
.location-type { | ||
font-weight: bold; | ||
text-transform: uppercase; | ||
font-size: 10px; | ||
line-height: 1; | ||
} | ||
} | ||
|
||
} |
4 changes: 2 additions & 2 deletions
4
frontend/src/app/components/location-card/location-card.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.