Skip to content

Commit 746efb7

Browse files
Remove SmallProjectCardWithInputs and replace it by a short dedicated section with a button linking to the contact form.
1 parent 762eb70 commit 746efb7

File tree

6 files changed

+173
-289
lines changed

6 files changed

+173
-289
lines changed

docusaurus.config.ts

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,14 @@ const config: Config = {
6363
//image: 'img/docusaurus-social-card.jpg',
6464
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
6565
headTags: [
66+
6667
{
6768
tagName: 'link',
6869
attributes: {
6970
rel: 'alternate',
70-
type: 'application/rss+xml',
71-
title: 'RSS Feed',
72-
href: '/rss.xml',
71+
type: 'application/atom+xml',
72+
title: 'Atom Feed',
73+
href: '/atom.xml',
7374
},
7475
},
7576
],
@@ -111,9 +112,8 @@ const config: Config = {
111112
label: "Blog",
112113
position: "left",
113114
},
114-
{
115+
{
115116
to: "/fundable/",
116-
className: "custom_navbar_item",
117117
label: "Fundable projects",
118118
position: "right",
119119
className:"fundable_projects"
@@ -154,10 +154,9 @@ const config: Config = {
154154
target: "_blank",
155155
className: "mastodon-icon",
156156
},
157-
158157
{
159-
to: "rss.xml",
160-
title: "RSS",
158+
to: "atom.xml",
159+
title: "Atom",
161160
position: "right",
162161
target: "_blank",
163162
className: "rss-circle-icon",

src/components/fundable/MenuSideBar.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ import styles from "./styles.module.css";
44

55
const sections = [
66
{ id: 'jupyter-ecosystem', label: 'Jupyter ecosystem' },
7-
{ id: 'package-management', label: 'Package management' },
8-
{ id: 'propose-and-fund-a-project', label: 'Propose and fund a project' },
7+
{ id: 'package-management', label: 'Package management' }
98
];
109

1110
export default function MenuSideBar() {

src/components/fundable/SmallProjectCardWithInputs.tsx

Lines changed: 0 additions & 114 deletions
This file was deleted.

src/components/fundable/index.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import styles from "./styles.module.css";
22
import { fundableProjectsDetails } from "./projectsDetails";
33
import ProjectCategory from "./ProjectCategory";
44
import MenuSidebar from "./MenuSideBar";
5-
import { SmallProjectCardWithInputs } from "./SmallProjectCardWithInputs";
5+
import LinkToContact from "../home/LinkToContact";
66

77
export function getCategoryFromProjectPageName(pageName: string) {
88
for (const [categoryName, projectsByCategory] of Object.entries(fundableProjectsDetails)) {
@@ -32,9 +32,9 @@ export function MainAreaFundableProjects() {
3232
/>
3333
</section>
3434
<section id="propose-and-fund-a-project">
35-
<h2 className={styles.project_category_header} style={{ margin: "0px" }}>Propose and fund a project</h2>
36-
<p style={{ marginTop: "var(--ifm-spacing-lg)" }}>You have a project on the open-source data stack that you would like to fund. Please contact us with this form!</p>
37-
<SmallProjectCardWithInputs />
35+
<h2 className={styles.project_category_header} style={{ margin: "0px" }}>Can't find a project?</h2>
36+
<p style={{ marginTop: "var(--ifm-spacing-lg)" }}>If you have a project in mind that you think would be relevant to our expertise, please contact us to discuss it.</p>
37+
<LinkToContact label={"CONTACT US!"} />
3838
</section>
3939
</div>
4040
)

0 commit comments

Comments
 (0)