-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
93 additions
and
2 deletions.
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
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,33 @@ | ||
import { Section } from "@/components/ui/section"; | ||
import sponsersData from "@/configs/sponsersData"; | ||
import Image from "next/image"; | ||
|
||
export default function Sponsers() { | ||
return ( | ||
<Section> | ||
<div className="mx-auto flex max-w-container flex-col items-center gap-14 text-center"> | ||
<div className="flex flex-col items-center gap-6"> | ||
<h2 className="text-md font-semibold sm:text-xl"> | ||
حامیان همایش فرانت چپتر | ||
</h2> | ||
</div> | ||
<div className="flex flex-wrap items-center justify-center gap-8"> | ||
{sponsersData.map((sponser, index) => ( | ||
<div className="flex items-center gap-2" key={index}> | ||
<div className="border-2 border-gray-800 p-1"> | ||
<Image | ||
src={sponser.image} | ||
width={21} | ||
height={21} | ||
alt={sponser.title} | ||
/> | ||
</div> | ||
|
||
<span className="font-bold">{sponser.title}</span> | ||
</div> | ||
))} | ||
</div> | ||
</div> | ||
</Section> | ||
); | ||
} |
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,4 @@ | ||
export type SponsersDataType = { | ||
title: string; | ||
image: string; | ||
}; |
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 |
---|---|---|
@@ -1,11 +1,13 @@ | ||
import Speakers from "@/app/components/speakers/Speakers"; | ||
import Sponsers from "./components/Sponsers/Sponsers"; | ||
import FAQ from "@/app/components/FAQ/FAQ"; | ||
|
||
export default function Home() { | ||
return ( | ||
<> | ||
<Speakers /> | ||
<FAQ /> | ||
<Sponsers /> | ||
</> | ||
); | ||
} |
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,22 @@ | ||
import { SponsersDataType } from "@/app/components/Sponsers/sponsers"; | ||
|
||
export const sponsersData: SponsersDataType[] = [ | ||
{ | ||
title: "دیجی کالا", | ||
image: "/images/company-logos/digikala.png", | ||
}, | ||
{ | ||
title: "shab.ir", | ||
image: "/images/company-logos/shabir.png", | ||
}, | ||
{ | ||
title: "دیجی کالا", | ||
image: "/images/company-logos/digikala.png", | ||
}, | ||
{ | ||
title: "pachim.sh", | ||
image: "/images/company-logos/pachimsh.png", | ||
}, | ||
]; | ||
|
||
export default sponsersData; |