Kevin Heis
031843bc96
First batch of Primer Upgrade fixes ( #18763 )
...
* Update header-notification.html
* Add some dark mode fixes pre-enablement
2021-04-14 16:28:42 +00:00
Kevin Heis
46c16001c3
Upgrade Primer with translation shim for trashcan icon ( #18735 )
...
* Revert "Revert "Upgrade Primer CSS to 16 (#18713 )""
This reverts commit c01d3e302e .
* Add a hack to handle trashcan icon in translated content
2021-04-13 18:38:04 +00:00
Mike Surowiec
c01d3e302e
Revert "Upgrade Primer CSS to 16 ( #18713 )"
...
This reverts commit 49377f9096 .
2021-04-13 09:19:28 -07:00
Kevin Heis
49377f9096
Upgrade Primer CSS to 16 ( #18713 )
...
* Upgrade primer to 16
* Upgrade colors in scss
* Get SCSS to build
* Initial dark mode support
* trashcan -> trash
* More specific search browser test
* Fix link color on homepage
* Update overrides.scss
* Upgrade some colors to primer variables
* Hide dark mode support for now
* Apply suggestions from code review
* Update overrides.scss
2021-04-13 16:00:46 +00:00
Sarah Schneider
c48c06a356
delete unused file
2021-04-12 15:35:20 -04:00
Kevin Heis
f160594a09
Enable set AIRGAP cookie to view Lunr search results ( #18648 )
...
* Enable set `lunr` cookie to view Lunr search results
* Use AIRGAP instead of lunr for cookie name
2021-04-09 17:38:32 +00:00
Sarah Schneider
12747b8898
rename version switcher layout file and only display if multiple permalinks
2021-04-08 10:13:27 -04:00
Sarah Schneider
c7f647f68a
update references
2021-04-01 15:29:59 -04:00
Sarah Schneider
b063f68e9d
Merge branch 'main' into versioning-in-landing-pages
2021-03-30 18:58:02 -04:00
Rachael Sewell
1676028143
Tweak sublanding page design ( #17977 )
2021-03-29 18:12:03 -07:00
Sarah Schneider
4271f73e10
change conditional to reference layout instead of relativePath
2021-03-29 12:18:16 -04:00
Sarah Schneider
b9ede41295
show header version picker on landing pages as well as homepage
2021-03-26 09:52:11 -04:00
Kevin Heis
a017660a76
Include header/footer components across layout types ( #18377 )
...
* Flesh out our layouts to include header/footer components across layout types
* Update contribution.html
* Remove extra line that we don't need when we have the gray section
2021-03-25 10:01:13 -07:00
Rachael Sewell
02ee72fa25
add topics attribute to search ( #18212 )
2021-03-17 13:11:29 -07:00
skullface
83f1e3af44
[SEO] Correct footer links ( #18136 )
...
* correct Support link omg
* customer stories link correction
* one more!
Co-authored-by: Sarah Schneider <sarahs@github.com >
2021-03-15 09:57:26 -07:00
Steve Winton
5ca3c8759e
Remove 'rel="nofollow"' from contributor links
2021-03-11 15:37:49 -06:00
Steve Winton
81f9cdecde
Add info octicon next to contributor callout
2021-03-11 14:58:24 -06:00
Steve Winton
221d6a8902
Reference ui.contributor_callout data attribute
...
To facilitate localization
Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com >
2021-03-11 12:26:14 -06:00
Steve Winton
953b9677a7
Replace partner-callout with contributor-callout
...
Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com >
2021-03-11 12:23:06 -06:00
Steve Winton
44d34f5c52
Add support for new contributor frontmatter object
2021-03-10 15:36:02 -06:00
Emily Gould
052a540cdb
Getting started category landing page ( #17841 )
...
* Start building out landing page in index file
* Add articles
* Add a couple more popular articles
* Tweak intro to cover more audiences
* Add TOC back with new organization
* Update content/github/getting-started-with-github/index.md
* Category as product guides section
* Update breadcrumbs.js
* Update server.js
* Update product-landing.html
* Remove TOC listing
* Revert removing TOC
* Update index.md
* Update index.md
* Update content/github/getting-started-with-github/index.md
* Apply suggestions from code review
Co-authored-by: Laura Coursen <lecoursen@github.com >
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com >
Co-authored-by: Laura Coursen <lecoursen@github.com >
2021-03-09 10:04:45 -06:00
skullface
39dd0ce68d
avoid redirect in footer
2021-03-05 17:07:09 -05:00
Kevin Heis
8b6e1bed8b
Merge branch 'main' into add-button-for-scrolling-to-top
2021-02-22 14:40:16 -08:00
Kevin Heis
46ccfc5d93
Run AB test on survey stars ( #17861 )
...
* Run AB test on survey stars
* Update browser.js
* Use text stars instead of primer ones
* Update experiment.js
2021-02-18 16:29:17 +00:00
Kevin Heis
eedcd1d861
Combine three super footer elements into one section ( #16724 )
...
* Combine three super footer elements into one section
* Update support-section.html
* Update heading font sizes
2021-02-11 14:10:33 -08:00
kazuhitonakayama
ef7748face
Erase href and remove unwanted styles
2021-02-11 23:41:38 +09:00
kazuhitonakayama
3d3ade8c16
remove includes scripts
2021-02-11 22:25:57 +09:00
kazuhitonakayama
2230da65de
use octicon for scroll-top-button
2021-02-11 19:50:05 +09:00
kazuhitonakayama
521ce8b2b0
change div element to button element
2021-02-11 19:30:45 +09:00
kazuhitonakayama
92163877c1
fix conflict
2021-02-11 18:56:41 +09:00
Kevin Heis
a3ad549e39
Block a few more things in AIRGAP ( #17657 )
...
* Block a few more things in AIRGAP
* Update middleware/context.js
Co-authored-by: Vanessa Yuen <6842965+vanessayuenn@users.noreply.github.com >
* Update product-landing.html
Co-authored-by: Vanessa Yuen <6842965+vanessayuenn@users.noreply.github.com >
2021-02-09 23:07:23 +00:00
Kevin Heis
1918d2ea14
Inline CSRF token in HTML ( #17748 )
...
* Inline CSRF token
* Fix tests
2021-02-09 22:08:24 +00:00
Jason Etcovitch
7aed83d5f8
Remove currentLanguage from translation_notification ( #17733 )
2021-02-08 20:05:29 +00:00
Jason Etcovitch
fcade11d77
FIx version switcher size ( #17732 )
2021-02-08 19:45:04 +00:00
Jason Etcovitch
28efe65bf5
Fix some invalid Liquid ( #17705 )
...
* Remove quotes from render paths
* Do the same for includes
* Fix {{{ in breadcrumbs
* Remove some old octicon syntax
* Fix some wonks
* Borked one
* Unchange `render` calls
* Smaller diff
* Even smaller
2021-02-05 13:17:15 -05:00
Vanessa Yuen
4038e9ca85
Add topic property and filter to guides page ( #17328 )
...
Co-authored-by: Emily Gould <4822039+emilyistoofunky@users.noreply.github.com >
2021-01-29 12:32:31 +00:00
Kevin Heis
8b86fd8fef
Reduce minified JS bundle size from 189kb to 73kb ( #17552 )
2021-01-28 22:12:04 +00:00
Vanessa Yuen
9bc90cd932
Learning Track navigation banner ( #17440 )
...
* add middleware to handle `learn` query param
* add exception to query-less cache key
* add querystring to learning track guides
2021-01-25 16:57:32 +00:00
Kevin Heis
2fb2e962bc
Move site search to use an endpoint ( #17359 )
...
* Move site search to use an endpoint
* Update browser.js
* Update search.js
* Update lib/search/versions.js
Co-authored-by: James M. Greene <JamesMGreene@github.com >
* Fix URLs
Co-authored-by: James M. Greene <JamesMGreene@github.com >
2021-01-20 15:37:42 +00:00
James M. Greene
9724f763f5
Implement discount fingerprinting without webpack ( #17337 )
2021-01-19 23:00:54 -06:00
Vanessa Yuen
b46da8dfc7
Sublanding page all guides section ( #16869 )
...
* get link liquid tag to accept variables as param
* new liquid tag `link_as_article_card`
* refactor link liquid tag slightly so we can control what props get rendered
* generalize filterCodeExample to use in all guides section
* pass in `js-filter-card-max` instead of hardcode max
* tweaks and add `data` to CSP for images
* add liquid tag tests
* add some browser tests for card filters
* we still need to rely on `getPathWithLanguage` for hrefs that already have the language code embedded
Co-authored-by: Emily Gould <4822039+emilyistoofunky@users.noreply.github.com >
2021-01-18 12:23:23 +00:00
Octomerger Bot
c301ac4b30
Branch was updated using the 'autoupdate branch' Actions workflow.
2021-01-16 01:28:17 +10:00
Vanessa Yuen
eaacb54422
small liquid link tag cleanup ( #17280 )
...
* remove unnecessary `render` methods
* we don't use `link_with_short_title` anymore
* remove `shortTitle` option
* remove ink_with_short_title tag test
2021-01-15 13:24:39 +00:00
skullface
c61e5ce42a
use www
2021-01-14 15:08:00 -05:00
skullface
a4fc70d6d4
use www
2021-01-14 15:04:52 -05:00
skullface
0a73f8ef86
update electron link
2021-01-14 15:01:09 -05:00
skullface
bf9982026e
use https over http
2021-01-14 14:02:35 -05:00
Melanie Yarbrough
c2336bb11e
[DO NOT MERGE] GitHub Enterprise Server 3.0 release candidate megabranch ( #16479 )
2021-01-13 19:16:05 -08:00
Barry McGee
eaa4a0be3a
Move aria-hidden onto agolia form element
...
This hides the whole form element as it's third party and not accessible.
2021-01-08 00:08:26 +00:00
Barry McGee
85d20a30a7
Removed nested main elements on specific products
...
Main landmark must not be contained in another landmark
https://dequeuniversity.com/rules/axe/4.1/landmark-main-is-top-level
2021-01-08 00:08:26 +00:00