Skip to content

Commit

Permalink
feat(footer): add footer
Browse files Browse the repository at this point in the history
  • Loading branch information
hamidroohi92 committed Sep 13, 2024
1 parent fb7c8ee commit d6b6499
Show file tree
Hide file tree
Showing 11 changed files with 87 additions and 3 deletions.
18 changes: 18 additions & 0 deletions components/footer/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
export default function Footer() {
return (
<div className="flex flex-col items-center py-[30px]">
<div className="my-[30px] flex items-center gap-[20px] sm:my-[40px]">
<a href="https://x.com/ringecosystem" target="_blank">
<img src="/icons/X.svg" alt="X" className="sm:h-[48px] sm:w-[48px]" />
</a>
<a href="https://t.me/ringecosystem" target="_blank">
<img src="/icons/Telegram.svg" alt="Telegram" className="sm:h-[48px] sm:w-[48px]" />
</a>
<a href="https://github.com/ringecosystem" target="_blank">
<img src="/icons/Github.svg" alt="Github" className="sm:h-[48px] sm:w-[48px]" />
</a>
</div>
<p className="text-white text-[16px] font-[300] leading-[19.2px] tracking-[1px]">2024 powered by RingDAO</p>
</div>
);
}
5 changes: 3 additions & 2 deletions components/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import { type ReactNode } from "react";
import { Navbar } from "./nav/navbar";
import Image from "next/image";
import Footer from "./footer";

export const Layout: React.FC<{ children: ReactNode }> = (props) => {
return (
<div className="flex flex-col items-center gap-20 bg-[#000]">
<div className="flex flex-col items-center bg-[#000]">
<div className="flex w-full flex-col items-center">
<Image
src="/images/1920bg1.png"
Expand All @@ -29,7 +30,7 @@ export const Layout: React.FC<{ children: ReactNode }> = (props) => {
</div>
</div>

{/* Footer */}
<Footer />
</div>
);
};
2 changes: 1 addition & 1 deletion components/nav/navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const Navbar: React.FC = () => {

return (
<>
<nav className="h-30 sticky top-0 w-full flex-col gap-2 border-b border-b-neutral-100 p-3 md:px-6 md:pb-0 md:pt-5 lg:gap-3">
<nav className="h-30 top-0 w-full flex-col gap-2 border-b border-b-neutral-100 p-3 md:px-6 md:pb-0 md:pt-5 lg:gap-3">
<div className="flex w-full items-center justify-between">
<Link
href="/"
Expand Down
1 change: 1 addition & 0 deletions plugins/tokenVoting/pages/proposal-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ export default function Proposals() {
hairs: "CURLY",
}}
primaryButton={{
className: "bg-[#afafaf] text-[#000] border-none hover:bg-[#000] hover:text-[#fff] duration-300 ",
label: "Connect your wallet",
onClick: () => open(),
}}
Expand Down
4 changes: 4 additions & 0 deletions public/icons/Github.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions public/icons/Rectangle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions public/icons/Telegram.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions public/icons/X.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
40 changes: 40 additions & 0 deletions public/icons/XAPI.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions public/icons/arrow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions public/icons/hamburger.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d6b6499

Please sign in to comment.