-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added ProfileAvatar component and referenced it in _app.tsx
- Loading branch information
1 parent
0aca018
commit 1b99b6a
Showing
2 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import React from 'react'; | ||
import classNames from 'classnames'; | ||
|
||
const ProfileAvatar: React.FC = () => { | ||
// UI for avatar and profile | ||
return ( | ||
<div className={classNames('daisy-avatar')}> | ||
<img src='avatar.png' alt='Profile avatar' className={classNames('avatar-image')}/> | ||
<p className={classNames('username')}>Username</p> | ||
</div> | ||
); | ||
}; | ||
|
||
export default ProfileAvatar; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters