Skip to content

Commit

Permalink
Merge pull request #10 from gdgsrilanka/updated-footer
Browse files Browse the repository at this point in the history
Updated Footer
  • Loading branch information
chamodshehanka authored Nov 16, 2023
2 parents 884ace9 + 7e32151 commit d7947a7
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VITE_CORE_BE_URL=https://api.staging.bashaway.sliitfoss.org
VITE_CORE_BE_URL=
VITE_FIREBASE_CONFIG=
VITE_AZURE_UPLOAD_SAS_TOKEN=
VITE_AZURE_DOWNLOAD_SAS_TOKEN=
Expand Down
Binary file added public/assets/images/gdglk-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 13 additions & 10 deletions src/components/layout/footer.jsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
import { AiFillFacebook, AiFillInstagram, AiFillLinkedin, AiFillYoutube, AiOutlineTwitter } from "react-icons/ai";
import { twMerge } from "tailwind-merge";
import { facebook, gdgPageLink, instagram, linkedIn, repositoryLink, twitter, youTube } from "@/constants";
import { Bashaway, FOSS } from "@sliit-foss/bashaway-ui/icons";
import { cocLink, facebook, gdgPageLink, instagram, linkedIn, twitter, youTube } from "@/constants";

const usefulLinks = [
{
name: "Visit Us",
url: gdgPageLink
},
{
name: "Source Code",
url: repositoryLink
name: "Code of Conduct",
url: cocLink
}
];

Expand All @@ -26,11 +25,16 @@ const Footer = ({ className }) => {
>
<div className="w-full max-w-body mx-0 flex flex-col-reverse md:flex-row items-center sm:items-start justify-between pt-16 pb-24 px-8 lg:px-24">
<div className="flex flex-col items-center md:items-start gap-y-5 col-start-1">
<FOSS />
<p className="md:w-[320px] px-2 sm:px-0 text-sm text-center md:text-left text-gray-500 opacity-80 font-consolas">
Welcome to the SLIIT FOSS Community. We&apos;re a group of volunteers who believe in the usage of Free and
Open Source Software (FOSS)
</p>
<div>
<p className="text-4xl font-semibold tracking-tight">
techevents.<span className="font-light text-gray-300">lk</span>
</p>
<p className="md:w-[320px] mt-2 px-2 sm:px-0 text-sm text-center md:text-left text-gray-500 opacity-80 font-consolas">
Powered By
</p>
<img src="/assets/images/gdglk-logo.png" alt="GDGLK Logo" className="mt-1 w-40" />
</div>

<div className="font-semibold text-[20px] font-cabinet">CONNECT WITH US</div>
<div className="flex space-x-3 flex-shrink-0 -ml-0.5">
<a href={facebook} target="_blank" className="icon-hover" rel="noreferrer" aria-label="Facebook">
Expand All @@ -51,7 +55,6 @@ const Footer = ({ className }) => {
</div>
</div>
<div className="flex flex-col items-center md:items-end -translate-y-1.5 mb-5 gap-8 md:gap-10">
<Bashaway />
<div className="flex flex-col items-center md:items-end gap-3">
{usefulLinks.map((link, index) => {
return (
Expand Down
4 changes: 2 additions & 2 deletions src/constants/hyperlinks.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
export const githubOrgLink = "https://github.com/gdgsrilanka";
export const repositoryLink = "https://github.com/gdgsrilanka/techevents-portal";
export const scorekeeperRepositoryLink = "https://github.com/gdgsrilanka/scorekeeper";
export const gdgPageLink = "https://gdg.community.dev/gdg-sri-lanka";
export const cocLink = "https://devfest.gdgsrilanka.org/coc";
export const cocLink = "https://developers.google.com/events/gdd-europe/code-of-conduct";
export const visitUsLink = "https://gdgsrilanka.org";

export let leaderboardURL = "https://leaderboard.techevents.gdgsrilanka.org";

Expand Down

0 comments on commit d7947a7

Please sign in to comment.