From a402a095be1a583db6f7e06e2c5764c8ba3f24b4 Mon Sep 17 00:00:00 2001 From: Aryan Mehrotra Date: Tue, 10 Dec 2024 00:39:27 +0530 Subject: [PATCH] add route for nats --- .../pkg/gofr/datasource/pubsub/nats/layout.jsx | 11 +++++++++++ src/app/pkg/gofr/datasource/pubsub/nats/page.jsx | 16 ++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 src/app/pkg/gofr/datasource/pubsub/nats/layout.jsx create mode 100644 src/app/pkg/gofr/datasource/pubsub/nats/page.jsx diff --git a/src/app/pkg/gofr/datasource/pubsub/nats/layout.jsx b/src/app/pkg/gofr/datasource/pubsub/nats/layout.jsx new file mode 100644 index 0000000..8137043 --- /dev/null +++ b/src/app/pkg/gofr/datasource/pubsub/nats/layout.jsx @@ -0,0 +1,11 @@ +export const metadata = { + other: { + 'go-import': 'gofr.dev git https://github.com/gofr-dev/gofr', + 'go-source': + 'gofr.dev https://github.com/gofr-dev/gofr https://github.com/gofr-dev/gofr/tree/main{/dir} https://github.com/gofr-dev/gofr/blob/main{/dir}/{file}#L{line}', + }, +} + +export default function RootLayout({ children }) { + return children +} diff --git a/src/app/pkg/gofr/datasource/pubsub/nats/page.jsx b/src/app/pkg/gofr/datasource/pubsub/nats/page.jsx new file mode 100644 index 0000000..f8bffb5 --- /dev/null +++ b/src/app/pkg/gofr/datasource/pubsub/nats/page.jsx @@ -0,0 +1,16 @@ +import React from 'react'; + + +const Page = () => { + return ( +
+
+ + + +
+
+ ); +}; + +export default Page; \ No newline at end of file