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

feat(explore): implemented community feature #631

Merged
merged 1 commit into from
Aug 8, 2023
Merged
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
33 changes: 32 additions & 1 deletion src/components/ExploreCommunity/index.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,38 @@
import React from "react";
import { explorecommunity, minus } from "../../assets";

const ExploreCommunity = () => {
return <div>index</div>;
return (
<div className="w-full h-[90vh] ">
<div className="mb-20">
<h1 className="font-semibold text-4xl border p-3 rounded-lg text-[#9400D3] text-center w-50 ml-80 mr-80">
Community
</h1>
</div>
<div className="flex gap-20">
<div className="w-1/2 ml-20">
<img src={explorecommunity} alt="" className="border p-5 art" />
</div>
<div className="w-1/2">
<div className="flex text-3xl">
<span className="text-pink-600 font-bold"> | </span>
<h1 className="mr-3 ml-3 font-semibold">Community</h1>
<span className="">of Over 1000 people</span>
</div>
<div className="description mt-5">
<p className="leading-loose text-lg">
Join us and involve in a number of ongoing events, <br /> and meetup.
Not only run by the core team, <br /> but also run by the community
directly.
</p>
</div>
<button className="border p-3 bg-pink-500 rounded-full w-[30%] mt-10 font-normal hover:bg-violet-800">
Join us{" "}
</button>
</div>
</div>
</div>
);
};

export default ExploreCommunity;
2 changes: 2 additions & 0 deletions src/views/app/Explore/index.jsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
import React from "react";
import HomeLayout from "../../../layout/HomeLayout.jsx";
import Explore from "../../../pages/Explore/Explore.jsx";
import ExploreCommunity from "../../../components/ExploreCommunity/index.jsx";

function ExplorePage() {
return (
<HomeLayout>
<Explore />
<ExploreCommunity />
</HomeLayout>
);
}
Expand Down