Skip to content

Commit

Permalink
Update SrcPage refs
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed Feb 20, 2024
1 parent 7b03c29 commit b23754f
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion MyApp.Client/src/components/SrcPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ type Props = {
}

export default ({ path }:Props) => (
<SrcLink href={combinePaths('/MyApp.Client/src',path)}>
<SrcLink href={combinePaths('/MyApp.Client/src/pages',path)}>
<Icon icon="mdi:react" className="w-5 h-5 text-link-dark inline" />
</SrcLink>
)
2 changes: 1 addition & 1 deletion MyApp.Client/src/pages/blog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ export default () => {
</section>)}
</div>
<div className="my-8 flex justify-center gap-x-4">
<SrcPage path="pages/blog.vue"/>
<SrcPage path="blog.vue"/>
</div>
</Layout>
</>)
Expand Down
2 changes: 1 addition & 1 deletion MyApp.Client/src/pages/bookings-crud/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ function Index() {
</h2>
<p className="my-3 mx-auto text-base text-gray-500 sm:text-lg md:mt-5 md:text-xl">
The Bookings APIs are built using
<a className="font-semibold" href="https://docs.servicestack.net/autoquery-crud"> AutoQuery CRUD </a>,
<a className="font-semibold" href="https://docs.servicestack.net/autoquery-crud"> AutoQuery CRUD</a>,
allowing for rapid development of typed CRUD Services using only declarative POCO DTOs, enabling
developing entire
<a className="font-semibold" href="https://docs.servicestack.net/autoquery/crud#advanced-crud-example"> audited </a>
Expand Down
2 changes: 1 addition & 1 deletion MyApp.Client/src/pages/counter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default (): JSX.Element => {
<Button onClick={() => setCount(count + 1)}>Click me</Button>

<div className="mt-8 flex justify-center gap-x-4">
<SrcPage path="pages/counter.tsx"/>
<SrcPage path="counter.tsx"/>
</div>
</Page>)
}
2 changes: 1 addition & 1 deletion MyApp.Client/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const Index = () => {
group="react"/>

<div className="my-8 flex justify-center gap-x-4">
<SrcPage path="pages/index.tsx" />
<SrcPage path="index.tsx" />
</div>

</Layout>
Expand Down
2 changes: 1 addition & 1 deletion MyApp.Client/src/pages/posts/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export default ({ }: Props) => {
</div>

<div className="my-8 flex justify-center gap-x-4">
<SrcPage path="pages/posts/index.tsx" />
<SrcPage path="posts/index.tsx" />
</div>
</>
</Layout>
Expand Down
2 changes: 1 addition & 1 deletion MyApp.Client/src/pages/videos.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default () => {
group="react"/>

<div className="my-8 flex justify-center gap-x-4">
<SrcPage path="pages/videos.vue"/>
<SrcPage path="videos.vue"/>
</div>

</Layout>
Expand Down

0 comments on commit b23754f

Please sign in to comment.