4 Commits

Author SHA1 Message Date
c16ab192ed Add scrape time to footer
All checks were successful
/ deploy-job (push) Successful in 1s
2026-03-04 07:33:10 +01:00
fc89944cf1 Fix badges colors
All checks were successful
/ deploy-job (push) Successful in 0s
2026-03-03 08:47:23 +01:00
a3b36df64e Fix badges colors 2026-03-03 08:47:23 +01:00
ce1fa049d1 Merge pull request 'feature/dark-theme' (#75) from feature/dark-theme into master
All checks were successful
/ deploy-job (push) Successful in 1s
2026-03-01 15:11:23 +01:00
2 changed files with 6 additions and 1 deletions

View File

@@ -76,6 +76,8 @@ class ScrapeWebsite extends Command
$output->writeln('Update prices - DONE'); $output->writeln('Update prices - DONE');
$output->writeln('COMMAND - DONE'); $output->writeln('COMMAND - DONE');
file_put_contents('templates/lastscrape.html.twig', date('Y-m-d H:i:s'));
return Command::SUCCESS; return Command::SUCCESS;
} }

View File

@@ -1,9 +1,12 @@
<div class="container"> <div class="container">
<footer class="d-flex flex-wrap justify-content-between align-items-center py-3 my-4 border-top"> <footer class="d-flex flex-wrap justify-content-between align-items-center py-3 my-4 border-top">
<div class="col-md-4 d-flex align-items-center"> <div class="col-md-4 d-flex align-items-center">
<span class="mb-3 mb-md-0 text-body-secondary">© 2025 Company, Inc</span> <span class="mb-md-0 text-body-secondary">© 2025 Company, Inc</span>
<a class="align-items-center text-decoration-none" data-bs-theme-value="light">☀️ Light</a> <a class="align-items-center text-decoration-none" data-bs-theme-value="light">☀️ Light</a>
<a class="align-items-center text-decoration-none" data-bs-theme-value="dark">🌕 Dark</a> <a class="align-items-center text-decoration-none" data-bs-theme-value="dark">🌕 Dark</a>
</div> </div>
<div class="col-md-4 text-end text-muted">
{{ include('lastscrape.html.twig', ignore_missing: true) }}
</div>
</footer> </footer>
</div> </div>