chore: init commit

in worker.../repo/GITFOLDER.zip is the .git folder.
This commit is contained in:
2026-08-11 14:44:09 -04:00
parent 0012380fd3
commit 2854619bc9
782 changed files with 65944 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
<div class="bg-white rounded-[22px] border border-black/30 h-[150px] py-5 px-6 overflow-visible relative">
<div class="h-full flex items-center justify-between gap-2">
<div class="flex flex-col justify-center">
<p class="text-sm text-gray-600">My Earnings to Invest</p>
<p class="text-2xl font-semibold leading-tight tracking-tight mt-1"><%= number_to_currency(@portfolio.cash_balance) %></p>
<% if current_user.student? %>
<%= link_to "Invest Now", stocks_path, class: "mt-2 bg-[var(--sitf-secondary-teal)] hover:bg-[var(--sitf-4)] text-white font-medium px-6 py-2.5 rounded-full shadow-sm w-fit transition-colors" %>
<% else %>
<span class="mt-2 font-medium px-6 py-2.5 rounded-full shadow-sm w-fit cursor-not-allowed bg-[var(--sitf-8)] text-[var(--sitf-7)]">Invest Now</span>
<% end %>
</div>
<!-- tw h-[170px], -mb-2 does not work... so we use direct style for this overflow effect-->
<%= image_tag 'investment-funds.png', class: 'w-auto object-contain select-none pointer-events-none self-end -mr-8', style: 'height: 170px; margin-bottom: -8px;', alt: 'Investment Funds' %>
</div>
</div>

View File

@@ -0,0 +1,21 @@
<div id="modal_overlay"
data-controller="modal"
data-modal-target="overlay"
data-action="click->modal#backdropClick"
class="fixed inset-0 z-50 flex items-center justify-center bg-black/70 hidden">
<div class="bg-white rounded-2xl shadow-2xl max-w-md w-full mx-4 p-6 relative"
data-modal-target="content">
<button type="button"
data-action="modal#close"
aria-label="Close modal"
class="absolute top-4 right-4 w-8 h-8 text-gray-400 hover:text-gray-600 hover:bg-gray-100 rounded-full flex items-center justify-center text-xl font-bold transition-colors cursor-pointer">
×
</button>
<!-- The form will be loaded here -->
<turbo-frame id="modal_frame"></turbo-frame>
</div>
</div>

View File

@@ -0,0 +1,7 @@
<div class="table-container">
<div class="table-wrapper overflow-x-auto">
<table class="table-base">
<%= yield %>
</table>
</div>
</div>