-
Notifications
You must be signed in to change notification settings - Fork 0
Refactor/site refactor and fixes #69
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
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
4029280
fix(frontend): external-link-style
tractorss a76ff59
fix(frontend): cta-card-style
tractorss e3db7f6
refactor(frontend): flowchart-style
tractorss d014223
Merge branch 'master' into refactor/site-refactor-and-fixes
tractorss 016bdf3
refactor(frontend): download-links
tractorss 0b015f8
Merge branch 'master' into refactor/site-refactor-and-fixes
tractorss 24d3a3c
feat(frontend): testimonials-iframe
tractorss f013ae3
feat(frontend): download-logic
tractorss f06a4bd
refactor(frontend): for-builders-responsive
tractorss 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
67 changes: 67 additions & 0 deletions
67
frontend/src/components/ForBuilders/UseCasesSection/DAOSection/KeyChallenges/SafeSnap.tsx
This file contains hidden or 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,67 @@ | ||
import clsx from "clsx"; | ||
import Image from "next/image"; | ||
|
||
import CustomLink from "@/components/CustomLink"; | ||
import Card from "@/components/Navbar/AppsDropdownContent/Card"; | ||
import { UseCasesQueryType } from "@/queries/for-builders/use-cases"; | ||
|
||
interface ISafeSnap { | ||
useCasesData: UseCasesQueryType["forBuildersPageUseCasesSection"]; | ||
} | ||
|
||
const SafeSnap: React.FC<ISafeSnap> = ({ useCasesData }) => { | ||
return ( | ||
<div className="rounded-2xl border border-stroke bg-background-2 p-6 pb-8 lg:p-8 lg:pb-16"> | ||
<h2 className="mb-4 text-lg font-medium lg:text-xl"> | ||
{useCasesData.solutionSections.title} | ||
</h2> | ||
<div className="mb-8 text-secondary-text lg:text-lg"> | ||
{useCasesData.solutionSections.description} | ||
</div> | ||
|
||
<div className="flex flex-col gap-6 lg:flex-row"> | ||
<div className="flex flex-col gap-4"> | ||
<div className="text-secondary-text"> | ||
{useCasesData.solutionSections.solutionHeader} | ||
</div> | ||
<div> | ||
<Card | ||
key={useCasesData.solutionSections?.solution?.solution_name} | ||
solution={useCasesData.solutionSections.solution} | ||
variant="small" | ||
className="border-gradient-purple-blue !rounded-2xl border-none before:!p-[1px]" | ||
/> | ||
</div> | ||
</div> | ||
|
||
<div className="flex flex-grow flex-col gap-4"> | ||
<div className="text-secondary-text"> | ||
{useCasesData.solutionSections.partnersHeader} | ||
</div> | ||
<div className="border-gradient-purple-blue flex flex-row gap-x-6 !rounded-2xl p-4 before:!p-[1px]"> | ||
{useCasesData.solutionSections.partners.map((partner) => ( | ||
<CustomLink | ||
key={partner?.name} | ||
href={partner?.url} | ||
className={clsx( | ||
"transform transition duration-100 hover:scale-[1.01]", | ||
"cursor-pointer", | ||
)} | ||
> | ||
<Image | ||
key={partner?.name} | ||
src={partner?.icon_svg?.url} | ||
alt={partner?.name} | ||
width={64} | ||
height={64} | ||
/> | ||
</CustomLink> | ||
))} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default SafeSnap; |
32 changes: 0 additions & 32 deletions
32
frontend/src/components/ForBuilders/UseCasesSection/DAOSection/LearnMore.tsx
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.