alpha
Login
or
Join now
nandi.uk
/
semble
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
feat: "contributed to" layout
author
pdelfan
date
3 months ago
(Apr 17, 2026, 2:39 PM -0700)
commit
53c42df3
53c42df301b496cade0c0d1857168733d98a074a
parent
1f0e5cf8
1f0e5cf8ce22f169fb13a41d87f0333dc2aee848
+40
1 changed file
Expand all
Collapse all
Unified
Split
src
webapp
app
(dashboard)
profile
[handle]
(withHeader)
network
contributed-to
layout.tsx
+40
src/webapp/app/(dashboard)/profile/[handle]/(withHeader)/network/contributed-to/layout.tsx
View file
Reviewed
···
1
1
+
import { getProfile } from '@/features/profile/lib/dal';
2
2
+
import type { Metadata } from 'next';
3
3
+
import { Fragment } from 'react';
4
4
+
5
5
+
interface Props {
6
6
+
params: Promise<{ handle: string }>;
7
7
+
children: React.ReactNode;
8
8
+
}
9
9
+
10
10
+
export async function generateMetadata({ params }: Props): Promise<Metadata> {
11
11
+
const { handle } = await params;
12
12
+
const profile = await getProfile(handle);
13
13
+
14
14
+
return {
15
15
+
title: `Collection ${profile.name} has contributed to`,
16
16
+
description: `Explore collections ${profile.name} has contributed to on Semble`,
17
17
+
authors: [
18
18
+
{
19
19
+
name: profile.name,
20
20
+
url: `${process.env.APP_URL}/profile/${handle}`,
21
21
+
},
22
22
+
],
23
23
+
alternates: {
24
24
+
types: {
25
25
+
'': `at://${profile.id}`,
26
26
+
},
27
27
+
},
28
28
+
other: {
29
29
+
'atprotocol:creator': `at://${profile.id}`,
30
30
+
},
31
31
+
};
32
32
+
}
33
33
+
34
34
+
interface Props {
35
35
+
children: React.ReactNode;
36
36
+
}
37
37
+
38
38
+
export default function Layout(props: Props) {
39
39
+
return <Fragment>{props.children}</Fragment>;
40
40
+
}