-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
Core Atom HTML Element: A #70
Labels
Milestone
Comments
arcticicestudio
added a commit
that referenced
this issue
Dec 6, 2018
The core atom `A` represents the inline text semantic (1) HTML element `<a>`. It is a special dynamic and failsafe component since it internally uses the Gatsby `Link` component to route within the site (internal links) while also being able to link to external targets. The URLs are passed through the `to` and `href` props. References: (1) https://developer.mozilla.org/en-US/docs/Web/HTML/Element#Inline_text_semantics (2) https://www.gatsbyjs.org/docs/gatsby-link Associated epic: GH-69 GH-70
arcticicestudio
added a commit
that referenced
this issue
Dec 6, 2018
…tml-element-a Core Atom HTML Element: A
13 tasks
arcticicestudio
added a commit
that referenced
this issue
Jan 8, 2019
It consists of the previously implemented styles and variants and represents a `<button>` (1). Next to this is can also wrap the base HTML element atom `A` (2) to handle internal and external links. References: (1) https://developer.mozilla.org/de/docs/Web/HTML/Element/button (2) #70 Associated epic: GH-63 GH-110
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This issue documents the implementation of the core atom
A
that represents the inline text semantic HTML element<a>
. This is a special dynamic and failsafe component since it'll internally use GatsbyLink
component to route within the site (internal links) while also being able to link to external data.URL Routing Utilities
To handle the logic of conditionally rendering a Gatsby
Link
or a basic<a>
, based on the passed target URL (internal & external), utility functions will be implemented to evaluate the passed target.Tasks
A
.The text was updated successfully, but these errors were encountered: