Skip to content

Commit

Permalink
Merge pull request #307 from rohaizanr:update-public-web
Browse files Browse the repository at this point in the history
Remove copyright footer
  • Loading branch information
rohaizanr authored Nov 30, 2024
2 parents 9a27d66 + c875731 commit 58f0692
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 64 deletions.
2 changes: 0 additions & 2 deletions public-web/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import './scss/style.scss'

import Navbar from "./components/Navbar";
import Footer from "./components/Footer";
import Copyright from './components/Copyright';

const loading = (
<div className="pt-3 text-center">
Expand All @@ -30,7 +29,6 @@ class App extends Component {
</Routes>

<Footer />
<Copyright />

</Suspense>
</HashRouter>
Expand Down
28 changes: 0 additions & 28 deletions public-web/src/components/Copyright.jsx

This file was deleted.

62 changes: 28 additions & 34 deletions public-web/src/components/Footer.jsx
Original file line number Diff line number Diff line change
@@ -1,53 +1,47 @@
import { logo_2 } from "../assets/home";
import Container from "./Container";
import { config } from "../Config";

export default function Footer() {
return (
<footer className="bg-[#212121] py-14 text-white">
<Container>
<div className="grid place-items-center sm:text-left text-center lg:grid-cols-4 md:grid-cols-3 sm:grid-cols-2 grid-cols-1">
<div className="grid place-items-center sm:text-left text-center lg:grid-cols-3 md:grid-cols-3 sm:grid-cols-2 grid-cols-1">
<img src={logo_2} alt="E-Masjid.My" className="w-65 h-14" />
<div className="sm:mt-0 mt-14">
<h1 className="font-bold capitalize sm:pt-0 pt-8 pb-4">Tentang Masjid</h1>
<ul>
<li>
<a href="/">Senarai Ahli AJK</a>
</li>
<li>
<a href="/">Hubungi Kami</a>
</li>
<li>
<a href="/">Download Borang</a>
</li>
</ul>
</div>

<div>
<h1 className="font-bold capitalize sm:pt-0 pt-8 pb-4">Aktiviti</h1>
<h1 className="font-bold capitalize sm:pt-0 pt-8 pb-4">
Tentang kami
</h1>
<ul>
<li>
<a href="/">Nuzul Al-Quran</a>
</li>
<li>
<a href="/">Maulidurrasul</a>
<a
href="https://cdn.e-masjid.my/volume/DASAR.PRIVASI.pdf"
target="_blank"
rel="noreferrer"
>
Dasar Privasi
</a>
</li>
<li>
<a href="/">Ramadhan</a>
<a
href=" https://cdn.e-masjid.my/volume/TERMA.PERKHIDMATAN.pdf"
target="_blank"
rel="noreferrer"
>
Terma Perkhidmatan
</a>
</li>
</ul>
</div>
<div>
<h1 className="font-bold capitalize sm:pt-0 pt-8 pb-4">Sosmed</h1>
<ul>
<li>
<a href="/">Tiktok</a>
</li>
<li>
<a href="/">Twitter</a>
</li>
<li>
<a href="/">Facebook</a>
</li>
</ul>

<div className="container">
<br />
<span>Powered by </span>
<a href="https://e-masjid.my" target="_blank" rel="noreferrer">
E-Masjid.my
</a>{" "}
&copy; 2023-2024 ({config.version.BUILD})
</div>
</div>
</Container>
Expand Down

0 comments on commit 58f0692

Please sign in to comment.