Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement /profile presentation and container #1403

Merged
merged 115 commits into from
Aug 16, 2024
Merged
Show file tree
Hide file tree
Changes from 53 commits
Commits
Show all changes
115 commits
Select commit Hold shift + click to select a range
d898125
feat: add chart and start profile page
dominik-stumpf Jul 18, 2024
32d91aa
Merge branch 'profiles-page' of github.com:guildxyz/guild.xyz into im…
dominik-stumpf Jul 19, 2024
0ff85d4
chore: build up profile main section
dominik-stumpf Jul 19, 2024
ae22328
chore: adjust css to design
dominik-stumpf Jul 19, 2024
8aba3ca
chore: add mobile view
dominik-stumpf Jul 19, 2024
354170b
feat: add contribution card
dominik-stumpf Jul 22, 2024
82a2f95
chore: position xp radial chart correctly
dominik-stumpf Jul 22, 2024
01dfd33
feat: improve contribution card view
dominik-stumpf Jul 23, 2024
1189495
chore: add RecentActivity
dominik-stumpf Jul 23, 2024
56be070
chore: replace xp by badge
dominik-stumpf Jul 23, 2024
e8bfa35
Merge branch 'profiles-page' of github.com:guildxyz/guild.xyz into im…
dominik-stumpf Jul 23, 2024
1989c4d
chore: move PageContainer into Layout
dominik-stumpf Jul 23, 2024
5fabd67
chore: add customizability to Layout components
dominik-stumpf Jul 23, 2024
e86511c
test: update stories
dominik-stumpf Jul 23, 2024
07fb6d3
Merge branch 'profiles-page' of github.com:guildxyz/guild.xyz into im…
dominik-stumpf Jul 23, 2024
b6b84ad
Merge branch 'profiles-page' into implement-profile-presentation
dominik-stumpf Jul 23, 2024
900b73d
Merge branch 'profiles-page' of github.com:guildxyz/guild.xyz into im…
dominik-stumpf Jul 23, 2024
4a28b4b
chore: remove lucide-react dep
dominik-stumpf Jul 23, 2024
8d8ab70
Merge branch 'profiles-page' into implement-profile-presentation
dominik-stumpf Jul 23, 2024
bd20c05
Merge branch 'profiles-page' of github.com:guildxyz/guild.xyz into im…
dominik-stumpf Jul 25, 2024
da28505
feat: add bg to circle xp bar
dominik-stumpf Jul 25, 2024
0e4e90f
feat: try filling user data
dominik-stumpf Jul 26, 2024
2c28453
chore: remove providers and account
dominik-stumpf Jul 26, 2024
53fc78c
chore: fine tune CircularProgressBar
dominik-stumpf Jul 26, 2024
9967432
feat: try adding compoundVariants to Toggle
dominik-stumpf Jul 26, 2024
0d67bd0
feat: add LevelPolygon
dominik-stumpf Jul 26, 2024
44d4b54
chore: add back profile fetching
dominik-stumpf Jul 29, 2024
913e436
chore: finish toggle color config
dominik-stumpf Jul 29, 2024
e82fbc8
fix: address toggle type errors
dominik-stumpf Jul 29, 2024
53bfb3f
Revert "fix: address toggle type errors"
dominik-stumpf Jul 30, 2024
13ff511
Revert "chore: finish toggle color config"
dominik-stumpf Jul 30, 2024
faa3f21
feat: improve toggle variants
dominik-stumpf Jul 30, 2024
8d8e26b
chore: adjust spacing and remove placeholder desc
dominik-stumpf Jul 30, 2024
bd1e591
feat: add LevelBadge
dominik-stumpf Jul 30, 2024
93fedb4
feat: start editprofile
dominik-stumpf Jul 30, 2024
344fddd
refactor(css): redo profile summary
dominik-stumpf Jul 30, 2024
1145d7e
refactor(css): improve contribution cards
dominik-stumpf Jul 30, 2024
b955176
Revert "chore: remove providers and account"
dominik-stumpf Jul 31, 2024
61b17f2
Merge branch 'profiles-page' of github.com:guildxyz/guild.xyz into im…
dominik-stumpf Jul 31, 2024
b3f1595
Merge branch 'profiles-page' into implement-profile-presentation
dominik-stumpf Jul 31, 2024
2b487ab
feat: add OperatedGuildCard
dominik-stumpf Jul 31, 2024
8ef60cb
Merge branch 'profiles-page' into implement-profile-presentation
dominik-stumpf Jul 31, 2024
4c584af
chore: add EditProfile
dominik-stumpf Jul 31, 2024
e0bbddb
feat: finish EditProfile presentation
dominik-stumpf Jul 31, 2024
912abe4
chore: adjust spacing in EditProfile
dominik-stumpf Jul 31, 2024
50adb94
fix: spread props
dominik-stumpf Jul 31, 2024
6d2d889
feat: add delete profile view
dominik-stumpf Jul 31, 2024
86e974d
feat: add EditContributions
dominik-stumpf Jul 31, 2024
a9ff7d2
refactor: remove cartesian grid from ActivityChart
dominik-stumpf Jul 31, 2024
fba4228
refactor: reduce spacing on CheckMark
dominik-stumpf Jul 31, 2024
c141fa4
Merge branch 'main' into implement-profile-presentation
BrickheadJohnny Aug 1, 2024
4497b84
feat(LayoutFooter): accept children
BrickheadJohnny Aug 1, 2024
8edba79
Merge branch 'profiles-page' into implement-profile-presentation
BrickheadJohnny Aug 1, 2024
5c2eef8
fix: remove shadow from LevelBadge
dominik-stumpf Aug 1, 2024
4fabcc8
Merge branch 'implement-profile-presentation' of github.com:guildxyz/…
dominik-stumpf Aug 1, 2024
47ea6ac
fix(css): adjust styles
dominik-stumpf Aug 1, 2024
95e07c3
fix(css): add padding to OperatedGuildCard
dominik-stumpf Aug 1, 2024
28946ab
fix(css): adjust styles to design
dominik-stumpf Aug 1, 2024
f3317fe
Merge branch 'profiles-page' into implement-profile-presentation
dominik-stumpf Aug 2, 2024
5043708
Merge branch 'profiles-page' of github.com:guildxyz/guild.xyz into im…
dominik-stumpf Aug 5, 2024
066771b
chore: move profile to csr only temporarily
dominik-stumpf Aug 5, 2024
64276c8
UI(EditContributions): smaller button
dovalid Aug 6, 2024
831a539
UI(EditProfile): adjust borders
dovalid Aug 6, 2024
d13a28d
UI(Dialog): default footer styles
dovalid Aug 6, 2024
7a47fed
cleanup: move const out of render function
dovalid Aug 6, 2024
2d75239
remove rechart & Experience section
dovalid Aug 6, 2024
124013c
UI: make borders muted
dovalid Aug 6, 2024
b26ea29
OperatedGuildCard components
dovalid Aug 6, 2024
4d47e76
chore: remove xp metagame related components
dominik-stumpf Aug 7, 2024
4a0a5c3
implement contribution container (#1430)
dominik-stumpf Aug 7, 2024
4010f41
UI(OperatedGuildCard): light mode
dovalid Aug 8, 2024
eb7978e
Implement `EditProfile` container (#1427)
dominik-stumpf Aug 8, 2024
4682371
Merge branch 'profiles-page' of github.com:guildxyz/guild.xyz into im…
dominik-stumpf Aug 8, 2024
1a9a79a
refactor: revalidate on profile deletion
dominik-stumpf Aug 8, 2024
57623bd
UI(Avatar): smaller more count text
dovalid Aug 8, 2024
6984bbe
add FeaturedIcon to OperatedGuildCard
dovalid Aug 8, 2024
6a52a27
Merge branch 'implement-profile-presentation' of https://github.com/g…
dovalid Aug 8, 2024
13c0b17
chore: break profile name and remove caretdown
dominik-stumpf Aug 8, 2024
41101b4
fix(CardWithGuildLabel): label in light mode
dovalid Aug 8, 2024
8a7544c
Merge branch 'implement-profile-presentation' of github.com:guildxyz/…
dominik-stumpf Aug 8, 2024
bfb3965
chore: add card behind edit profile
dominik-stumpf Aug 8, 2024
5125b49
Merge branch 'implement-profile-presentation' of https://github.com/g…
dovalid Aug 8, 2024
c812689
Merge branch 'implement-profile-presentation' of github.com:guildxyz/…
dominik-stumpf Aug 8, 2024
b6af2de
feat: add not found page
dominik-stumpf Aug 8, 2024
342e469
Merge branch 'main' into implement-profile-presentation
dovalid Aug 8, 2024
44447e1
Merge branch 'main' into implement-profile-presentation
dovalid Aug 8, 2024
7bc8fb8
feat: add color picker
dovalid Aug 8, 2024
b950348
refactor: redirect to error and fetch per guild
dominik-stumpf Aug 9, 2024
71b4ad0
add optimistic update for edit contributions and profile (#1438)
dominik-stumpf Aug 9, 2024
35f8c11
Merge branch 'profiles-page' into implement-profile-presentation
dovalid Aug 12, 2024
9d3e167
static banner style base
dovalid Aug 12, 2024
c0ff920
UI: layout & responsivity impros
dovalid Aug 12, 2024
26223cf
SectionTitle component & md size on mobile
dovalid Aug 12, 2024
b984a81
UI(OperatedGuildCard): responsivity impros
dovalid Aug 12, 2024
863c700
chore: add bg to CardWithGuildLabel
dominik-stumpf Aug 12, 2024
bdad6bd
UI(ContributionCard): responsivity impros
dovalid Aug 12, 2024
bb3ad32
update to new types package & change profileId to userId
dovalid Aug 13, 2024
74e678b
UI(EditProfile): subtle border for images too
dovalid Aug 13, 2024
c3c7251
update to new types package
dovalid Aug 13, 2024
c3dd58b
feat: working color theming
dovalid Aug 13, 2024
bd47ba7
fix(ProfileColorPicker): dynamic icon color
dovalid Aug 13, 2024
2741c0c
UI(EditProfile): inside scroll in modal
dovalid Aug 14, 2024
d168e4c
refactor(EditProfile): batch components
dovalid Aug 14, 2024
e8c27ca
feat: background image
dovalid Aug 14, 2024
361d5a0
chore: merge profile main branch
dominik-stumpf Aug 15, 2024
d93969e
Merge branch 'implement-profile-presentation' of github.com:guildxyz/…
dominik-stumpf Aug 15, 2024
2f9a609
fix: address client side error and remove type assertions
dominik-stumpf Aug 15, 2024
6d00a82
Merge branch 'profiles-page' into implement-profile-presentation
dominik-stumpf Aug 15, 2024
0f49be5
feat: add referred users
dominik-stumpf Aug 15, 2024
750d195
chore: switch to dev backend, cache activities
dominik-stumpf Aug 15, 2024
cdd55b2
Merge branch 'profiles-page' into implement-profile-presentation
dovalid Aug 15, 2024
6aecd65
cleanup chart colors
dovalid Aug 15, 2024
7207684
refactor: use backend schemas
dominik-stumpf Aug 16, 2024
d3d8bad
chore: merge profile main branch
dominik-stumpf Aug 16, 2024
5be36db
fix: broken banner styles
dovalid Aug 16, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
166 changes: 166 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"@radix-ui/react-focus-scope": "^1.1.0",
"@radix-ui/react-label": "^2.1.0",
"@radix-ui/react-popover": "^1.1.1",
"@radix-ui/react-progress": "^1.1.0",
"@radix-ui/react-separator": "^1.1.0",
"@radix-ui/react-slot": "^1.1.0",
"@radix-ui/react-toast": "^1.2.1",
Expand Down Expand Up @@ -110,6 +111,7 @@
"react-markdown": "^8.0.7",
"react-papaparse": "^4.4.0",
"react-window": "^1.8.8",
"recharts": "^2.13.0-alpha.4",
"remark-gfm": "^4.0.0",
"slugify": "^1.6.5",
"swr": "^2.2.4",
Expand Down
14 changes: 14 additions & 0 deletions src/app/(marketing)/profile/[username]/constants.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
export const MAX_LEVEL = 100
export const RANKS = [
{ color: "#78c93d", title: "novice" },
{ color: "#88d525", title: "learner" },
{ color: "#f6ca45", title: "knight" },
{ color: "#78c93d", title: "veteran" },
{ color: "#ec5a53", title: "champion" },
{ color: "#53adf0", title: "hero" },
{ color: "#c385f8", title: "master" },
{ color: "#3e6fc3", title: "grand master" },
{ color: "#be4681", title: "legend" },
{ color: "#000000", title: "mythic" },
{ color: "linear-gradient(to left top, #00cbfa, #b9f2ff)", title: "???" },
dominik-stumpf marked this conversation as resolved.
Show resolved Hide resolved
] as const
Loading
Loading