mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix(site): remove "Tasks on Docker" as featured template (#24908)
Removes "Tasks on Docker" from the featured/prioritized template lists in the templates empty state and the starter templates gallery. Docker remains as the primary featured starter template. Fixes https://linear.app/codercom/issue/DEVREL-20 > Generated with [Coder Agents](https://coder.com/agents)
This commit is contained in:
@@ -22,9 +22,9 @@ const selectTags = (starterTemplatesByTag: StarterTemplatesByTag) => {
|
||||
};
|
||||
|
||||
const sortVisibleTemplates = (templates: TemplateExample[]) => {
|
||||
// The tasks-docker template should be first, as it's the easiest way to
|
||||
// get started with Coder. The docker template should be second.
|
||||
const featuredTemplateIds = ["tasks-docker", "docker"];
|
||||
// The docker template should be first, as it's the easiest way to get
|
||||
// started with Coder.
|
||||
const featuredTemplateIds = ["docker"];
|
||||
|
||||
const featuredTemplates: TemplateExample[] = [];
|
||||
for (const id of featuredTemplateIds) {
|
||||
|
||||
@@ -10,7 +10,6 @@ import { docs } from "#/utils/docs";
|
||||
|
||||
// Those are from https://github.com/coder/coder/tree/main/examples/templates
|
||||
const featuredExampleIds = [
|
||||
"tasks-docker",
|
||||
"docker",
|
||||
"kubernetes",
|
||||
"aws-linux",
|
||||
|
||||
Reference in New Issue
Block a user