Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.

Commit 7068e49

Browse files
Merge pull request #1127 from deckgo/style/links
style: make links site underline globally
2 parents 96e92b1 + 5e7c5b4 commit 7068e49

File tree

8 files changed

+16
-11
lines changed

8 files changed

+16
-11
lines changed

site/src/components/core/buttons/button.module.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
margin: 0.25rem 0;
88
padding: 0 16px;
99

10+
text-decoration: none;
11+
1012
@media (min-width: 576px) {
1113
margin: 0.45rem 0;
1214
padding: 0 26px;

site/src/components/core/layout/layout.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import '../../../themes/fonts.scss';
1010
import '../../../themes/theme.scss';
1111
import '../../../themes/main.scss';
1212
import '../../../themes/input.scss';
13+
import '../../../themes/links.scss';
1314
import '../../../themes/variables.scss';
1415

1516
import SEO from '../seo/seo';

site/src/components/enterprise/features/features.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export const EnterpriseFeatures = ({lang}) => {
2121
id="enterprise.features.introduction"
2222
values={{
2323
communityLink: (
24-
<Link to={`/${lang}/features/`} style={{textDecoration: 'underline'}}>
24+
<Link to={`/${lang}/features/`}>
2525
<FormattedMessage id="enterprise.community.link" />
2626
</Link>
2727
),

site/src/components/features/features/features.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export const ListFeatures = ({lang}) => {
8080
id="features.enterprise.only.notice"
8181
values={{
8282
organizationsLink: (
83-
<Link to={`/${lang}/enterprise/`} style={{textDecoration: 'underline'}}>
83+
<Link to={`/${lang}/enterprise/`}>
8484
<FormattedMessage id="features.enterprise.organizations.link" />
8585
</Link>
8686
),

site/src/components/pricing/plan/plan.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ export const Plan = ({lang}) => {
4141
sponsorshipLink: (
4242
<a
4343
href="https://opencollective.com/deckdeckgo#category-CONTRIBUTE"
44-
rel="noopener noreferrer"
45-
style={{textDecoration: 'underline'}}>
44+
rel="noopener noreferrer">
4645
<FormattedMessage id="pricing.community.sponsorship" />
4746
</a>
4847
),
@@ -91,7 +90,7 @@ export const Plan = ({lang}) => {
9190
id="pricing.community.feature.more"
9291
values={{
9392
featuresLink: (
94-
<Link to={`/${lang}/features/`} style={{textDecoration: 'underline'}}>
93+
<Link to={`/${lang}/features/`}>
9594
<FormattedMessage id="pricing.community.features" />
9695
</Link>
9796
),

site/src/components/pricing/try/try.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ export const Try = () => {
1515
tryLink: (
1616
<a
1717
href="https://app.deckdeckgo.com/editor"
18-
rel="noopener noreferrer"
19-
style={{textDecoration: 'underline'}}>
18+
rel="noopener noreferrer">
2019
<FormattedMessage id="pricing.try.link" />
2120
</a>
2221
),

site/src/pages/faq/index.en.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ const FaqPage = (props) => {
2626
<a
2727
href="https://dev.to/daviddalbusco/we-are-developing-an-open-source-editor-for-presentations-1bng"
2828
target="_blank"
29-
rel="noopener noreferrer"
30-
style={{textDecoration: 'underline'}}>
29+
rel="noopener noreferrer">
3130
article
3231
</a>{' '}
3332
to present our project and ourselves, you might find more answers in it if you wish to have a more concrete answer.
@@ -58,7 +57,7 @@ const FaqPage = (props) => {
5857

5958
<p>
6059
That being said, for our{' '}
61-
<Link to="/en/enterprise/" style={{textDecoration: 'underline'}}>
60+
<Link to="/en/enterprise/">
6261
enterprise
6362
</Link>{' '}
6463
we do offer templates and options that match their CI/CD. In addition, we are in the making to open our online editor to custom users and community
@@ -69,7 +68,7 @@ const FaqPage = (props) => {
6968

7069
<p>
7170
You can't (but we do understand that you might wish to if you are a{' '}
72-
<Link to="/en/enterprise/" style={{textDecoration: 'underline'}}>
71+
<Link to="/en/enterprise/">
7372
company
7473
</Link>
7574
).

site/src/themes/links.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
main {
2+
a {
3+
text-decoration: underline;
4+
}
5+
}

0 commit comments

Comments
 (0)