2 Commits

Author SHA1 Message Date
028297a4fe Update composer
All checks were successful
/ deploy-job (push) Successful in 2s
2026-03-06 08:57:40 +01:00
c16ab192ed Add scrape time to footer
All checks were successful
/ deploy-job (push) Successful in 1s
2026-03-04 07:33:10 +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('COMMAND - DONE');
file_put_contents('templates/lastscrape.html.twig', date('Y-m-d H:i:s'));
return Command::SUCCESS;
}

View File

@@ -1,9 +1,12 @@
<div class="container">
<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">
<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="dark">🌕 Dark</a>
</div>
<div class="col-md-4 text-end text-muted">
{{ include('lastscrape.html.twig', ignore_missing: true) }}
</div>
</footer>
</div>