Skip to content

Commit f4e99c1

Browse files
committed
Noscript
1 parent bc3b2d3 commit f4e99c1

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

Envoy.blade.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
@servers(['local' => ['127.0.0.1'], 'server' => ['root@143.198.129.111']])
22

33
{{-- Full deploy flow --}}
4-
@story('deploy', ['skipBackup' => false])
5-
build-frontend
4+
@story('deploy', ['skipBackup' => false, 'skipBuildFrontend' => false])
5+
@if(!$skipBuildFrontend)
6+
build-frontend
7+
@endif
68
@if(!$skipBackup)
79
backup-database
810
@endif

resources/js/Layouts/AppLayout.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ defineProps({
1111

1212
<template>
1313
<div>
14+
<noscript>
15+
<div style="background: #f87171; color: #fff; padding: 1rem; text-align: center;">
16+
JavaScript is required for this site to function properly. Please enable JavaScript in your browser settings.
17+
</div>
18+
</noscript>
1419
<Head :title="title" />
1520

1621
<Banner />

0 commit comments

Comments
 (0)