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
chore: update extension docs
author
Pouria Delfanazari
date
1 year ago
(Jul 16, 2025, 4:11 PM -0700)
commit
c05c8487
c05c848700fe69cfd0023cbfc657788c17bfe7b2
parent
e1c40f7b
e1c40f7b8a431151c0bfb1c3f18d52e3b226bffe
+5
-5
1 changed file
Expand all
Collapse all
Unified
Split
docs
browser-extension-setup.md
+5
-5
docs/browser-extension-setup.md
View file
Reviewed
···
75
75
**popup.tsx:**
76
76
```typescript
77
77
import { useAuth } from "./hooks/useAuth"
78
78
-
import { Button } from "@mantine/core"
79
79
-
import "./app/globals.css" // Reuse your styles
78
78
+
import { Button, Center, Title } from "@mantine/core"
79
79
+
import "@mantine/core/styles.css"; // Reuse your styles
80
80
81
81
function IndexPopup() {
82
82
const { isAuthenticated, login } = useAuth()
83
83
84
84
return (
85
85
-
<div className="w-80 p-4">
86
86
-
<h1>Your App Extension</h1>
85
85
+
<Center>
86
86
+
<Title order={1}>Your App Extension</Title>
87
87
{isAuthenticated ? (
88
88
<div>Welcome back!</div>
89
89
) : (
90
90
<Button onClick={() => login()}>Sign In</Button>
91
91
)}
92
92
-
</div>
92
92
+
</Center>
93
93
)
94
94
}
95
95