Skip to content

Commit

Permalink
attempt to change avatar
Browse files Browse the repository at this point in the history
  • Loading branch information
houssamkanso committed Jun 19, 2024
1 parent 4df7cab commit b307900
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
10 changes: 6 additions & 4 deletions gitprofile.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const CONFIG = {
github: {
display: true, // Display GitHub projects?
header: 'Github Projects',
mode: 'automatic', // Mode can be: 'automatic' or 'manual'
mode: 'manual', // Mode can be: 'automatic' or 'manual'
automatic: {
sortBy: 'stars', // Sort projects by 'stars' or 'updated'
limit: 8, // How many projects to display.
Expand All @@ -25,7 +25,9 @@ const CONFIG = {
},
manual: {
// Properties for manually specifying projects
projects: ['arifszn/gitprofile', 'arifszn/pandora'], // List of repository names to display. example: ['arifszn/my-project1', 'arifszn/my-project2']
//projects: ['arifszn/gitprofile', 'arifszn/pandora'], // List of repository names to display. example: ['arifszn/my-project1', 'arifszn/my-project2']
projects: [], // List of repository names to display. example: ['arifszn/my-project1', 'arifszn/my-project2']

},
},
external: {
Expand All @@ -52,8 +54,8 @@ const CONFIG = {
},
},
seo: {
title: 'Portfolio Houssam Kanso',
description: '',
title: 'Houssam Kanso',
description: 'Ph.D. | Computer Science Researcher and Engineer',
imageURL: '',
},
social: {
Expand Down
3 changes: 2 additions & 1 deletion src/components/gitprofile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ const GitProfile = ({ config }: { config: Config }) => {
const data = response.data;

setProfile({
avatar: data.avatar_url,
//avatar: data.avatar_url,
avatar: "https://media.licdn.com/dms/image/D4E03AQGWm3cIlPlr-Q/profile-displayphoto-shrink_800_800/0/1684489235136?e=1724284800&v=beta&t=Pr7OiR1SiOYVk_7S5A7WLVpitOCiPeuqIbw01jyPk1E",
name: data.name || ' ',
bio: data.bio || '',
location: data.location || '',
Expand Down

0 comments on commit b307900

Please sign in to comment.