-
Notifications
You must be signed in to change notification settings - Fork 21
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
Fix: Feedback Landing page #104
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
e634110
Fix: Feedback Landing page
Benjtalkshow d14bc34
Fix: Feedback Landing page
Benjtalkshow dde4731
fix: fix header image to display
Benjtalkshow b1f26d1
Merge branch 'testnet' of https://github.com/Benjtalkshow/starknet.id…
Benjtalkshow 0c45920
fix: partners logo not loading
Benjtalkshow 14aa31a
removed previous banner image
Benjtalkshow d06e097
remove unused import
Marchand-Nicolas File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
import { useEffect, type RefObject } from "react"; | ||
|
||
|
||
const useLottie = (containerRef: RefObject<HTMLElement>, animationPath: string, loop : boolean = true) => { | ||
useEffect(() => { | ||
let anim: any | ||
|
||
const loadAnimation = async () => { | ||
const lottie = (await import("lottie-web")).default | ||
if (containerRef.current) { | ||
anim = lottie.loadAnimation({ | ||
container: containerRef.current, | ||
renderer: "svg", | ||
loop: loop, | ||
autoplay: true, | ||
path: animationPath, | ||
}) | ||
} | ||
} | ||
|
||
loadAnimation() | ||
|
||
return () => { | ||
if (anim) { | ||
anim.destroy() | ||
} | ||
} | ||
}, [containerRef, animationPath]) | ||
} | ||
|
||
export default useLottie | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"v":"5.6.6","fr":60,"ip":0,"op":280,"w":1080,"h":1920,"nm":"aMain_FallingLeaf","ddd":1,"assets":[],"layers":[{"ddd":1,"ind":2,"ty":3,"nm":"Null 9","sr":1,"ks":{"o":{"a":0,"k":0,"ix":11},"rx":{"a":0,"k":0,"ix":8},"ry":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":0,"s":[0]},{"t":260,"s":[-1796]}],"ix":9},"rz":{"a":0,"k":0,"ix":10},"or":{"a":0,"k":[0,0,0],"ix":7},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[540,144,0],"to":[0,61.911,0],"ti":[0,-121.765,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":40,"s":[600,427.085,0],"to":[0,85.203,0],"ti":[3.094,-101.909,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":80,"s":[475.026,710.347,0],"to":[-2.767,91.131,0],"ti":[-2.937,-96.633,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":120,"s":[675.897,993.848,0],"to":[2.903,95.529,0],"ti":[10.863,-93.697,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":160,"s":[581.943,1279.479,0],"to":[-8.399,72.442,0],"ti":[5.451,-67.549,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":190,"s":[693.316,1490.294,0],"to":[-6.214,76.995,0],"ti":[24.76,-66.033,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":220,"s":[729.116,1706.062,0],"to":[-44.779,119.419,0],"ti":[0,-61.037,0]},{"t":260,"s":[540,1984,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ip":0,"op":280,"st":0,"bm":0},{"ddd":1,"ind":3,"ty":4,"nm":"Tree - Group 18","parent":2,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"rx":{"a":0,"k":-37,"ix":8},"ry":{"a":0,"k":-21,"ix":9},"rz":{"a":0,"k":-43,"ix":10},"or":{"a":0,"k":[0,0,0],"ix":7},"p":{"a":0,"k":[-56.736,4.939,0],"ix":2},"a":{"a":0,"k":[-171.736,-3915.062,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":1,"shapes":[{"ty":"gr","it":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[70.716,-31.031],[0,0]],"o":[[0,0],[0,0]],"v":[[-188.103,-3876.906],[-158.34,-3953.217]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.349019616842,0.647058844566,0.270588248968,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-31.031,-70.716],[0,0]],"o":[[0,0],[0,0]],"v":[[-188.103,-3876.906],[-158.34,-3953.217]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0.486274510622,0.247058823705,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 2","np":2,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 17","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":280,"st":0,"bm":0},{"ddd":1,"ind":4,"ty":4,"nm":"Tree - Group 17","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"rx":{"a":0,"k":0,"ix":8},"ry":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":0,"s":[0]},{"t":279,"s":[1420]}],"ix":9},"rz":{"a":0,"k":0,"ix":10},"or":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":120,"s":[0,0,0],"to":[0,0,0],"ti":[188,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":121,"s":[185,188,0],"to":[0,0,0],"ti":[188,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":159,"s":[185,188,0],"to":[0,0,0],"ti":[32,0,0]},{"t":160,"s":[13,32,0]}],"ix":7},"p":{"a":1,"k":[{"i":{"x":0.427,"y":0.597},"o":{"x":0.476,"y":0.807},"t":0,"s":[525.264,-95.061,0],"to":[-1.066,48.256,0],"ti":[-1.122,-155.608,0]},{"i":{"x":0.46,"y":0.469},"o":{"x":0.465,"y":0.316},"t":40,"s":[661.61,225.568,0],"to":[0.684,94.884,0],"ti":[6.074,-117.041,0]},{"i":{"x":0.492,"y":0.823},"o":{"x":0.563,"y":0.566},"t":80,"s":[504.786,546.819,0],"to":[-5.317,102.469,0],"ti":[-0.506,-109.783,0]},{"i":{"x":0.503,"y":0.651},"o":{"x":0.53,"y":0.166},"t":120,"s":[638.133,867.455,0],"to":[0.494,107.208,0],"ti":[-3.803,-105.891,0]},{"i":{"x":0.536,"y":0.526},"o":{"x":0.498,"y":0.319},"t":160,"s":[490,1188.883,0],"to":[4.82,134.208,0],"ti":[-8.736,-101.833,0]},{"i":{"x":0.421,"y":0.73},"o":{"x":0.484,"y":0.53},"t":200,"s":[689.181,1494.116,0],"to":[17.91,208.773,0],"ti":[-0.877,-91.398,0]},{"t":260,"s":[545.264,1988.939,0]}],"ix":2},"a":{"a":0,"k":[-171.736,-3915.062,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":1,"shapes":[{"ty":"gr","it":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[70.716,-31.031],[0,0]],"o":[[0,0],[0,0]],"v":[[-188.103,-3876.906],[-158.34,-3953.217]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.349019616842,0.647058844566,0.270588248968,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-31.031,-70.716],[0,0]],"o":[[0,0],[0,0]],"v":[[-188.103,-3876.906],[-158.34,-3953.217]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0.486274510622,0.247058823705,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 2","np":2,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 17","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":280,"st":0,"bm":0}],"markers":[]} |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you add a new headerImage.webp file, then delete the headerBanner.webp file as it's not used anymore