Skip to content

Commit 45aeeeb

Browse files
authored
Merge pull request #204 from telepresenceio/kai-tillman/update-footers
Add trademark message to other pages
2 parents 11d97b6 + a5b1b84 commit 45aeeeb

File tree

7 files changed

+123
-57
lines changed

7 files changed

+123
-57
lines changed

src/components/CaseStudyTemplate/CaseStudyTemplate.js

+18-9
Original file line numberDiff line numberDiff line change
@@ -62,15 +62,24 @@ const CaseStudyTemplate = ({ caseStudy, children }) => {
6262
{children}
6363
</div>
6464
</section>
65-
<section className={classnames('purpleBackground', 'caseStudyFooter')}>
66-
<h4>Questions?</h4>
67-
<p>Let us help you get started</p>
68-
<a className="btn-purple-light" href="/docs/latest/quick-start/">
69-
get started
70-
</a>
71-
</section>
72-
</>
73-
);
65+
<section className={classnames('purpleBackground', 'caseStudyFooter')}>
66+
<h4>Questions?</h4>
67+
<p>Let us help you get started</p>
68+
<a className="btn-purple-light" href="/docs/latest/quick-start/">
69+
get started
70+
</a>
71+
<div className="trademarkUsage">
72+
<p>
73+
The Linux Foundation has registered trademarks and uses trademarks.
74+
For a list of trademarks of The Linux Foundation,
75+
please see our <a
76+
href="https://www.linuxfoundation.org/legal/trademark-usage">Trademark
77+
Usage page</a>.
78+
</p>
79+
</div>
80+
</section>
81+
</>
82+
);
7483
};
7584

7685
export default CaseStudyTemplate;

src/components/CaseStudyTemplate/style.less

+4
Original file line numberDiff line numberDiff line change
@@ -211,4 +211,8 @@
211211
padding-top: 5.625rem;
212212
padding-bottom: 5.625rem;
213213
}
214+
215+
.trademarkUsage {
216+
margin-top: 5rem;
217+
}
214218
}

src/components/Layout/docs-layout.less

+10
Original file line numberDiff line numberDiff line change
@@ -754,5 +754,15 @@
754754
justify-content: flex-end;
755755
text-decoration: underline;
756756
}
757+
758+
.trademarkUsage {
759+
margin-top: 2rem;
760+
display: flex;
761+
justify-content: center;
762+
763+
a {
764+
display: inline-block;
765+
}
766+
}
757767
}
758768
}

src/pages/about.js

+25-15
Original file line numberDiff line numberDiff line change
@@ -44,19 +44,29 @@ export default function AboutPage({ location }) {
4444
/>
4545
</div>
4646
</section>
47-
<section className="aboutPageStayUpdated">
48-
<h4>Stay Updated</h4>
49-
<p>
50-
Telepresence is under active development. Subscribe to get updates and
51-
announcements:
52-
</p>
53-
<div className="aboutPageHubspotForm">
54-
<HubspotForm
55-
portalId="485087"
56-
formId="956287a4-7614-486b-91bd-28c9a91949cb"
57-
/>
58-
</div>
59-
</section>
60-
</EasyLayout>
61-
);
47+
<section className="aboutPageStayUpdated">
48+
<h4>Stay Updated</h4>
49+
<p>
50+
Telepresence is under active development. Subscribe to get updates and
51+
announcements:
52+
</p>
53+
<div className="aboutPageHubspotForm">
54+
<HubspotForm
55+
portalId="485087"
56+
formId="956287a4-7614-486b-91bd-28c9a91949cb"
57+
/>
58+
</div>
59+
<div className="trademarkUsage">
60+
<p>
61+
The Linux Foundation has registered trademarks and uses
62+
trademarks.
63+
For a list of trademarks of The Linux Foundation,
64+
please see our <a
65+
href="https://www.linuxfoundation.org/legal/trademark-usage">Trademark
66+
Usage page</a>.
67+
</p>
68+
</div>
69+
</section>
70+
</EasyLayout>
71+
);
6272
}

src/pages/case-studies/index.js

+27-16
Original file line numberDiff line numberDiff line change
@@ -58,20 +58,31 @@ export default function CaseStudiesPage({ location }) {
5858
))}
5959
</div>
6060
</section>
61-
<section
62-
className={classnames('caseStudiesPageSection', 'purpleBackground')}
63-
>
64-
<div className="caseStudiesPageSection-contact">
65-
<h4>Have a Telepresence story to share?</h4>
66-
<p>Tell us your story</p>
67-
<a
68-
className="btn-purple-light"
69-
href="https://www.getambassador.io/contact-us/"
70-
>
71-
contact us
72-
</a>
73-
</div>
74-
</section>
75-
</EasyLayout>
76-
);
61+
<section
62+
className={classnames('caseStudiesPageSection', 'purpleBackground')}
63+
>
64+
<div className="caseStudiesPageSection-contact">
65+
<h4>Have a Telepresence story to share?</h4>
66+
<p>Tell us your story</p>
67+
<a
68+
className="btn-purple-light"
69+
href="https://www.getambassador.io/contact-us/"
70+
>
71+
contact us
72+
</a>
73+
<div className="trademarkUsage">
74+
<p>
75+
The Linux Foundation has registered trademarks and uses
76+
trademarks.
77+
For a list of trademarks of The Linux Foundation,
78+
please see our <a
79+
href="https://www.linuxfoundation.org/legal/trademark-usage">Trademark
80+
Usage page</a>.
81+
</p>
82+
</div>
83+
</div>
84+
85+
</section>
86+
</EasyLayout>
87+
);
7788
}

src/pages/community.js

+24-14
Original file line numberDiff line numberDiff line change
@@ -88,18 +88,28 @@ export default function CommunityPage({ location }) {
8888
</div>
8989
</div>
9090
</section>
91-
<section className="communityPageSection purpleLight">
92-
<div className="communityPageSection-socialCards">
93-
<h2 className="communityPageSection-exploreTitle">
94-
Explore and Contribute to Our Networks
95-
</h2>
96-
<div className="communityPageSection-socialCards-container">
97-
{SOCIAL_CARDS.map((card, index) => (
98-
<SocialCard key={index} {...card} />
99-
))}
100-
</div>
101-
</div>
102-
</section>
103-
</EasyLayout>
104-
);
91+
<section className="communityPageSection purpleLight">
92+
<div className="communityPageSection-socialCards">
93+
<h2 className="communityPageSection-exploreTitle">
94+
Explore and Contribute to Our Networks
95+
</h2>
96+
<div className="communityPageSection-socialCards-container">
97+
{SOCIAL_CARDS.map((card, index) => (
98+
<SocialCard key={index} {...card} />
99+
))}
100+
</div>
101+
<div className="trademarkUsage">
102+
<p>
103+
The Linux Foundation has registered trademarks and uses
104+
trademarks.
105+
For a list of trademarks of The Linux Foundation,
106+
please see our <a
107+
href="https://www.linuxfoundation.org/legal/trademark-usage">Trademark
108+
Usage page</a>.
109+
</p>
110+
</div>
111+
</div>
112+
</section>
113+
</EasyLayout>
114+
);
105115
}

src/templates/doc-page.js

+15-3
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,22 @@ export default function DocPage({ location, data, pageContext }) {
134134
</div>
135135
</main>
136136
<footer className="docs__footer">
137-
<a href={pageContext.docinfo.githubURL} className="github" target="_blank" rel="noreferrer">
138-
<GithubIcon />
137+
<div>
138+
<a href={pageContext.docinfo.githubURL} className="github"
139+
target="_blank" rel="noreferrer">
140+
<GithubIcon/>
139141
Edit this page on GitHub
140-
</a>
142+
</a>
143+
</div>
144+
<div className="trademarkUsage">
145+
<p>
146+
The Linux Foundation has registered trademarks and uses
147+
trademarks. For a list of trademarks of The Linux Foundation,
148+
please see our <a
149+
href="https://www.linuxfoundation.org/legal/trademark-usage">Trademark
150+
Usage page</a>.
151+
</p>
152+
</div>
141153
</footer>
142154
</div>
143155
</Layout>

0 commit comments

Comments
 (0)