Creating the link page

22 views
3 hours watched
2 completions

We have a backend, now we need a frontend to display the links at the username URL.

Video thumbnail

Get full access

You need to subscribe to get full access to the video and lesson content.

Join 4.6K+ learners from companies like Shopify, Microsoft, Tiktok, AppSumo and Instacart.

$197
one-time payment

We need to address the error message caused by the canonical setting in the SEO. The root is expecting an array, but we're giving it a string. Let's fix this by turning it into an array:

['username' => $username]

Creating a Simple Template

Currently, the username.blade.php file is using the x-layouts-app layout, which includes unnecessary navigation elements. We need to create a simpler template for the front-end view.

  1. Create a new file in the components/layouts folder called public.blade.php .
  2. Update the username.blade.php file to use this new layout:
<x-layouts.public> <!-- Add public content here --> </x-layouts.public>

Fixing the Undefined SEO...

Subscribe now to get full access to the lesson content.

Get started →