Skip to content

Commit 17f94c1

Browse files
committed
feat: remove OurPrograms section and change title of contribute sections.
1 parent 393b27d commit 17f94c1

File tree

3 files changed

+6
-24
lines changed

3 files changed

+6
-24
lines changed

frontend/__tests__/Home.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ describe('pages/index.tsx', () => {
5454
expect(page).toBeInTheDocument()
5555
})
5656

57-
it('renders Our Programs section on KIN Home page', () => {
57+
it('renders Contribute section on KIN Home page', () => {
5858
render(WrappedComponentWithProps(Home,{props}))
59-
const project = screen.getByText('Our Programs')
59+
const project = screen.getByText('How to use VEDA?')
6060
expect(project).toBeInTheDocument()
6161
})
6262

frontend/components/home/kin/ContributeSection.tsx

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export default function ContributeSection() {
3333
<div>
3434
<h2 className="flex justify-center text-3xl lg:text-4xl font-rsd-titles font-bold "
3535
data-aos="fade" data-aos-duration="400" data-aos-easing="ease-in-out">
36-
Do You Want to Contribute?
36+
How to use VEDA?
3737
</h2>
3838
<p className="text-center text-lg mt-5" data-aos="fade"
3939
data-aos-delay="100" data-aos-duration="400" data-aos-easing="ease-in-out">
@@ -49,24 +49,6 @@ export default function ContributeSection() {
4949
target={button.contact.target}
5050
/>
5151
</div>
52-
{/* <div className="flex justify-center" data-aos="fade-up" data-aos-duration="600"
53-
data-aos-delay="100"
54-
data-aos-easing="ease-in-out">
55-
<GradientBorderButton
56-
text={button.docs.label}
57-
url={button.docs.url}
58-
target={button.docs.target}
59-
/>
60-
</div>
61-
<div className="flex justify-center" data-aos="fade-up" data-aos-duration="600"
62-
data-aos-delay="200"
63-
data-aos-easing="ease-in-out">
64-
<GradientBorderButton
65-
text={button.faq.label}
66-
url={button.faq.url}
67-
target={button.faq.target}
68-
/>
69-
</div> */}
7052
</div>
7153
</div>
7254
</section>

frontend/components/home/kin/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import {TopNewsProps} from '~/components/news/apiNews'
1818
import JumboBanner from './JumboBanner'
1919
import HomepageDivider from './HomepageDivider'
2020
import AboutUsSection from './AboutUsSection'
21-
import OurProgramsSection from './OurProgramsSection'
21+
// import OurProgramsSection from './OurProgramsSection'
2222
import ContributeSection from './ContributeSection'
2323
import TopNewsSection from './TopNewsSection'
2424

@@ -42,9 +42,9 @@ export default function RsdHome({news}:Readonly<{news:TopNewsProps[]}>) {
4242
{/* Top 3 news items, ONLY if there are some */}
4343
<TopNewsSection news={news} />
4444
{/* Our Programs Section */}
45-
<OurProgramsSection />
45+
{/* <OurProgramsSection /> */}
4646
{/* Divider */}
47-
<HomepageDivider />
47+
{/* <HomepageDivider /> */}
4848
{/* Contribute section */}
4949
<ContributeSection />
5050
{/* Divider */}

0 commit comments

Comments
 (0)