Skip to content

Commit

Permalink
update styling & copywriting (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
depapp authored Oct 9, 2023
1 parent 6823d5c commit 3d8bb0a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ export default function App() {
});
}, []);
const filterOptions = [
{ name: "Filter by Followers", value: "followers" },
{ name: "Filter by Contributors", value: "contributions" },
{ name: "Sort by Followers", value: "followers" },
{ name: "Sort by Contributors", value: "contributions" },
];

const [sortBy, setSortBy] = useState(filterOptions[0].value);
Expand Down
5 changes: 2 additions & 3 deletions src/components/Header.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Analytics } from "@vercel/analytics/react";
import { Tooltip } from "primereact/tooltip";
import { FilterMatchMode } from "primereact/api";

export const Header = ({ data, lastUpdated }) => {
const formatLastUpdated = () => {
Expand Down Expand Up @@ -37,7 +36,7 @@ export const Header = ({ data, lastUpdated }) => {
};

return (
<div className="header-content">
<div className="header-content" leading-3>
<Analytics />
<Tooltip target=".custom-target-icon" />
<h1>IndoGitHubers</h1>
Expand All @@ -55,7 +54,7 @@ export const Header = ({ data, lastUpdated }) => {
<i
className="custom-target-icon pi pi-info-circle"
style={{ fontSize: "1rem" }}
data-pr-tooltip={`this data is not updated in real time. the data will be updated every 2 days.`}
data-pr-tooltip={`this data is not updated in real time. the data will be updated daily.`}
data-pr-position="right"
></i>
</h3>
Expand Down
1 change: 1 addition & 0 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ body {
flex-direction: column;
align-items: center;
justify-content: center;
line-height: 1em;
}

0 comments on commit 3d8bb0a

Please sign in to comment.