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

fixing some styling bugs #111

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ STEPS :

Everyone in this community (from core members to random committers and volunteers) are asked to please act in accordance with the AskDevs Community Contributor Code of Conduct. We encourage you to follow these social rules which help guide our interactions with each other, and ensure we provide a safe environment for everyone. We aim to make AskDevs a positive, welcoming, open and inclusive project and community.


[Code of Conduct](CODE_OF_CONDUCT.md)

<!--- ## 👨‍🍳 Contribute
Expand Down
5 changes: 3 additions & 2 deletions src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,13 @@ export default function Home({ users, categories }) {
const topics = findTopicsBySlug(selectedCategory, user);

return (

<div className="w-full p-4 md:w-1/2 lg:w-1/4 flex justify-center" key={user.username}>
<div className="bg-white flex flex-col items-center justify-center p-4 shadow-lg rounded-2xl w-64 hover:shadow-gray-500">
<img
src={user.image}
alt="profile"
className="mx-auto rounded-full py-2 w-16 "
alt={`${user.username} profile`}
className="mx-auto py-2 w-16 "
style={{ borderRadius: '100%' }}
/>
<p className="font-bold text-2xl tracking-wide text-gray-800 text-center mt-4">
Expand Down