Skip to content

Commit

Permalink
☀ projected laravel-site-github from 407d5b4
Browse files Browse the repository at this point in the history
Source-holobranch: laravel-site-github
Source-commit: 407d5b4
Source: 407d5b4
  • Loading branch information
themightychris committed Aug 26, 2021
2 parents 77cd9d5 + 407d5b4 commit 714385d
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 14 deletions.
2 changes: 1 addition & 1 deletion public/js/app.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/js/app.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/js/Pages/About.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
class="primary--text"
style="padding-bottom:1em;"
>
Click <a href="/engage">here</a> to check out OurPlan in Spruce Hill!
Click <a href="/sprucehill/engage">here</a> to check out OurPlan in Spruce Hill!
</h1>
<v-divider style="padding-bottom:2.5em;" />
<p>
Expand Down
2 changes: 1 addition & 1 deletion resources/js/Pages/Explore.vue
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export default {
} else if (index >= this.panes.length) {
index = 0;
}
this.$inertia.visit(`/explore/${this.panes[index].route}`, { replace: true });
this.$inertia.visit(`/sprucehill/explore/${this.panes[index].route}`, { replace: true });
},
},
Expand Down
2 changes: 1 addition & 1 deletion resources/js/Pages/Explore/Layers.vue
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export default {
isDialogVisible: false,
value: false,
disabled: true,
tooltip: `The Preservation Index is built from our community survey <a href="/survey">here</a>.
tooltip: `The Preservation Index is built from our community survey <a href="/sprucehill/survey">here</a>.
Go to the <a href="https://github.com/urbanSpatial/OurPlan_Methods/blob/main/README.md" target="_blank">OurPlan Methodology</a>
to learn more about how the index is created.
Once enough responses have been collected, the Index will become active and you can explore
Expand Down
2 changes: 1 addition & 1 deletion resources/js/Pages/Survey/Surveyend.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<p>
Once more of your neighbors take the survey,
we will publish the Preservation Index in the
<router-link to="/explorer">
<router-link to="/sprucehill/explorer">
Community Explorer
</router-link>.
In the meantime, you can learn more about the OurPlan effort
Expand Down
4 changes: 2 additions & 2 deletions resources/js/Shared/Layouts/MapSheetLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -326,10 +326,10 @@ export default {
this.exploreIsExpanded = false;
},
triggerPlanningOverlays() {
this.$inertia.visit('/explore/layers', { replace: true });
this.$inertia.visit('/sprucehill/explore/layers', { replace: true });
},
triggerSales() {
this.$inertia.visit('/explore/sales', { replace: true });
this.$inertia.visit('/sprucehill/explore/sales', { replace: true });
},
},
};
Expand Down
17 changes: 11 additions & 6 deletions routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,19 @@
Route::get('/', function () {
return redirect()->route('engage');
})->name('home');
Route::inertia('/engage', 'Engage')->name('engage');
// Route::inertia('/explore', 'Explore')->name('explore');
Route::get('/explore', function () {

Route::get('/sprucehill', function () {
return redirect()->route('engage');
})->name('sprucehill');

Route::inertia('/sprucehill/engage', 'Engage')->name('engage');
// Route::inertia('/sprucehill/explore', 'Explore')->name('explore');
Route::get('/sprucehill/explore', function () {
return redirect()->route('explore', ['pane' => 'sales']);
});
Route::get('/explore/{pane?}', 'ExploreController@index')->name('explore');
Route::inertia('/survey', 'Survey')->name('survey');
Route::inertia('/about', 'About')->name('about');
Route::get('/sprucehill/explore/{pane?}', 'ExploreController@index')->name('explore');
Route::inertia('/sprucehill/survey', 'Survey')->name('survey');
Route::inertia('/sprucehill/about', 'About')->name('about');

Route::get('/{layer}/{z}/{x}/{y}.pbf', 'TileLayer@index');
Route::get('/parcel/{parcelId}', 'ParcelInfo@index');
Expand Down

0 comments on commit 714385d

Please sign in to comment.