Skip to content

Commit

Permalink
Fix dashboard redirection and styles
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthieu MARTIN committed May 17, 2024
1 parent a8b8706 commit a6c6b04
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/Providers/RouteServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class RouteServiceProvider extends ServiceProvider
*
* @var string
*/
public const HOME = '/dashboard';
public const HOME = '/';

/**
* Define your route model bindings, pattern filters, and other route configuration.
Expand Down
2 changes: 1 addition & 1 deletion resources/js/Pages/Character/Partials/Descriptions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const props = defineProps({
</script>

<template>
<div class="py-2 px-4">
<div class="pt-2 pb-24 px-4">
<h1 class="section_title text-center mt-4">Descriptions</h1>
<div class="mt-4 flex flex-col items-center">
<div class="px-8 grid grid-cols-2 gap-2 w-full">
Expand Down
4 changes: 2 additions & 2 deletions resources/js/Pages/Character/Partials/Disciplines.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ const showDescription = async (entity, id) => {
</script>

<template>
<div class="py-2">
<div class="pt-2 pb-8">
<DetailsModal
:show="modalStore.open"
:closeable="true"
:show="modalStore.open"
/>

<div class="flex justify-center">
Expand Down
4 changes: 2 additions & 2 deletions resources/js/Pages/Character/Partials/Status.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ const showDescription = async (entity, id) => {
</script>

<template>
<div class="py-2">
<div class="pt-2 pb-8">
<DetailsModal
:show="modalStore.open"
:closeable="true"
:show="modalStore.open"
/>

<Hunger @get-description="showDescription"/>
Expand Down

0 comments on commit a6c6b04

Please sign in to comment.