Commit 925a9d52 authored by Lucas Nunes's avatar Lucas Nunes

fix

parent a2c81bb4
......@@ -3,9 +3,9 @@
<component name="ChangeListManager">
<list default="true" id="853286ae-8652-453d-8e83-ab776ad9c7ae" name="Default" comment="fix">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Http/Controllers/Frontend/Auth/LoginController.php" beforeDir="false" afterPath="$PROJECT_DIR$/app/Http/Controllers/Frontend/Auth/LoginController.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resources/lang/pt-Br/labels.php" beforeDir="false" afterPath="$PROJECT_DIR$/resources/lang/pt-Br/labels.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resources/views/frontend/layouts/modals/loginModal.blade.php" beforeDir="false" afterPath="$PROJECT_DIR$/resources/views/frontend/layouts/modals/loginModal.blade.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/database/seeds/PageSeeder.php" beforeDir="false" afterPath="$PROJECT_DIR$/database/seeds/PageSeeder.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/database/seeds/SliderSeeder.php" beforeDir="false" afterPath="$PROJECT_DIR$/database/seeds/SliderSeeder.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resources/lang/pt-Br/strings.php" beforeDir="false" afterPath="$PROJECT_DIR$/resources/lang/pt-Br/strings.php" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
......@@ -271,7 +271,7 @@
<workItem from="1567743881913" duration="190000" />
<workItem from="1567832429427" duration="62000" />
<workItem from="1579682757164" duration="8495000" />
<workItem from="1579740326050" duration="33814000" />
<workItem from="1579740326050" duration="35602000" />
</task>
<task id="LOCAL-00001" summary="fix">
<created>1579690799404</created>
......@@ -322,7 +322,14 @@
<option name="project" value="LOCAL" />
<updated>1580088702511</updated>
</task>
<option name="localTasksCounter" value="8" />
<task id="LOCAL-00008" summary="fix">
<created>1580090662072</created>
<option name="number" value="00008" />
<option name="presentableId" value="LOCAL-00008" />
<option name="project" value="LOCAL" />
<updated>1580090662072</updated>
</task>
<option name="localTasksCounter" value="9" />
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
......@@ -333,10 +340,10 @@
<option name="LAST_COMMIT_MESSAGE" value="fix" />
</component>
<component name="WindowStateProjectService">
<state x="1975" y="104" key="CommitChangelistDialog2" timestamp="1580088701656">
<state x="1975" y="104" key="CommitChangelistDialog2" timestamp="1580090660901">
<screen x="1366" y="0" width="1920" height="1080" />
</state>
<state x="1975" y="104" key="CommitChangelistDialog2/1366.0.1920.1080/0.0.1366.768@1366.0.1920.1080" timestamp="1580088701656" />
<state x="1975" y="104" key="CommitChangelistDialog2/1366.0.1920.1080/0.0.1366.768@1366.0.1920.1080" timestamp="1580090660901" />
<state x="2150" y="433" key="NewPhpFileDialog" timestamp="1580087547127">
<screen x="1366" y="0" width="1920" height="1080" />
</state>
......@@ -345,10 +352,10 @@
<screen x="1366" y="0" width="1920" height="1080" />
</state>
<state x="2148" y="220" key="RollbackChangesDialog/1366.0.1920.1080/0.0.1366.768@1366.0.1920.1080" timestamp="1580073294419" />
<state x="1925" y="243" key="Vcs.Push.Dialog.v2" timestamp="1580088704242">
<state x="1925" y="243" key="Vcs.Push.Dialog.v2" timestamp="1580090666768">
<screen x="1366" y="0" width="1920" height="1080" />
</state>
<state x="1925" y="243" key="Vcs.Push.Dialog.v2/1366.0.1920.1080/0.0.1366.768@1366.0.1920.1080" timestamp="1580088704242" />
<state x="1925" y="243" key="Vcs.Push.Dialog.v2/1366.0.1920.1080/0.0.1366.768@1366.0.1920.1080" timestamp="1580090666768" />
<state x="2102" y="244" key="VcsDiffUtil.ChangesDialog" timestamp="1579686223702">
<screen x="1366" y="0" width="1920" height="1080" />
</state>
......
......@@ -23,14 +23,14 @@ TRABALHAMOS EM PROL DA FORMAÇÃO DE VALORES MORAIS E SOCIAIS, BUSCANDO PROMOVER
NOSSA INSTITUIÇÃO DE ENSINO JÁ FORMOU MAIS DE 10 MIL ALUNOS E É DESTAQUE NO MERCADO DE CURSOS LIVRES, CAPACITAÇÃO, PROFISSIONALIZANTES, TÉCNICOS E SUPERIOR À DISTÂNCIA.';
foreach ($pagesTitles as $item){
foreach ($pagesTitles as $key => $item){
$page = \App\Models\Page::where('slug','=',str_slug($item))->first();
$user_id = \App\Models\Auth\User::role('administrator')->first()->id;
if($page == ""){
$page = new \App\Models\Page();
}
$page->title = $item;
$page->slug = str_slug($item);
$page->slug = $slugs[$key];
$page->content = $content;
$page->user_id = $user_id;
$page->sidebar = 1;
......
......@@ -13,7 +13,7 @@ class SliderSeeder extends Seeder
{
$slide_1 = [
'name' => 'Slide 1',
'content' => '{"hero_text":"Solução inventiva para educação","sub_text":"Organização de educação e treinamento","buttons":[{"label":"Nossos Cursos","link":"'.env('APP_URL').'/courses"}]}',
'content' => '{"hero_text":"Faça sua inscrição e garanta sua vaga","sub_text":"Organização de educação e treinamento","buttons":[{"label":"Pré-Matricula","link":"'.env('APP_URL').'/pre-register"}]}',
'bg_image' => 'slider-1.jpg',
'sequence' => 1,
'status' => 1,
......@@ -21,7 +21,7 @@ class SliderSeeder extends Seeder
];
$slide_2 = [
'name' => 'Slide 1',
'name' => 'Slide 2',
'content' => '{"hero_text":"Solução inventiva para educação","sub_text":"Organização de educação e treinamento","buttons":[{"label":"Nossos Cursos","link":"'.env('APP_URL').'/courses"}]}',
'bg_image' => 'slider-1.jpg',
'sequence' => 1,
......@@ -30,7 +30,7 @@ class SliderSeeder extends Seeder
];
$slide_3 = [
'name' => 'Slide 2',
'name' => 'Slide 3',
'content' => '{"hero_text":"Navegue pelos melhores cursos","sub_text":"Organização de educação e treinamento","widget":{"type":1}}',
'bg_image' => 'slider-2.jpg',
'sequence' => 2,
......@@ -39,7 +39,7 @@ class SliderSeeder extends Seeder
];
$slide_4 = [
'name' => 'Slide 3',
'name' => 'Slide 4',
'content' => '{"hero_text":"Informação ao alcance das suas mãos","sub_text":"","widget":{"type":2,"timer":"2019/02/15 11:01"},"buttons":[{"label":"Sobre Nós","link":"'.env('APP_URL').'about-us"},{"label":"Entre em contato","link":"'.env('APP_URL').'/contact-us"}]}',
'bg_image' => 'slider-3.jpg',
'sequence' => 3,
......
......@@ -159,8 +159,8 @@ return array (
'dashboard' =>
array (
'title' => 'Dashboard',
'welcome' => 'Welcome',
'my_courses' => 'My Courses',
'welcome' => 'Bem Vindo',
'my_courses' => 'Meus Cursos',
),
'search' =>
array (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment