-
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
1 parent
861a155
commit b2472c5
Showing
6 changed files
with
105 additions
and
7 deletions.
There are no files selected for viewing
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
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,55 @@ | ||
import { Highlight } from "@/types/highlight"; | ||
import HighlightCard from "@/components/HighlightCard"; | ||
|
||
const ThirdHighlights = () => { | ||
const highlights: Highlight[] = [ | ||
{ | ||
id: "11", | ||
oldId: 11, | ||
type: "GENERAL", | ||
title: "FÁCEIS E RÁPIDOS", | ||
subtitle: | ||
"Separamos 10 drinques deliciosos e muito fáceis de preparar para você fazer em casa, sem nenhum trabalho. Confira!", | ||
description: "", | ||
}, | ||
{ | ||
id: "1", | ||
oldId: 1, | ||
type: "GENERAL", | ||
title: "HALLOWEEN", | ||
subtitle: | ||
"O Halloween chegou? Então surpreenda seus amigos com este terríveis e assustadores drinques que separamos para esse feriado.", | ||
description: "", | ||
}, | ||
{ | ||
id: "112", | ||
oldId: 112, | ||
type: "GENERAL", | ||
title: "MOJITO", | ||
subtitle: | ||
"O Mojito é um coquetel refrescante conhecido mundialmente. Este clássico é um dos poucos feitos com hortelã fresca, o que o torna único.", | ||
description: "", | ||
customUrl: "/drinques/24", | ||
}, | ||
{ | ||
id: "113", | ||
oldId: 113, | ||
type: "GENERAL", | ||
title: "MANGO DAIQUIRI", | ||
subtitle: | ||
"O Mango Daiquiri é delicioso e muito refrescante, perfeito para os dias quentes.", | ||
description: "", | ||
customUrl: "/drinques/432", | ||
}, | ||
]; | ||
|
||
return ( | ||
<div className="mt-14 grid grid-cols-1 gap-7 md:grid-cols-4"> | ||
{highlights?.map((highlight) => ( | ||
<HighlightCard key={highlight.id} highlight={highlight} /> | ||
))} | ||
</div> | ||
); | ||
}; | ||
|
||
export default ThirdHighlights; |
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 @@ | ||
export { default } from "./ThirdHighlights"; |
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,53 @@ | ||
import { Link } from "react-router-dom"; | ||
import { Button } from "@/components/ui/button"; | ||
import FeaturedHighlights from "@/components/FeaturedHighlights"; | ||
import SecondHighlights from "@/components/SecondHighlights"; | ||
import ThirdHighlights from "@/components/ThirdHighlights"; | ||
|
||
const Home = () => ( | ||
<div className="container"> | ||
<FeaturedHighlights /> | ||
<SecondHighlights /> | ||
</div> | ||
<> | ||
<div className="container"> | ||
<FeaturedHighlights /> | ||
<SecondHighlights /> | ||
</div> | ||
<div className="my-24 w-full bg-gray-100"> | ||
<div className="container grid grid-cols-2 gap-10 py-24"> | ||
<div> | ||
<h1 className="mb-3 font-serif text-3xl font-bold text-gray-900"> | ||
Dicas Gerais | ||
</h1> | ||
<p className="pb-8 pr-0 text-gray-500 md:pr-24"> | ||
Descubra como criar os mixes essenciais para seus drinks favoritos, | ||
aprenda técnicas de decoração simples, como fazer coquetéis em | ||
camadas e muito mais. | ||
</p> | ||
<Link to="/drinques/caipirinhas"> | ||
<Button className="animate-slide-in-from-left"> | ||
Veja mais dicas | ||
</Button> | ||
</Link> | ||
</div> | ||
<div> | ||
<h1 className="mb-3 font-serif text-3xl font-bold text-gray-900"> | ||
Tudo sobre bar | ||
</h1> | ||
<p className="pb-8 pr-0 text-gray-500 md:pr-9"> | ||
Explore a classificação dos coquetéis, descubra as principais | ||
medidas utilizadas, conheça os diferentes tipos de copos e desvende | ||
outros segredos essenciais da mixologia. | ||
</p> | ||
<Link to="/drinques/caipirinhas"> | ||
<Button className="animate-slide-in-from-left"> | ||
Veja mais detalhes | ||
</Button> | ||
</Link> | ||
</div> | ||
</div> | ||
</div> | ||
<div className="container"> | ||
<ThirdHighlights /> | ||
</div> | ||
</> | ||
); | ||
|
||
export default Home; |