diff --git a/README.md b/README.md index c5bb24f..2b9eeb4 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,15 @@ This repository contains FrontChapter`s website source code. -## Contributors + + +[![All Contributors](https://img.shields.io/badge/all_contributors-1-orange.svg?style=flat-square)](#contributors-) + + + +## Contributors ✨ + +Thanks goes to these wonderful people +([emoji key](https://allcontributors.org/docs/en/emoji-key)): @@ -19,3 +28,7 @@ This repository contains FrontChapter`s website source code. + +This project follows the +[all-contributors](https://github.com/all-contributors/all-contributors) +specification. Contributions of any kind welcome! diff --git a/public/images/speakers/company-logo/bazaro.png b/public/images/speakers/company-logo/bazaro.png new file mode 100644 index 0000000..19eb7f7 Binary files /dev/null and b/public/images/speakers/company-logo/bazaro.png differ diff --git a/public/images/speakers/company-logo/mofid.png b/public/images/speakers/company-logo/mofid.png new file mode 100644 index 0000000..2a86dba Binary files /dev/null and b/public/images/speakers/company-logo/mofid.png differ diff --git a/public/images/speakers/company-logo/quera.png b/public/images/speakers/company-logo/quera.png new file mode 100644 index 0000000..696976e Binary files /dev/null and b/public/images/speakers/company-logo/quera.png differ diff --git a/public/images/speakers/company-logo/rasmio.png b/public/images/speakers/company-logo/rasmio.png new file mode 100644 index 0000000..3f9f5d2 Binary files /dev/null and b/public/images/speakers/company-logo/rasmio.png differ diff --git a/public/images/speakers/company-logo/tapsell.png b/public/images/speakers/company-logo/tapsell.png new file mode 100644 index 0000000..39942cb Binary files /dev/null and b/public/images/speakers/company-logo/tapsell.png differ diff --git a/public/images/speakers/company-logo/tiny-libs.png b/public/images/speakers/company-logo/tiny-libs.png new file mode 100644 index 0000000..c45f1eb Binary files /dev/null and b/public/images/speakers/company-logo/tiny-libs.png differ diff --git a/public/images/speakers/profile-picture/amirhossein-darabi.jpeg b/public/images/speakers/profile-picture/amirhossein-darabi.jpeg new file mode 100644 index 0000000..ee10ea7 Binary files /dev/null and b/public/images/speakers/profile-picture/amirhossein-darabi.jpeg differ diff --git a/public/images/speakers/profile-picture/erfan-abbasi.jpeg b/public/images/speakers/profile-picture/erfan-abbasi.jpeg new file mode 100644 index 0000000..b18aed9 Binary files /dev/null and b/public/images/speakers/profile-picture/erfan-abbasi.jpeg differ diff --git a/public/images/speakers/profile-picture/masoud-beygi.jpeg b/public/images/speakers/profile-picture/masoud-beygi.jpeg new file mode 100644 index 0000000..541f3cb Binary files /dev/null and b/public/images/speakers/profile-picture/masoud-beygi.jpeg differ diff --git a/public/images/speakers/profile-picture/mohammad-baqer-abiat.jpeg b/public/images/speakers/profile-picture/mohammad-baqer-abiat.jpeg new file mode 100644 index 0000000..bcd7caa Binary files /dev/null and b/public/images/speakers/profile-picture/mohammad-baqer-abiat.jpeg differ diff --git a/public/images/speakers/profile-picture/mojtaba-afraz.jpeg b/public/images/speakers/profile-picture/mojtaba-afraz.jpeg new file mode 100644 index 0000000..eb4faa6 Binary files /dev/null and b/public/images/speakers/profile-picture/mojtaba-afraz.jpeg differ diff --git a/public/images/speakers/profile-picture/sajjad-maneshi.jpeg b/public/images/speakers/profile-picture/sajjad-maneshi.jpeg new file mode 100644 index 0000000..473c332 Binary files /dev/null and b/public/images/speakers/profile-picture/sajjad-maneshi.jpeg differ diff --git a/src/app/components/Sponsers/Sponsers.tsx b/src/app/components/Sponsors/Sponsors.tsx similarity index 65% rename from src/app/components/Sponsers/Sponsers.tsx rename to src/app/components/Sponsors/Sponsors.tsx index 74dd438..f4bc551 100644 --- a/src/app/components/Sponsers/Sponsers.tsx +++ b/src/app/components/Sponsors/Sponsors.tsx @@ -1,8 +1,8 @@ import { Section } from "@/components/ui/section"; -import sponsersData from "@/configs/sponsersData"; +import { SponsorsData } from "@/configs/sponsorsData"; import Image from "next/image"; -export default function Sponsers() { +export default function Sponsors() { return (
@@ -12,18 +12,13 @@ export default function Sponsers() {
- {sponsersData.map((sponser, index) => ( + {SponsorsData.map(({ image, title }, index) => (
- {sponser.title} + {title}
- {sponser.title} + {title}
))}
diff --git a/src/app/components/Sponsers/sponsers.d.ts b/src/app/components/Sponsors/sponsors.d.ts similarity index 52% rename from src/app/components/Sponsers/sponsers.d.ts rename to src/app/components/Sponsors/sponsors.d.ts index aaaff83..0112cd7 100644 --- a/src/app/components/Sponsers/sponsers.d.ts +++ b/src/app/components/Sponsors/sponsors.d.ts @@ -1,4 +1,4 @@ -export type SponsersDataType = { +export type SponsorsDataType = { title: string; image: string; }; diff --git a/src/app/components/speakers/Speaker.tsx b/src/app/components/speakers/Speaker.tsx new file mode 100644 index 0000000..ba86100 --- /dev/null +++ b/src/app/components/speakers/Speaker.tsx @@ -0,0 +1,64 @@ +import type { ISpeakerInfo } from "./Speakers.d"; +import Image from "next/image"; + +const Speaker = ({ speakerInfo }: { speakerInfo: ISpeakerInfo }) => { + const { name, role, company, imageUrl } = speakerInfo; + return ( +
+ {/* speaker picture */} +
+ {/* Gradient */} +
+ {/* Black Background */} +
+ + {name} +
+ {/* info section*/} +
+ {/* speaker name*/} + {name} + {/* speaker role (stack)*/} + + {role} + + {/* speaker company details */} + +
+
+ ); +}; + +export default Speaker; diff --git a/src/app/components/speakers/Speakers.d.ts b/src/app/components/speakers/Speakers.d.ts new file mode 100644 index 0000000..0aa9642 --- /dev/null +++ b/src/app/components/speakers/Speakers.d.ts @@ -0,0 +1,10 @@ +export interface ISpeakerInfo { + imageUrl: string; + role: string; + name: string; + company: { + logo: string; + name: string; + websiteLink: string; + }; +} diff --git a/src/app/components/speakers/Speakers.tsx b/src/app/components/speakers/Speakers.tsx new file mode 100644 index 0000000..123eb32 --- /dev/null +++ b/src/app/components/speakers/Speakers.tsx @@ -0,0 +1,20 @@ +import Speaker from "./Speaker"; +import { speakersData } from "@/configs/speakers"; + +const Speakers = () => { + return ( +
+

سخنرانان همایش

+
+ {speakersData.map((info, idx) => ( + + ))} +
+
+ ); +}; + +export default Speakers; diff --git a/src/app/page.tsx b/src/app/page.tsx index d2f329d..304aca4 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,13 +1,15 @@ -import Sponsers from "./components/Sponsers/Sponsers"; +import Sponsors from "./components/Sponsors/Sponsors"; import FAQ from "@/app/components/FAQ/FAQ"; import TweetSection from "@/app/components/TweetSection/TweetSection"; +import Speakers from "@/app/components/speakers/Speakers"; export default function Home() { return ( <> + - + ); } diff --git a/src/configs/speakers.ts b/src/configs/speakers.ts new file mode 100644 index 0000000..2f66539 --- /dev/null +++ b/src/configs/speakers.ts @@ -0,0 +1,65 @@ +import type { ISpeakerInfo as ISpeakerPerson } from "@/app/components/speakers/Speakers.d"; + +export const speakersData: ISpeakerPerson[] = [ + { + name: "عرفان عباسی", + role: "مدیر فنی", + imageUrl: "/images/speakers/profile-picture/erfan-abbasi.jpeg", + company: { + name: " کارگزاری مفید", + logo: "/images/speakers/company-logo/mofid.png", + websiteLink: "https://www.emofid.com/", + }, + }, + { + name: "مجتبی افراز", + role: "مهندس نرم‌افزار", + imageUrl: "/images/speakers/profile-picture/mojtaba-afraz.jpeg", + company: { + name: "تپسل", + logo: "/images/speakers/company-logo/tapsell.png", + websiteLink: "https://tapsell.com/", + }, + }, + { + name: "امیرحسین دارابی", + role: "منتور و مدرس", + imageUrl: "/images/speakers/profile-picture/amirhossein-darabi.jpeg", + company: { + name: "کوئرا", + logo: "/images/speakers/company-logo/quera.png", + websiteLink: "https://quera.org/", + }, + }, + { + name: "محمد باقر عبیات", + role: "بنیانگذار", + imageUrl: "/images/speakers/profile-picture/mohammad-baqer-abiat.jpeg", + company: { + name: "TinyLibs", + logo: "/images/speakers/company-logo/tiny-libs.png", + websiteLink: "https://tinylibs.github.io/", + }, + }, + { + name: "مسعود بیگی", + role: "CTO", + imageUrl: "/images/speakers/profile-picture/masoud-beygi.jpeg", + company: { + name: "رسمیو", + logo: "/images/speakers/company-logo/rasmio.png", + websiteLink: "https://rasmio.com/", + }, + }, + + { + name: "سجاد منشی", + role: "مهندس نرم‌افزار", + imageUrl: "/images/speakers/profile-picture/sajjad-maneshi.jpeg", + company: { + name: "Bazaro", + logo: "/images/speakers/company-logo/bazaro.png", + websiteLink: "https://www.bazaro.se/", + }, + }, +]; diff --git a/src/configs/sponsersData.ts b/src/configs/sponsorsData.ts similarity index 69% rename from src/configs/sponsersData.ts rename to src/configs/sponsorsData.ts index d5f7d7d..eb9227a 100644 --- a/src/configs/sponsersData.ts +++ b/src/configs/sponsorsData.ts @@ -1,6 +1,6 @@ -import { SponsersDataType } from "@/app/components/Sponsers/sponsers"; +import { SponsorsDataType } from "@/app/components/Sponsors/sponsors"; -export const sponsersData: SponsersDataType[] = [ +export const SponsorsData: SponsorsDataType[] = [ { title: "دیجی کالا", image: "/images/company-logos/digikala.png", @@ -19,4 +19,4 @@ export const sponsersData: SponsersDataType[] = [ }, ]; -export default sponsersData; +export default SponsorsData;