Browse Source

Optimizing images

main
Jonathan McCaffrey 4 years ago
parent
commit
cd22c5ea16
  1. 11
      IGP/IGP.csproj
  2. 2
      IGP/PageLayout.razor
  3. BIN
      IGP/wwwroot/image/hero/Build.png
  4. BIN
      IGP/wwwroot/image/hero/Database.png
  5. BIN
      IGP/wwwroot/image/hero/Notes.png
  6. BIN
      IGP/wwwroot/image/hero/Streams.png
  7. 4
      Model/Notes/NoteContentModel.cs

11
IGP/IGP.csproj

@ -60,15 +60,4 @@
<DependentUpon>Example.resx</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<_ContentIncludedByDefault Remove="wwwroot\content\notes\coop\image\notes\map-lostprovince\Map_LostProvince.png" />
<_ContentIncludedByDefault Remove="wwwroot\image\notes\coop-holdout\CoopBaseLarge.png" />
<_ContentIncludedByDefault Remove="wwwroot\image\notes\coop-holdout\DefendPoints.png" />
<_ContentIncludedByDefault Remove="wwwroot\image\notes\coop-holdout\EnemySpawns.png" />
<_ContentIncludedByDefault Remove="wwwroot\image\notes\coop-holdout\Multipliers.png" />
<_ContentIncludedByDefault Remove="wwwroot\image\notes\coop-holdout\OpenBases.png" />
<_ContentIncludedByDefault Remove="wwwroot\image\notes\coop-holdout\Pyre.png" />
</ItemGroup>
</Project>

2
IGP/PageLayout.razor

@ -70,8 +70,6 @@
{
searchService.Show();
}
Console.WriteLine(keyboardEventArgs.CtrlKey + " " + keyboardEventArgs.Key);
}

BIN
IGP/wwwroot/image/hero/Build.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 666 KiB

After

Width:  |  Height:  |  Size: 4.9 KiB

BIN
IGP/wwwroot/image/hero/Database.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 660 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

BIN
IGP/wwwroot/image/hero/Notes.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 MiB

After

Width:  |  Height:  |  Size: 9.9 KiB

BIN
IGP/wwwroot/image/hero/Streams.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 MiB

After

Width:  |  Height:  |  Size: 11 KiB

4
Model/Notes/NoteContentModel.cs

@ -37,10 +37,6 @@ public class NoteContentModel
{
var regex = new Regex(@"^#* (.*)$", RegexOptions.Multiline);
var listOfMatches = regex.Matches(LoadedContent);
Console.WriteLine($"Name: {Name}");
Console.WriteLine($"Matches: {listOfMatches.Count}");
List<SearchPointModel> foundHeaders = new List<SearchPointModel>();

Loading…
Cancel
Save