1
0
mirror of synced 2025-12-22 19:34:15 -05:00
Commit Graph

94 Commits

Author SHA1 Message Date
Mike Surowiec
06d8f81401 Two-pane Experiment (#21092)
* pull changes from docs-playground

* cleanup, add callout banner

* cleanup linting and test fixes

* add discussion link

Co-authored-by: James M. Greene <JamesMGreene@github.com>
2021-08-26 14:19:40 -04:00
Mike Surowiec
5f5aa0b0d1 BumpLink component (#21033)
* create BumpLink component, re-org components/ui
2021-08-24 11:25:38 -04:00
Mike Surowiec
2a25efcd8e Scope Search scss (#20964)
* scope Search scss, reduce custom styling

* use translation for loading and no results found

* remove unnescessary test
2021-08-23 09:15:39 -04:00
Kevin Heis
ae7b652463 Create a storybook with callout component (#20902)
* Create a storybook with callout component

* Add to dist/storybook

* Remove references to dist dir, storybook takes place

* Update Callout.stories.tsx

* Update Dockerfile

* Update Dockerfile
2021-08-17 20:28:59 +00:00
Mike Surowiec
4b9a6912b9 Scope sub-landing scss and remove some custom styles (#20893)
* scope sub-landing scss and remove some custom styles
2021-08-16 17:22:21 +00:00
Mike Surowiec
ccbb92ab87 scope release-notes scss to component and reduce custom styles (#20847) 2021-08-16 14:10:58 +00:00
Mike Surowiec
7955c52b99 Scope image.scss styles to markdown-body, fix emoji rendering (#20805) 2021-08-12 19:37:07 +00:00
Mike Surowiec
c433c43019 Sidebar refactor: scope css + more (#20837)
* refactor sidebar, scope css, wire up nav events to link component, update tests

* remove link onClick analytics event

* fix: missing key on breadcrumbs
2021-08-12 15:28:32 -04:00
Mike Surowiec
23f4681b42 Scope product-callout and contributor-callout css to component (#20801)
* remove custom css for product-callout and contributor-callout

* create callout component, update existing test

* use Callout in more places
2021-08-11 17:50:20 +00:00
Grace Park
9d78bbc38c Fixing h4 and h5 header font sizes (#20782)
* Fixing h4 and h5 font sizes

* remove line space
2021-08-10 23:55:21 +00:00
Mike Surowiec
a511c95c7f SCSS and Component cleanup (pt 1) (#20572)
* turn article.scss into a module + componentized

* Update Survey to use only component styles, add cancel button

* Update GenericError + 404 page to use only standard classes

* update LearningTrack to not use markdown-body

* remove / consolidate stylesheets

* cleanup Graphiql explorer page and scss

* Componentize Breadcrumb styles

* Componentize DeprecationBanner styles

* scope h2 a link style to markdown-body

* cleanup nav, organize page-header and page-footer components

* remove unused scroll-button.scss

* organize LanguagePicker and ProductPicker

* add declarations file

* remove featured-links.scss, update tests

* update list utility and toc test

* fix bad merge resolution

* update breadcrumbs test
2021-07-29 17:27:20 +00:00
Kevin Heis
c00196f60e Remove toggle images (#20573) 2021-07-28 21:23:49 +00:00
Grace Park
426d7e7f1e UX change for rest references - show expandable content (#20561)
* update ux for rest

* removing my arrow and using the current one
2021-07-28 12:08:53 -07:00
Grace Park
8ba413cabc React Cleanup: Documentation (#20517)
* initial documentation changes

* editing layouts terminology

* update to match other files

* move javascripts to components/lib

* fix: dockerfile

* update based on Mikes updates to the javascripts directory

* update components/README.md

Co-authored-by: Mike Surowiec <mikesurowiec@users.noreply.github.com>
2021-07-27 09:07:18 -07:00
Grace Park
44f451eb09 Removing webpack build step (#20405)
* removing webpack build step

* keep copywebpackplugin and add fonts to assets/fonts

* update marketing font path

* update font path

* update font

* remove builtAssets

* remove copying front end code with dist

* move Inter fonts to /assets/fonts/inter

* move copy-webpack-plugin back to deps

Co-authored-by: Mike Surowiec <mikesurowiec@users.noreply.github.com>
2021-07-22 09:11:30 -07:00
Mike Surowiec
df38087aed Update 404/500 pages to no longer use liquid templates (#20450)
* Update 404/500 page rendering to no longer use liquid templates

* updating tests

* remove unused path

Co-authored-by: Grace Park <gracepark@github.com>
2021-07-21 12:22:30 -07:00
Kevin Heis
8a56437c93 Pretty format (#20352)
* Update prettier flow to include JS

* Run prettier

* ...run prettier
2021-07-14 14:35:01 -07:00
Rachael Sewell
6d248082b5 sidebar style updates (#19929) 2021-06-24 11:15:24 -07:00
Mike Surowiec
b084dbc23d React: Enable all remaining pages (#20012)
* enable all remaining pages

* update tests for survey, filter card dropdowns

* fix search test

* fix: mobile search layout

* update sidebar test

* fix: learning track page is optional

* fix broken links
2021-06-21 19:52:58 +00:00
Mike Surowiec
83e33cc9bb Quiet sass warnings (#19960)
* npm install sass@latest

* add quietDeps: true to webpack config

* prevent error message from hmr abort, cleans up the log

Co-authored-by: Sarah Schneider <sarahs@github.com>
2021-06-16 19:47:01 +00:00
Mike Surowiec
bf21cd1104 fix header styling, add missing sectionLinks (#19915) 2021-06-15 16:35:19 +00:00
Grace Park
3f248976ad Merge branch 'main' of https://github.com/github/docs-internal into grace-header-styling 2021-06-10 18:08:33 -07:00
Felicity Chapman
23b0b84111 Add Code security landing and guides pages (#19650) 2021-06-10 20:14:56 +00:00
Grace Park
c8ceeb35f2 Merge branch 'main' of https://github.com/github/docs-internal into grace-header-styling 2021-06-10 09:37:13 -07:00
Grace Park
e0c6211b65 adding more styling and graphql changes - should be ready to run script 2021-06-10 09:32:16 -07:00
Rachael Sewell
3e10ebbe61 css for ghes release notes links (#19803) 2021-06-09 20:50:41 +00:00
Mike Surowiec
04ba91fda0 Refactor React Header component (#19755) 2021-06-07 23:31:32 +00:00
Kevin Heis
516106b7c5 Rename "helpfulness" to survey (#19727) 2021-06-04 12:22:31 -07:00
Grace Park
05fb4cb9b2 adding just the styling for header update 2021-06-04 10:29:21 -07:00
Mike Surowiec
e0d9a061a3 React category / sub-landing page (#19635)
Re-work routes to use GlobalPage, implements TocLanding, bundle of minor cleanup / fixes
2021-06-02 16:28:39 +00:00
Kevin Heis
eb23bfbefa Remove breadcrumb whitespace (#19364) 2021-05-17 08:50:24 -07:00
Grace Park
2f832b6878 Changing Sidebar Style Changes (#6391)
This PR is updating the sidebar so that the current active page sidebar is viewable via bold and the marker.
2021-05-13 17:47:31 +00:00
Kevin Heis
3021b260a5 Update guides section to use a standard bg color (#19289)
* Update guides section to use a standard bg color

* Update product-landing.html
2021-05-13 15:11:38 +00:00
Kevin Heis
08ec46d0d1 Render color mode settings from github/github cookie (#19275)
* Add color mode selector in footer

* Interpret color mode from cookie

* Update render-page.js

* Delete color-mode.js

* Update render-page.js

* Make this more resilient to HTML tag changes

* Update scroll-button.scss
2021-05-13 14:45:11 +00:00
Kevin Heis
d47d795e7c Enable dark mode, matching OS setting (#18749)
* Enable dark mode, matching OS setting

* A few more dark mode tweaks

* Revert mountain opacity

* Update mountains on homepage to rgba

* Revert "Update sidebar to use primer backgrounds (#18818)"

This reverts commit 229ce4518f.

* Revert "Revert "Update sidebar to use primer backgrounds (#18818)""

This reverts commit 5845e25c5d5236776fb83acc42a3444b5f44b960.

* Update overrides.scss

* Remove labtocat and waldocat from 500 and 404

* Readd sidebar changes
2021-05-10 11:06:54 -07:00
Ethan Palm
18c71b152b Language support across GitHub products (#18677)
* Update content

* Create github-language-support.md

* Add reminder HTML comments

* Add link to supported languages article

* Add intro for GitHub's products

* Add note to list of CodeQL supported languages

* table with package managers

* Update table and add conceptual info

* Versioning to fix broken links

* Fix table layout

* Add package managers to table

* Fix versioning syntax

* Incorporate reviewer feedback

* Center table headers

* Update Dependabot features in table

* Add footnote for third-party code scanning support

* Update link

* support native markdown table alignments

* Update links for ghes2.22

* Use proper names of package managers

* Add Scala

* Adjust conceptual info

* Flip table axes

* Delete unused reusables

* Update link to Packages info

* fix merge conflict

* fix other merge conflict

* Update codeql-languages-bullets.md

* Revert "Update codeql-languages-bullets.md"

This reverts commit 69547205f5e43a8fbf3edc51c89f0f647eef285a.

* Update article topic to sentence case

Co-authored-by: Sarah Schneider <sarahs@github.com>
2021-05-10 12:35:34 -04:00
Sarah Schneider
8b52142fa5 add anchors to product landing and sublanding elements so we can deep link to them 2021-04-30 14:42:21 -04:00
Sarah Schneider
d976323089 remove individual image toggle code 2021-04-27 10:29:03 -04:00
Sarah Schneider
ecbaf0efe5 Merge branch 'main' of github.com:github/docs-internal into toggle-images 2021-04-26 14:41:16 -04:00
Kevin Heis
a7623cdb62 Reorganize SCSS without changing any of the properties or values (#18963)
* Reorganize SCSS without changing any of the properties or values

* Mis-moved a few files

* Split up "other"
2021-04-26 16:18:25 +00:00
Sarah Schneider
1b5c67542d reduce transition time 2021-04-23 10:23:26 -04:00
Sarah Schneider
46ce4da9e6 mimic the procedural-image-wrapper class styles 2021-04-23 10:23:11 -04:00
Sarah Schneider
c7f34dfc31 fix margins in icons at bottom of page 2021-04-22 12:24:18 -04:00
Sarah Schneider
0971f6e6ae put toggle images button down next to scroll button 2021-04-22 12:17:31 -04:00
Sarah Schneider
75d2dcf136 Merge branch 'main' of github.com:github/docs-internal into toggle-images 2021-04-22 11:16:51 -04:00
Kevin Heis
d629ca00d0 Remove unused custom styling (#18912) 2021-04-22 15:04:33 +00:00
Kevin Heis
9d13602e29 Import missing avatar style (#18895) 2021-04-21 14:26:00 +00:00
Kevin Heis
ce508dbe65 Remove thead background (#18883)
* Remove thead background

* Update tables.scss
2021-04-20 21:12:49 +00:00
Kevin Heis
79ecb96316 End "custom core" primer, use regular core instead (#18887) 2021-04-20 17:30:57 +00:00
Sarah Schneider
6a708b9a49 wrap images in a button so they can be individually toggled 2021-04-16 14:55:16 -04:00