Skip to content

Commit

Permalink
Merge branch 'next' into task/OV-52-add-chat-history-saving
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiy4 committed Aug 29, 2024
2 parents 1c21628 + 34b8fc8 commit dcb791f
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 3 deletions.
29 changes: 28 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,34 @@ Create personalized sales videos using generated video content and AI-generated

## 💽 DB Schema

TBD
```mermaid
erDiagram
users {
uuid id PK
string email UK
string full_name
text password_hash
text password_salt
datetime created_at
datetime updated_at
}
videos {
uuid id PK
uuid user_id FK
string name
string url
datetime created_at
datetime updated_at
}
files {
uuid id PK
string url
enum type "Values: 'video', 'photo'"
datetime created_at
datetime updated_at
}
users ||--o{ videos : have
```

## 🏃‍♂️ Simple Start

Expand Down
9 changes: 7 additions & 2 deletions frontend/src/bundles/auth/pages/auth.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const Auth: React.FC = () => {
};

return (
<SimpleGrid columns={2} height="100vh">
<SimpleGrid columns={{ base: 1, sm: 2 }} height="100vh">
{/* TODO: Replace with valid loader */}
{dataStatus === DataStatus.PENDING && (
<p style={{ position: 'absolute', top: 0, color: 'white' }}>
Expand All @@ -64,7 +64,12 @@ const Auth: React.FC = () => {
)}
<Center bgColor="background.600">{getScreen(pathname)}</Center>
{/* TODO: Add logo */}
<Center bgColor="background.900">LOGO</Center>
<Center
bgColor="background.900"
display={{ base: 'none', sm: 'flex' }}
>
LOGO
</Center>
</SimpleGrid>
);
};
Expand Down

0 comments on commit dcb791f

Please sign in to comment.