Skip to content

Commit d541360

Browse files
authored
fix header & footer (#4)
1 parent e90d7b1 commit d541360

File tree

3 files changed

+36
-19
lines changed

3 files changed

+36
-19
lines changed

packages/blog-starter-kit/themes/enterprise/components/footer.tsx

Lines changed: 24 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -32,22 +32,22 @@ export const Footer = () => {
3232
</p>
3333
<ul className="flex flex-col gap-1 text-slate-700 dark:text-neutral-300">
3434
<li>
35-
<a href="#" className="hover:underline">
35+
<a href="https://mindsdb.com/contact" className="hover:underline">
3636
Contact us
3737
</a>
3838
</li>
3939
<li>
40-
<a href="#" className="hover:underline">
40+
<a href="https://mindsdb.com/book-a-demo" className="hover:underline">
4141
Book a demo
4242
</a>
4343
</li>
4444
<li>
45-
<a href="#" className="hover:underline">
45+
<a href="https://mindsdb.com/newsletter" className="hover:underline">
4646
Newsletter
4747
</a>
4848
</li>
4949
<li>
50-
<a href="#" className="hover:underline">
50+
<a href="https://mindsdb.com/joincommunity" className="hover:underline">
5151
Slack
5252
</a>
5353
</li>
@@ -57,22 +57,25 @@ export const Footer = () => {
5757
<p className="mb-2 font-semibold text-slate-600 dark:text-neutral-200">Resources</p>
5858
<ul className="flex flex-col gap-1 text-slate-700 dark:text-neutral-300">
5959
<li>
60-
<a href="#" className="hover:underline">
60+
<a href="https://mindsdb.com/rewards" className="hover:underline">
6161
Community
6262
</a>
6363
</li>
6464
<li>
65-
<a href="#" className="hover:underline">
65+
<a
66+
href="https://mindsdb.com/machine-learning-use-cases"
67+
className="hover:underline"
68+
>
6669
Use Cases
6770
</a>
6871
</li>
6972
<li>
70-
<a href="#" className="hover:underline">
73+
<a href="https://github.com/mindsdb/mindsdb" className="hover:underline">
7174
Source Code
7275
</a>
7376
</li>
7477
<li>
75-
<a href="#" className="hover:underline">
78+
<a href="https://mindsdb.com/blog" className="hover:underline">
7679
Blog
7780
</a>
7881
</li>
@@ -82,22 +85,25 @@ export const Footer = () => {
8285
<p className="mb-2 font-semibold text-slate-600 dark:text-neutral-200">Product</p>
8386
<ul className="flex flex-col gap-1 text-slate-700 dark:text-neutral-300">
8487
<li>
85-
<a href="#" className="hover:underline">
88+
<a href="https://mindsdb.com/pricing" className="hover:underline">
8689
Pricing
8790
</a>
8891
</li>
8992
<li>
90-
<a href="#" className="hover:underline">
93+
<a href="https://docs.mindsdb.com/" className="hover:underline">
9194
Documentation
9295
</a>
9396
</li>
9497
<li>
95-
<a href="#" className="hover:underline">
98+
<a href="https://mindsdb.com/integrations" className="hover:underline">
9699
Integrations
97100
</a>
98101
</li>
99102
<li>
100-
<a href="#" className="hover:underline">
103+
<a
104+
href="https://github.com/mindsdb/mindsdb/discussions/"
105+
className="hover:underline"
106+
>
101107
Support
102108
</a>
103109
</li>
@@ -107,22 +113,22 @@ export const Footer = () => {
107113
<p className="mb-2 font-semibold text-slate-600 dark:text-neutral-200">Other links</p>
108114
<ul className="flex flex-col gap-1 text-slate-700 dark:text-neutral-300">
109115
<li>
110-
<a href="#" className="hover:underline">
116+
<a href="https://mindsdb.com/events" className="hover:underline">
111117
Events
112118
</a>
113119
</li>
114120
<li>
115-
<a href="#" className="hover:underline">
121+
<a href="https://mindsdb.com/careers" className="hover:underline">
116122
Careers
117123
</a>
118124
</li>
119125
<li>
120-
<a href="#" className="hover:underline">
126+
<a href="https://mindsdb.com/newsroom" className="hover:underline">
121127
Newsroom
122128
</a>
123129
</li>
124130
<li>
125-
<a href="#" className="hover:underline">
131+
<a href="https://mindsdb.com/about" className="hover:underline">
126132
About us
127133
</a>
128134
</li>
@@ -133,11 +139,11 @@ export const Footer = () => {
133139
<SocialLinks />
134140
<p>&copy; 2023 Company Inc.</p>
135141
<p>
136-
<a href="#" className="hover:underline">
142+
<a href="https://mindsdb.com/privacy-policy" className="hover:underline">
137143
Privacy Policy
138144
</a>{' '}
139145
·{' '}
140-
<a href="#" className="hover:underline">
146+
<a href="https://mindsdb.com/terms" className="hover:underline">
141147
Terms
142148
</a>
143149
</p>

packages/blog-starter-kit/themes/enterprise/components/header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ export const Header = () => {
407407
</a>
408408

409409
<Button
410-
href="https://github.com/mindsdb/mindsdb"
410+
href="https://cloud.mindsdb.com/login"
411411
as="a"
412412
type="outline"
413413
label="LOG IN"

packages/blog-starter-kit/themes/enterprise/components/integrations.tsx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,13 @@ export function Integrations() {
5959
})();
6060
`;
6161

62+
const googleTagManager = `
63+
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
64+
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
65+
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
66+
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
67+
})(window,document,'script','dataLayer','GTM-MNN47J3');</script>`;
68+
6269
useEffect(() => {
6370
// @ts-ignore
6471
window.gtag('config', gaTrackingID, {
@@ -72,6 +79,10 @@ export function Integrations() {
7279
{fbPixelID ? (
7380
<script type="text/javascript" dangerouslySetInnerHTML={{ __html: fbPixel }}></script>
7481
) : null}
82+
<script
83+
type="text/javascript"
84+
dangerouslySetInnerHTML={{ __html: googleTagManager }}
85+
></script>
7586
{fathomSiteID && (
7687
<script
7788
src={

0 commit comments

Comments
 (0)