1
0
mirror of synced 2026-01-05 03:06:35 -05:00

Merge pull request #29656 from github/sophietheking-landingpage

"Get started" landing page v2
This commit is contained in:
Sophie
2022-08-16 16:15:01 +02:00
committed by GitHub
2 changed files with 1 additions and 4 deletions

View File

@@ -27,7 +27,6 @@ introLinks:
featuredLinks:
guides:
- /github/getting-started-with-github/githubs-products
- /github/getting-started-with-github/create-a-repo
- /get-started/onboarding/getting-started-with-your-github-account
- /get-started/onboarding/getting-started-with-github-team
- /get-started/onboarding/getting-started-with-github-enterprise-cloud
@@ -39,9 +38,7 @@ featuredLinks:
- /github/getting-started-with-github/set-up-git
- /get-started/learning-about-github/about-versions-of-github-docs
- /github/getting-started-with-github/github-glossary
- /github/getting-started-with-github/fork-a-repo
- /github/getting-started-with-github/keyboard-shortcuts
- /github/getting-started-with-github/saving-repositories-with-stars
guideCards:
- /github/getting-started-with-github/types-of-github-accounts
- /github/getting-started-with-github/finding-ways-to-contribute-to-open-source-on-github

View File

@@ -69,7 +69,7 @@ describe('featuredLinks', () => {
test('Enterprise user intro links have expected values', async () => {
const $ = await getDOM(`/en/enterprise/${enterpriseServerReleases.latest}/user/get-started`)
const $featuredLinks = $('[data-testid=article-list] a')
expect($featuredLinks).toHaveLength(11)
expect($featuredLinks.length > 0).toBeTruthy()
expect($featuredLinks.eq(0).attr('href')).toBe(
`/en/enterprise-server@${enterpriseServerReleases.latest}/github/getting-started-with-github/githubs-products`
)