Skip to content

Commit

Permalink
custom maison
Browse files Browse the repository at this point in the history
  • Loading branch information
JaunePomme committed Sep 27, 2024
1 parent b0679c2 commit 7997501
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 11 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
Récap des modifs apportées pour faire tourner le bousin et déployer :
-ajout du .env et de la valeur du projetId: Faut la récupérer sur leur lien walletconnect cloud là, tu crées un projet, appkit/NextJs, ok, et après en bas du dashboard tu cliques sur un truc et tu verras y te montre un exemple du fichier avec ton projetID dedans, récupère et mets le dans ton .env
-Commenter la lib de jmrossy là pour accéder au jazzicon. Si besoin cloner le repo et c/c le code dans ce repo directement.. mais flm j'ai juste commenté. ça marche en local mais en déploiement l'accès au repo machait pas via ssh. J'ai mis en place ma clé ssh sur vercel pck vercel doit pull ce repo mais ça bugguait fort donc j'ai fini par le commenter ce truc inutile (c'est juste une icone ptain)
-Commenter le backpackwallet, jsais pas la lib marchait pas, j'ai pas marché j'ai commenté
-npm install -g yarn parceque je l'avais pas et lancer du coup un yarn install une fois fait.
-Peut-être dans le package-lock.json y'a du jmrossy machin icon qui traine, bien le supprimer.
-Au niveau du linter, y'a un souci du status===status.failed, juste remplacer par la constante isFailed.
-npm run dev, yarn install, yarn lint, si ces 3 marchent, ça devrait être bon, go déployer sur vercel gratos, faut un compte github évidemment.

# Hyperlane Warp Route UI Template

This repo contains an example web interface for interchain tokens built with [Hyperlane Warp Route](https://docs.hyperlane.xyz/docs/reference/applications/warp-routes). Warp is a framework to permisionlessly bridge tokens to any chain.
Expand Down
2 changes: 1 addition & 1 deletion src/components/nav/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function FooterLogo() {
</div>
<div className="text-lg sm:text-xl font-medium ml-6 space-y-1">
<div>Go interchain</div>
<div>with Hyperlane</div>
<div>with JaunesPommes Airline</div>
</div>
</div>
);
Expand Down
13 changes: 9 additions & 4 deletions src/components/nav/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,22 @@ import Image from 'next/image';
import Link from 'next/link';

import { WalletControlBar } from '../../features/wallet/WalletControlBar';
import Logo from '../../images/logos/app-logo.svg';
import Name from '../../images/logos/app-name.svg';
import Title from '../../images/logos/app-title.svg';
import MaPfp from '../../images/logos/monlogo.jpg';

export function Header() {
return (
<header className="px-2 sm:px-6 lg:px-12 pt-3 pb-2 w-full">
<div className="flex items-start justify-between">
<Link href="/" className="py-2 flex items-center">
<Image src={Logo} width={24} alt="" />
<Image src={Name} width={130} alt="" className="hidden sm:block mt-0.5 ml-2" />
<Image
src={MaPfp}
width={240}
height={250}
alt=""
style={{ borderRadius: 50, objectFit: 'cover' }}
/>
{/* <Image src={Name} width={130} alt="" className="hidden sm:block mt-0.5 ml-2" /> */}
<Image src={Title} width={210} alt="" className="mt-0.5 ml-2 pb-px" />
</Link>
<div className="flex flex-col items-end md:flex-row-reverse md:items-start gap-2">
Expand Down
5 changes: 2 additions & 3 deletions src/components/tip/TipCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,10 @@ export function TipCard() {
if (!show) return null;
return (
<Card className="w-100 sm:w-[31rem] p-2">
<h2 className="text-primary-500">Bridge Tokens with Hyperlane Warp Routes!</h2>
<h2 className="text-primary-500">Bridge Tokens with JaunesPommes Airline Warp Routes!</h2>
<div className="flex items-end justify-between">
<p className="mt-1 text-xs max-w-[75%]">
Warp Routes make it easy to permissionlessly take your tokens interchain. Fork this
template to get started!
Attachez vos ceintures, nous entrons dans une zone de turbulence !
</p>
<a
href={links.github}
Expand Down
2 changes: 1 addition & 1 deletion src/consts/links.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ export const links = {
docs: 'https://docs.hyperlane.xyz',
gasDocs: 'https://docs.hyperlane.xyz/docs/reference/hooks/interchain-gas',
chains: 'https://docs.hyperlane.xyz/docs/resources/domains',
twitter: 'https://twitter.com/hyperlane',
twitter: 'https://twitter.com/JaunesPommes',
blog: 'https://medium.com/hyperlane',
};
2 changes: 1 addition & 1 deletion src/features/transfer/TransferTokenForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ function ButtonSection({
return (
<ConnectAwareSubmitButton
chainName={values.origin}
text={isValidating ? 'Validating...' : 'Continue'}
text={isValidating ? 'Validating...' : 'Décollage'}
classes="mt-4 px-3 py-1.5"
/>
);
Expand Down
Binary file added src/images/logos/monlogo.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion src/styles/Color.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ export const Color = {
white: themeColors.white,
gray: themeColors.gray[500],
lightGray: themeColors.gray[200],
primary: themeColors.primary[500],
// primary: themeColors.primary[500],
primary: '#F5DEB3',
accent: themeColors.accent[500],
red: themeColors.red[500],
} as const;

0 comments on commit 7997501

Please sign in to comment.