-
Notifications
You must be signed in to change notification settings - Fork 116
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
feat(website): add new homepage design to paste.twilio.design/new #3758
Merged
Merged
Changes from 8 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
bcf07db
feat(icons): add LogoPaste icon
nkrantz 2ac904e
chore: homehero 1
nkrantz d526565
chore: homehero 2
nkrantz 3543ed0
chore: themeable
nkrantz 7d0d94b
chore: rough draft 1
nkrantz 6ebf29b
chore: format
nkrantz 1c3dc7e
chore: move new hompeage to /new slug
nkrantz c0e6eec
chore: remove all site wrapper changes from this pr
nkrantz 9218147
chore: fix danger check
nkrantz 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
"@twilio-paste/icons": minor | ||
"@twilio-paste/core": minor | ||
--- | ||
|
||
[Icons] Add new LogoPaste icon |
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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
import { useUID } from "@twilio-paste/uid-library"; | ||
/** | ||
* This file was automatically generated with @twilio-labs/svg-to-react | ||
*/ | ||
import * as React from "react"; | ||
|
||
import { IconWrapper } from "./helpers/IconWrapper"; | ||
import type { IconWrapperProps } from "./helpers/IconWrapper"; | ||
|
||
export interface LogoPasteIconProps extends IconWrapperProps { | ||
title?: string; | ||
decorative: boolean; | ||
} | ||
|
||
const LogoPasteIcon = React.forwardRef<HTMLElement, LogoPasteIconProps>( | ||
({ as, display, element = "ICON", size, color, title, decorative }, ref) => { | ||
const titleId = `LogoPasteIcon-${useUID()}`; | ||
|
||
if (!decorative && title == null) { | ||
throw new Error("[LogoPasteIcon]: Missing a title for non-decorative icon."); | ||
} | ||
|
||
return ( | ||
<IconWrapper as={as} display={display} element={element} size={size} color={color} ref={ref}> | ||
<svg | ||
role="img" | ||
aria-hidden={decorative} | ||
width="100%" | ||
height="100%" | ||
viewBox="0 0 20 20" | ||
fill="none" | ||
xmlns="http://www.w3.org/2000/svg" | ||
aria-labelledby={titleId} | ||
> | ||
{title ? <title id={titleId}>{title}</title> : null} | ||
<path | ||
fill="currentColor" | ||
fillRule="evenodd" | ||
clipRule="evenodd" | ||
d="M5.49 1h8.828a2.401 2.401 0 012.399 2.399v.005l-.002.14v6.209a2.412 2.412 0 01-2.41 2.41h-4.84l-2.52 5.643-.001.004A2.076 2.076 0 015.07 19H5.07A2.072 2.072 0 013 16.929v-3.895c0-.619.239-1.213.664-1.66a2.402 2.402 0 01-.631-1.62v-.005l.058-6.353v-.001A2.401 2.401 0 015.49 1zm0 1.538a.862.862 0 00-.862.861v.005L4.57 9.756a.863.863 0 00.862.858h3.04l3.603-8.076H5.49zm9.006.065a.872.872 0 00-.978.474l-3.363 7.537h4.104a.862.862 0 00.861-.861v-.004l.057-6.215v-.08a.872.872 0 00-.68-.851zm-9.085 9.56a.874.874 0 00-.873.872v3.893a.532.532 0 001.01.232l2.23-4.997H5.411z" | ||
/> | ||
</svg> | ||
</IconWrapper> | ||
); | ||
}, | ||
); | ||
|
||
LogoPasteIcon.displayName = "LogoPasteIcon"; | ||
export { LogoPasteIcon }; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions
14
packages/paste-website/src/assets/illustrations/figma-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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.
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.
Should these be such a large image of a colored square? Maybe we just use
<Box>
?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.
yeah I want to update these in the next round