Skip to content

Commit

Permalink
chore: update footer design
Browse files Browse the repository at this point in the history
  • Loading branch information
hyamero committed Dec 18, 2023
1 parent 9ba64ac commit f8db256
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 37 deletions.
35 changes: 22 additions & 13 deletions src/components/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,28 +1,37 @@
export default function Footer() {
return (
<footer className="absolute bottom-0 z-50 flex justify-center w-full pb-3">
<p className="bg-white rounded-full py-2 px-5 text-sm shadow-lg font-google-reg">
Powered by
<footer className="absolute bottom-0 z-50 flex -translate-x-1/2 left-1/2">
<div className="text-center bg-white/70 border border-white rounded-xl py-4 px-6">
<p className="text-sm font-google-reg">
Powered by{" "}
<a
href="https://omsimos.com"
target="_blank"
rel="noopener noreferrer"
className="font-bold"
>
OMSIMOS.COM
</a>
</p>
<a
href="https://omsimos.com"
href="https://github.com/hyamero"
className="text-blue-600"
target="_blank"
rel="noopener noreferrer"
className="font-bold"
>
{" "}
OMSIMOS
@hyamero{" "}
</a>
© Creatives 2023 —{" "}
<a
href="https://omsimos.com"
href="https://github.com/joshxfi"
className="text-blue-600"
target="_blank"
rel="noopener noreferrer"
className="font-bold"
>
OMSIMOS
{" "}
@joshxfi
</a>
.COM
</p>
</div>
</footer>
);
}
2 changes: 1 addition & 1 deletion src/emails/Email.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const CertificateEmail = ({ id, firstName, lastName }: Props) => {
pX={20}
pY={12}
className="bg-blue-600 rounded text-white text-[12px] font-semibold no-underline text-center"
href={`https://solcha-intro.omsimos.com/cert/${id}`}
href={`https://solcha23.omsimos.com/cert/${id}`}
>
Claim Certificate
</Button>
Expand Down
23 changes: 0 additions & 23 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,29 +107,6 @@ export default function Home() {
</Button>
</form>
</div>
<div className="text-center absolute bottom-7 left-0 right-0">
<p className="text-center text-base bg-white/70 border border-white rounded-xl p-4 inline-block">
Follow us on GitHub! <br />
<a
href="https://github.com/hyamero"
className="text-blue-600"
target="_blank"
rel="noopener noreferrer"
>
@hyamero{" "}
</a>
<a
href="https://github.com/joshxfi"
className="text-blue-600"
target="_blank"
rel="noopener noreferrer"
>
{" "}
@joshxfi
</a>
</p>
</div>
</div>
</section>
);
Expand Down

0 comments on commit f8db256

Please sign in to comment.