Update currency and gold rates API responses, enhance views, and improve branding
- Updated API responses for currency and gold rates to include the latest data and improved metadata, ensuring accurate and informative responses. - Added a new view for displaying currency rates, enhancing the user interface with dynamic data presentation. - Updated the welcome view to integrate the new currency display and improved layout for better user experience. - Changed the logo in the Scribe configuration to a new light SVG for better visual consistency. - Enhanced styling in the welcome view and currency display for a modern look and feel. These changes collectively improve the functionality, usability, and branding of the Truncgil Finance application.
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
<div class="card">
|
||||
<div class="title">
|
||||
|
||||
<p class="title-text">
|
||||
|
||||
{{$currencyName}}
|
||||
</p>
|
||||
<p class="percent" style="color: {{ $rate['Change'] > 0 ? 'green' : '#B9101E' }}">
|
||||
{{ $rate['Change'] }}%
|
||||
</p>
|
||||
@if($rate['Change'] > 0)
|
||||
<svg width="20" height="20" fill="green" style="position: relative; top: -2px;" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg" transform="rotate(180)"> <path d="M384 576q0-26 19-45t45-19h896q26 0 45 19t19 45-19 45l-448 448q-19 19-45 19t-45-19l-448-448q-19-19-19-45z"></path> </svg>
|
||||
@else
|
||||
<svg width="20" height="20" fill="#B9101E" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"> <path d="M384 576q0-26 19-45t45-19h896q26 0 45 19t19 45-19 45l-448 448q-19 19-45 19t-45-19l-448-448q-19-19-19-45z"></path> </svg>
|
||||
|
||||
@endif
|
||||
</p>
|
||||
</div>
|
||||
<div class="data">
|
||||
<p>
|
||||
|
||||
{{$rate['Selling']}} ₺
|
||||
</p>
|
||||
|
||||
<div class="range">
|
||||
<div class="fill" style="background-color: {{ $rate['Change'] > 0 ? 'green' : '#B9101E' }};">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user