Skip to content

Commit

Permalink
feat: added footer
Browse files Browse the repository at this point in the history
  • Loading branch information
vwh committed Aug 28, 2024
1 parent 47580de commit c073031
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import ResultSection from "./components/result-section";
export default function App() {
return (
<main className="container mx-auto h-screen p-4">
<div className="flex h-full flex-col gap-4">
<div className="flex h-full flex-col gap-4 pb-7">
<ResourcesSection />
<ResultSection />
</div>
Expand Down
19 changes: 19 additions & 0 deletions src/components/footer.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
export default function Footer() {
return (
<footer className="fixed bottom-0 z-50 w-full border-t bg-background">
<ul className="flex items-center justify-center px-5 py-1">
<li>
<a
target="_blank"
href="https://github.com/vwh/proxy-crawl"
className="hover:underline"
>
<strong className="text-sm text-primary">
Start us <span className="animate-pulse">⭐️</span> on GitHub
</strong>
</a>
</li>
</ul>
</footer>
);
}
2 changes: 2 additions & 0 deletions src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ import React from "react";
import ReactDOM from "react-dom/client";

import App from "./App.tsx";
import Footer from "./components/footer.tsx";

ReactDOM.createRoot(document.getElementById("root")!).render(
<React.StrictMode>
<App />
<Footer />
</React.StrictMode>
);

0 comments on commit c073031

Please sign in to comment.