Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript

fix(profile-ui): r3-l9 align home with profile sections

Josuéc4f808a0a226
diff --git a/profile-ui/app/components/__tests__/ProfilePortalHome.test.tsx b/profile-ui/app/components/__tests__/ProfilePortalHome.test.tsx
index 32957f39d..231e203cc 100644
--- a/profile-ui/app/components/__tests__/ProfilePortalHome.test.tsx
+++ b/profile-ui/app/components/__tests__/ProfilePortalHome.test.tsx
@@ -56,7 +56,10 @@ describe('Profile Portal home desktop app link', () => {
const view = render(<Page />)
- expect(view.container.querySelectorAll('.cu-page-stack > .cu-card')).toHaveLength(3)
+ expect(view.container.querySelectorAll('.profile-page > .cu-card')).toHaveLength(3)
+ expect(
+ screen.getByRole('heading', { name: 'Welcome, Josue' }).closest('.cu-home-welcome-card')
+ ).not.toBeNull()
expect(screen.getByText('Profile Portal', { selector: 'strong' })).toBeInTheDocument()
})
diff --git a/profile-ui/app/globals.css b/profile-ui/app/globals.css
index ecf537d48..bdd6396d1 100644
--- a/profile-ui/app/globals.css
+++ b/profile-ui/app/globals.css
@@ -151,11 +151,8 @@ code {
padding: 1rem 0.75rem 3rem 1.5rem;
}
-.cu-page-stack {
- display: grid;
- gap: 0.85rem;
- max-width: 1120px;
- margin-inline: auto;
+.cu-home-welcome-card .cu-card__body {
+ padding-inline-start: 0;
}
.cu-card {
diff --git a/profile-ui/app/page.tsx b/profile-ui/app/page.tsx
index 4c918fa0b..beff7816a 100644
--- a/profile-ui/app/page.tsx
+++ b/profile-ui/app/page.tsx
@@ -35,8 +35,8 @@ function HomeContent() {
}, [])
return (
- <section className="cu-page-stack">
- <div className="cu-card">
+ <section className="profile-page">
+ <div className="cu-card cu-home-welcome-card">
<div className="cu-card__body">
<p className="eyebrow">Evenfire Profile</p>
<h2 className="page-title page-title--large">Welcome, {displayName}</h2>
diff --git a/profile-ui/package-lock.json b/profile-ui/package-lock.json
index 17e3488bb..2f494bf80 100644
--- a/profile-ui/package-lock.json
+++ b/profile-ui/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "clerum-profile-ui",
- "version": "0.1.164",
+ "version": "0.1.165",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "clerum-profile-ui",
- "version": "0.1.164",
+ "version": "0.1.165",
"dependencies": {
"@clerum/desktop-app-links": "file:../packages/desktop-app-links",
"@clerum/frontend-components": "file:../packages/frontend-components",
diff --git a/profile-ui/package.json b/profile-ui/package.json
index dc7929062..47e1f309a 100644
--- a/profile-ui/package.json
+++ b/profile-ui/package.json
@@ -1,6 +1,6 @@
{
"name": "clerum-profile-ui",
- "version": "0.1.164",
+ "version": "0.1.165",
"private": true,
"scripts": {
"dev": "next dev",