diff --git a/source/src/components/CreatorInSidebar.astro b/source/src/components/CreatorInSidebar.astro new file mode 100755 index 0000000..d30b535 --- /dev/null +++ b/source/src/components/CreatorInSidebar.astro @@ -0,0 +1,44 @@ +--- +// Properties +const { + ChannelId +} = Astro.props + +// Configuration +import { DEFAULT_MEDIA_DATA_PROXY, DEFAULT_IMAGE_PROXY} from '@utils/GetConfig' + +// Fetch +const channel = await fetch(DEFAULT_MEDIA_DATA_PROXY + "/api/v1/channels/" + ChannelId).then((response) => response.json()); +--- + + + +

{channel.author}

+
+ + \ No newline at end of file