Skip to content

Commit 7065704

Browse files
authored
Merge pull request #24 from echo-consulting/Githan/projects
fikset hover effekten på projekt-siden
2 parents 6aacac1 + e2fbc0f commit 7065704

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎app/routes/projectOverview.tsx‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ export default function ProjectOverview() {
2323
{projectData.map((project) => (
2424
<div
2525
key={project.slug}
26-
className="p-4 max-w-xl w-full rounded-lg overflow-hidden transition-all duration-300 text-center mx-auto group"
26+
className="p-4 max-w-xl w-full rounded-lg overflow-hidden transition-all duration-300 text-center mx-auto"
2727
>
2828
{/* Bilde med overlay */}
2929
<div
30-
className="mb-1 mx-auto h-52 rounded-t-xl relative"
30+
className="mb-1 mx-auto h-52 rounded-t-xl relative group overflow-hidden"
3131
style={{
3232
background: `url(${project.large_img}) no-repeat center center`,
3333
backgroundSize: "cover",
@@ -49,7 +49,7 @@ export default function ProjectOverview() {
4949
{/* Info og link */}
5050
<Link
5151
to={`${project.slug}`}
52-
className="bg-[#011627] rounded-b-xl py-6 px-6 text-center block"
52+
className="bg-[#011627] rounded-b-xl py-6 px-6 text-center block group"
5353
style={{ textDecoration: "none" }}
5454
>
5555
<div>

0 commit comments

Comments
 (0)