Closed archiewood closed 2 weeks ago
Here are the code search results. I'm now analyzing these search results to write the PR.
pages/+layout.svelte
Create the custom layout file in the correct pages directory. 1.
<script>
import { EvidenceDefaultLayout } from '@evidence-dev/core-components';
import site from '$lib/config/site';
import '@evidence-dev/core-components/global.css';
</script>
<EvidenceDefaultLayout githubRepo="https://github.com/your-repo-url">
<slot />
</EvidenceDefaultLayout>
Your changes have been successfully made to the branch sweep/add_github_link_to_navbar
. I have validated these changes using a syntax checker and a linter.
[!TIP] To recreate the pull request, edit the issue title or description.
This is an automated message generated by Sweep AI.
Implement custom +layout.svelte inside /pages that adds an EvidenceDefaultLayout and passes a githubRepo prop to this repository Make sure to include the CSS and data imports for the file
https://docs.evidence.dev/reference/themes-and-layouts/#custom-layout