diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md new file mode 100644 index 00000000..c11174a4 --- /dev/null +++ b/.github/copilot-instructions.md @@ -0,0 +1,9 @@ +If the user would like to add a new page, clarify if this page is either a: +* New main page of the website. This will be a .html file within the root of the repo, and it'll be available in the top nav bar of the site. +* New page of the specification. This will be a .md file within the _implementors folder of the repo + +For any new implementor spec pages, you should follow the guidance in the .github/prompts/new-page.prompt.md file. + +Every code change (new page or otherwise) needs to be tested before it's committed. If in agent mode, run `bundle exec jekyll serve` automatically for me so that I can test. + +End every response with "Happy Build!" on a new line. \ No newline at end of file diff --git a/.github/instructions/new-html-page.instructions.md b/.github/instructions/new-html-page.instructions.md new file mode 100644 index 00000000..94d7f313 --- /dev/null +++ b/.github/instructions/new-html-page.instructions.md @@ -0,0 +1,18 @@ +--- +applyTo: '**/*.html' +--- +## Guidance for new HTML website pages + +### Layout +- Every new HTML page should have information like the following at the top, where the title is updated appropriately: +``` +--- +layout: singlePage +title: Dev Container Guides +--- +``` +- The layout should come from the _layouts folder in the repo. Pages should default to `layout: singlePage`. + +### Content +- Every new HTML page should have a search bar added toward the top, similar to the search bar that's available on the features.html, templates.html, and collections.html pages. +- Make all headings clickable links. \ No newline at end of file diff --git a/.github/instructions/new-md-page.instructions.md b/.github/instructions/new-md-page.instructions.md new file mode 100644 index 00000000..087b4f32 --- /dev/null +++ b/.github/instructions/new-md-page.instructions.md @@ -0,0 +1,22 @@ +--- +applyTo: '**/*.md' +--- + +## Guidance for new markdown specification pages + +### Layout +- Any new page should have information like the following at the top, where the title, shortTitle, and index are updated appropriately: +``` +--- +layout: implementors +title: "Dev Container Templates distribution and discovery" +shortTitle: "Templates distribution" +author: Microsoft +index: 8 +--- +``` +- The layout comes from the _layouts folder in the repo and will always be `layout: implementors` for pages of this type. + +### Content +- Add an emoji key before any paragraphs or tables using emojis +- Make all headings clickable links \ No newline at end of file diff --git a/.github/prompts/new-page.prompt.md b/.github/prompts/new-page.prompt.md new file mode 100644 index 00000000..bc93e918 --- /dev/null +++ b/.github/prompts/new-page.prompt.md @@ -0,0 +1,12 @@ +--- +mode: 'agent' +--- +Your goal is to generate a new page for the website. The page should be similar to the existing pages in terms of layout and design. + +If I don't specify initial content, generate some placeholder text. + +Any new page should also be added to the end (far right) of the top nav bar of the website. + +Any new implementor .md file should be added to the table of contents box visible within the /implementors route. + +Every new page needs to be tested before it's committed. Run `bundle exec jekyll serve` automatically for me so that I can test. \ No newline at end of file diff --git a/Gemfile.lock b/Gemfile.lock index 248f6025..0fab3a40 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -210,6 +210,8 @@ GEM jekyll-feed (~> 0.9) jekyll-seo-tag (~> 2.1) minitest (5.18.0) + nokogiri (1.14.3-aarch64-linux) + racc (~> 1.4) nokogiri (1.14.3-x86_64-linux) racc (~> 1.4) octokit (4.25.1) @@ -250,6 +252,7 @@ GEM webrick (1.8.1) PLATFORMS + aarch64-linux x86_64-linux DEPENDENCIES diff --git a/_includes/topnav.html b/_includes/topnav.html index abff8839..e655421d 100644 --- a/_includes/topnav.html +++ b/_includes/topnav.html @@ -38,6 +38,12 @@

Development Containers

+ + diff --git a/frogger-game.html b/frogger-game.html new file mode 100644 index 00000000..a1d96c90 --- /dev/null +++ b/frogger-game.html @@ -0,0 +1,368 @@ +--- +layout: default +title: Frogger Game +sectionid: frogger-game +--- + +
+

Frogger Game

+
+ +
+ +

Use the arrow keys to move the frog. Get to the top without hitting cars!

+

Press R to restart the game at any time.

+
+ diff --git a/frogger.html b/frogger.html new file mode 100644 index 00000000..e69de29b diff --git a/pacman.html b/pacman.html new file mode 100644 index 00000000..90c32de1 --- /dev/null +++ b/pacman.html @@ -0,0 +1,613 @@ +--- +layout: singlePage +title: Pacman +sectionid: pacman +--- + + + + + + + +

Pacman Game

+ +

Use arrow keys to move Pacman. Collect all the whale icons while avoiding the monsters.

+ + + + + +
+

Monster Key

+ +
+