Introducing ReUI:Open-source UI components and apps built with React, Next.js and Tailwind CSS
Browse ReUI

Help with layouts


Hello,
I'm using the Laravel demo7,
I want to use the same layout as for documentation for the public space of my project but I cannot figure how to do that.

I know this piece of the web.php is disabling the auth but when I try on different folder inside views it does not work

$menu = theme()->getMenu();
array_walk($menu, function ($val) {

if (isset($val["path"])) {
$route = Route::get($val["path"], [PagesController::class, "index"]);

// Exclude documentation from auth middleware
if (!Str::contains($val["path"], "documentation")) {
$route->middleware("auth");
}

// Custom page demo for 500 server error
if (Str::contains($val["path"], "error-500")) {
Route::get($val["path"], function () {
abort(500, "Something went wrong! Please try again later.");
});
}
}
});


How can I achieve that? Or just change the name of documentation.


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (28)


I did experience checking articles or reviews shared here. They are simply exceptional there are a large amount of advantageous knowledge.온라인카지노 꽁머니



Great post but I was wondering if you could write a little more on this subject? I’d be very thankful if you could elaborate a little bit further. Thanks in advance!IPTV

IPTV free trial UK



I visit your blog regularly and recommend it to all of those who wanted to enhance their knowledge with ease. The style of writing is excellent and also the content is top-notch. Thanks for that shrewdness you provide the readers!code promo 1xbet congo brazzaville



Great post but I was wondering if you could write a little more on this subject? I’d be very thankful if you could elaborate a little bit further. Thanks in advance!IPTV free trial UK



Exceptional article, gone ahead of time along with added your blog. My spouse and i can’t delay you just read additional via anyone.문자인증대행



스포츠 하이라이트Without fail, your writing style is top professional; even your website also looks amazing thank you for posting.

Its a great pleasure reading your post.Its full of information I am looking for and I love to post a comment that "The content of your post is awesome" Great work.cbridge



The audio will be awesome. You might have several extremely skilled performers. My partner and i want an individual the most effective regarding accomplishment.대전출장마사지



Ones own favorite songs is without a doubt astonishing. You have got various highly athletic animators. As i intend one the ideal in achieving success.ufabet88



Fantastic Put up, I'm sure a giant believer through post feed-back concerning webpages towards allow the blog page consultants recognise that they’ve further a specific thing positive towards the web!ufabet88



I think this is an informative post and it is very useful and knowledgeable. therefore, I would like to thank you for the efforts you have made in writing this article.kitchen radiators



Wow, cool post. I'd like to write like this too - taking time and real hard work to make a great article... but I put things off too much and never seem to get started. Thanks though.Thruster blast



Online is definitely bogged all the way down by using bogus blogs and forums devoid of serious principles although the posting appeared to be brilliant plus definitely worth a learn. Thanks a ton to get spreading the following with me.무료슬롯



Wonderful Content, Now i'm a massive believer for offer suggestions relating to internet websites to make sure you let the web page creators understandthat they’ve incorporated an issue good to make sure you just a couple of!agenolx slot



Document thrilled along with the researching you will designed to makes precise put up impressive. Delightful adventure!data Macau 5D



Wonderful article. Fascinating to read. I love to read such an excellent article. Thanks! It has made my task more and extra easy. Keep rocking.Frisco sober living



You might be allowed to submit brands, however, not back links, except if they may be accepted and also about matter.건대호빠



This may be a really good hints mainly that will the ones novices at blogosphere, shorter together with complete information… Kudos meant for posting ours. Extremely important look over report.dallas addiction



This article was written by a real thinking writer. I agree many of the with the solid points made by the writer. I’ll be back.follow ig



I’m prompted while using the surpassing in addition to preachy checklist you give in such very little timing.건축자금대출



To provide a First-time, My group is eternally visiting web based designed for articles and reviews which is in be an aid to all of us. Thanks for your time.San Antonio drug detox


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(