Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fredkiss3/fe 107 new homepage #409

Open
wants to merge 60 commits into
base: canary
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
d6da737
♻️ modify the data structure for integration chains
fredk3 Feb 27, 2024
fbb0f98
🐛 fix bug with refactored code
fredk3 Feb 27, 2024
2b290c0
🏷️ fix type imports
fredk3 Feb 27, 2024
14d8b1a
🤡 complete links information for each brand
fredk3 Feb 27, 2024
fdd9dba
🎨 format `settings.json`
fredk3 Feb 27, 2024
33d701f
✨ OG favicon images
fredk3 Feb 27, 2024
f3db0a7
🔊 some log
fredk3 Feb 27, 2024
c3cf7bb
🔊 more logs
fredk3 Feb 27, 2024
b011227
🔊 log error output
fredk3 Feb 27, 2024
06ce6d3
🔊 more logs
fredk3 Feb 27, 2024
18f0e34
🐛 use correct baseURL
fredk3 Feb 27, 2024
991e6e6
⚗️ throw error on bad request
fredk3 Feb 27, 2024
fc36d53
♻️ Use the production URL on vercel production env
fredk3 Feb 27, 2024
1d5469e
♻️ use branded favicons in transaction page
fredk3 Feb 27, 2024
5dcdc40
🚚 move header to entity-header
fredk3 Feb 27, 2024
a7d56e4
🚧 New Header
fredk3 Feb 28, 2024
7a11bd0
🍱 add new icons
fredk3 Feb 28, 2024
46ead98
💄 token-prices component added
fredk3 Feb 28, 2024
6c59edd
💄 full layout finished
fredk3 Feb 28, 2024
b621092
🔥 remove logo for now
fredk3 Feb 28, 2024
1ab9fb2
♻️ use Geist instead of Inter Display for the font
fredk3 Feb 28, 2024
5fef4dd
🚧 Home page
fredk3 Feb 28, 2024
fe84d3d
🚧 hero
fredk3 Feb 28, 2024
581a87a
Revert "🔥 remove logo for now"
fredk3 Feb 28, 2024
3ec0624
🚧 Hero section
fredk3 Feb 28, 2024
87f101d
💄 update sections in network page
fredk3 Feb 28, 2024
275553c
🚧 some changes
fredk3 Feb 28, 2024
876c603
🍱 social media logos
fredk3 Feb 28, 2024
3108973
💄 add links
fredk3 Feb 29, 2024
af90de2
💄 badges on the hero section
fredk3 Feb 29, 2024
94324a8
💄 home widgets should take 100% of the width available
fredk3 Feb 29, 2024
72ebdf9
💄 add box shadow on IBC cards
fredk3 Feb 29, 2024
13f4139
💄 header svg logos
fredk3 Feb 29, 2024
f9ebfe3
♻️ allow pressing the uppercase values
fredk3 Feb 29, 2024
c823293
🐛 fix image not showing on homepage for relations
fredk3 Feb 29, 2024
677ed46
💄 better position the eclipse logo + dymension logo
fredk3 Feb 29, 2024
226fd26
💄 use PNGs for the big logs in hero
fredk3 Feb 29, 2024
4768c78
💄 featured chains on celestia homepage
fredk3 Mar 1, 2024
fff5643
💄 finished featured chains
fredk3 Mar 1, 2024
7394041
🚧 rollapps data
fredk3 Mar 1, 2024
a7c2f5f
💄 make the padding better in desktop
fredk3 Mar 1, 2024
7b2c288
💄 add link on the header
fredk3 Mar 1, 2024
73dc573
💄 little fix
fredk3 Mar 1, 2024
80fc389
💄 flex-wrap on the page title
fredk3 Mar 1, 2024
e32d962
💡 remove TODOs
fredk3 Mar 1, 2024
9ecb4f7
Merge branch 'canary' into fredkiss3/fe-107-new-homepage
fredk3 Mar 4, 2024
c1d0180
✨ Rollapps homepage
fredk3 Mar 5, 2024
0fdce1f
🍱 update logo to be more centered
fredk3 Mar 5, 2024
e4b8a77
Merge branch 'canary' into fredkiss3/fe-107-new-homepage
fredk3 Mar 5, 2024
9260ea8
🏷️ use `layer` instead of `type`
fredk3 Mar 5, 2024
2e97641
🐛 replace import
fredk3 Mar 5, 2024
b30b0a8
♻️ make `useHotkey` independent of the args passed to it
fredk3 Mar 5, 2024
9a13e80
Merge branch 'canary' into fredkiss3/fe-107-new-homepage
fredk3 Mar 7, 2024
cb0750c
💄 don't display lines when no links
fredk3 Mar 7, 2024
224ea54
🍱 add heart icon
fredk3 Mar 8, 2024
bacf422
💄 first shot at animating the logo
fredk3 Mar 8, 2024
e09593b
🍱 add fancy shields icons
fredk3 Mar 8, 2024
404b986
🔧 prefer non-relative imports for TS
fredk3 Mar 8, 2024
f3bdaa8
💄 implement network status on the header
fredk3 Mar 8, 2024
656fc6e
💄 Use dymension branding for its rollapps
fredk3 Mar 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,9 @@
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.defaultFormatter": "esbenp.prettier-vscode"
"editor.defaultFormatter": "esbenp.prettier-vscode",
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"typescript.preferences.importModuleSpecifier": "non-relative",
}
16 changes: 15 additions & 1 deletion apps/web/app/(entity)/[network]/[...path]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,24 @@ export async function generateMetadata({
const query = params.path[1];
return {
title: `Searching for ${query}`,
icons: [
{
rel: "icon",
url: `/api/og?model=favicon&networkSlug=${network.slug}`,
},
],
};
}

return getMetadata(params, network);
return {
...getMetadata(params, network),
icons: [
{
rel: "icon",
url: `/api/og?model=favicon&networkSlug=${network.slug}`,
},
],
};
}

export default function EntityPage({
Expand Down
4 changes: 2 additions & 2 deletions apps/web/app/(entity)/[network]/error.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ import { ErrorBox } from "~/ui/error/box";
import { Footer } from "~/ui/footer";
import { HomeBg } from "~/ui/home-bg";
import { HomeBgMobile } from "~/ui/home-bg/mobile";
import { useSearchOptionsContext } from "~/ui/search-options-context";
import { useGroupedNetworksContext } from "~/ui/grouped-networks-context";

export default function Error() {
const params = useParams();
const optionGroups = useSearchOptionsContext();
const optionGroups = useGroupedNetworksContext();
const network = React.useMemo(() => {
const values = optionGroups.flat();
return (
Expand Down
4 changes: 2 additions & 2 deletions apps/web/app/(entity)/[network]/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// components
import { Header } from "~/ui/header";
import { EntityHeader } from "~/ui/entity-header";
import { HideBodyOverflow } from "~/ui/hide-body-overflow";

// utils
Expand Down Expand Up @@ -30,7 +30,7 @@ export default async function BlockLayout({
>
<HideBodyOverflow />

<Header networkSlug={params.network} />
<EntityHeader networkSlug={params.network} />

<div className="grid lg:grid-cols-6">
<div
Expand Down
Loading
Loading