Skip to content

Commit

Permalink
Update homepage with news
Browse files Browse the repository at this point in the history
  • Loading branch information
csauve committed Nov 7, 2024
1 parent 2b059aa commit be91aef
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 36 deletions.
38 changes: 4 additions & 34 deletions src/content/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,42 +29,12 @@ Everyone makes mods for different reasons, be it rebalancing the sandbox, learni

# What's new?
{% alert type="success" %}
**March 2024:** c20 received a facelift and has new and revised information, mainly for H1:
**November 2024:** Search is now limited to the current site section by default (e.g. /h3). We also have a few recently added guides:
* [H3 decal placement guide](~h3/guides/map-making/decals)
* [H3 Blender level guide - Light baking](~h3/guides/map-making/baked-lighting)
* [H1 Reflection cubemaps](~h1/guides/levels/reflection-cubemaps)
{% /alert %}

* Tools:
* [Combined HEK and H1A tools](~h1-ek) under common pages, with callouts on differences.
* Listed [obsolete tools](~obsolete) in once place to cut down on junk pages.
* Documentd [Deathstar deprotector](~deathstar).
* Centralized [mod tools installation](~general/mod-tools#installation).
* Tags:
* Added [actor type definitions](~actor#actor-type-definitions).
* Explained [shader_model change color](~h1/tags/shader/shader_model#change-color).
* Added descriptions for various tag fields.
* Added explanation of [aim assist](~h1/tags/object/item/weapon#aim-assist).
* Scripting:
* Updated some examples on the [scripting](~h1/scripting) page to be clearer.
* Added a page with [advanced scripting techniques](~advanced-scripting).
* Added [more limits](~h1/scripting/limits) and better described existing ones.
* Documented the [Halo Script Preprocessor](~halo-script-preprocessor).
* Added descriptions for some [functions](~h1/scripting#other-functions) and [globals](~h1/scripting#external-globals).
* Engine:
* Listed all `game_variant` [options](~game-modes) for testing MP modes in Standalone.
* Updated descriptions of [game state](~game-state), added glow datum.
* Described [AI props](~ai#props) and [AI actions](~ai#actions).
* Guides:
* Flatter page organization.
* Reworked some content into a ["My first box level" guide](~h1/guides/levels/box-level).
* Moved [Blender setup and tips](~blender) to the Blender page, same for the [Toolset](~halo-asset-blender-development-toolset).
* Added a [map porting overview](~porting-maps).
* Added troubleshooting of ["waiting for space to clear"](~player-spawns#troubleshooting-waiting-for-space-to-clear).
* Other:
* Added an overview of the [sealed world rules](~bsp-troubleshooting#sealed-world-rules).
* Moved the [scale and unit conversions page](~scale) and improved descriptions of units.
* Improved descriptions for [H1 materials and symbols](~h1-materials).
* General editing to be less Custom Edition-centric, be more clear, fix typos, add cross-references, etc.
* Mobile-friendly interface with swipe gesture support.

# Getting started
New to modding? Check out the [general information section](~general). Each other section in the sidebar will allow you to explore game-specific guides and reference materials.

Expand Down
4 changes: 2 additions & 2 deletions src/lib/components/Search/Search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {useLocalize} from "../Locale/Locale";

const localizations = {
searchPlaceholder: {
en: "Search all pages... [S]",
en: (section) =>`Search ${section}... [S]`,
},
searchResults: {
en: "Search results",
Expand Down Expand Up @@ -165,7 +165,7 @@ export default function Search(props: SearchProps) {
ref={inputRef}
className={`search-input ${isNonEmptyQuery ? "nonempty" : ""}`}
type="text"
placeholder={localize("searchPlaceholder")}
placeholder={localize("searchPlaceholder")(props.currentSection == "/" || !state.filterToSection ? "all pages" : props.currentSection)}
disabled={!props.searchIndex}
value={state.query}
onInput={handleInput}
Expand Down

0 comments on commit be91aef

Please sign in to comment.