Skip to content

Commit

Permalink
Merge branch 'main' into single-event-page
Browse files Browse the repository at this point in the history
  • Loading branch information
Ase020 authored Apr 11, 2024
2 parents 3c7f328 + 24d08ed commit 65bc9c6
Show file tree
Hide file tree
Showing 56 changed files with 822 additions and 750 deletions.
3 changes: 2 additions & 1 deletion src/APP/components/Caroussel.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { faBriefcase } from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import PropTypes from "prop-types";
import { useRef } from "react";
import { LazyLoadImage } from "react-lazy-load-image-component";
import {
arrowCircleLeft,
arrowCircleRight,
Expand Down Expand Up @@ -33,7 +34,7 @@ function Caroussel({ CarousselData }) {
key={crypto.randomUUID()}
className="border bg-white p-2 max-w-[400px] rounded-2xl md:rounded-[20px]"
>
<img
<LazyLoadImage
className="rounded-t-2xl h-4/6 w-[400px] object-cover"
src={image}
alt={name}
Expand Down
34 changes: 28 additions & 6 deletions src/APP/components/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import {
twitter,
} from "../../assets/images/socials";
import logo from "../../assets/images/sytLogo.png";
import { LazyLoadImage } from "react-lazy-load-image-component";

function Footer() {
var now = new Date();
Expand All @@ -15,27 +16,48 @@ function Footer() {
<div className="md:flex md:justify-between">
{/* logo and socials */}
<div className="mb-8 md:mb-0 mr-6 flex flex-col justify-start items-center md:w-1/4 w-1/2">
<img
<LazyLoadImage
effect="blur"
src={logo}
className="h-24 md:mx-8 mx-0 object-contain"
alt="FlowBite Logo"
className="h-24 md:mx-8 mx-0 object-contain"
/>
{/* social logos */}
<div className="flex flex-row items-center md:justify-between gap-4 justify-start my-4">
<a href="/">
<img src={facebook} alt="facebook" className="w-7 h-7" />
<LazyLoadImage
effect="blur"
src={facebook}
alt="facebook"
className="w-7 h-7"
/>
</a>

<a href="/">
<img src={instagram} alt="instagram" className="w-7 h-7" />
<LazyLoadImage
effect="blur"
src={instagram}
alt="instagram"
className="w-7 h-7"
/>
</a>

<a href="/">
<img src={twitter} alt="twitter" className="w-7 h-7" />
<LazyLoadImage
effect="blur"
src={twitter}
alt="twitter"
className="w-7 h-7"
/>
</a>

<a href="/">
<img src={linkedin} alt="linkedIn" className="w-7 h-7" />
<LazyLoadImage
effect="blur"
src={linkedin}
alt="linkedIn"
className="w-7 h-7"
/>
</a>
</div>
</div>
Expand Down
Loading

0 comments on commit 65bc9c6

Please sign in to comment.