diff --git a/OurUmbraco/OurUmbraco.csproj b/OurUmbraco/OurUmbraco.csproj
index 0dc9d0ee..5cfb2b5f 100644
--- a/OurUmbraco/OurUmbraco.csproj
+++ b/OurUmbraco/OurUmbraco.csproj
@@ -621,6 +621,7 @@
+
diff --git a/OurUmbraco/Repository/Controllers/PackageRepositoryController.cs b/OurUmbraco/Repository/Controllers/PackageRepositoryController.cs
index 73d278fb..e534e2c0 100644
--- a/OurUmbraco/Repository/Controllers/PackageRepositoryController.cs
+++ b/OurUmbraco/Repository/Controllers/PackageRepositoryController.cs
@@ -123,8 +123,45 @@ namespace OurUmbraco.Repository.Controllers
}
};
}
+
+ public IEnumerable GetCategories()
+ {
+ return new[]
+ {
+ new Models.Category
+ {
+ Icon = "icon-male-and-female",
+ Name = "Collaboration"
+ },
+ new Models.Category
+ {
+ Icon = "icon-molecular-network",
+ Name = "Backoffice extensions"
+ },
+ new Models.Category
+ {
+ Icon = "icon-brackets",
+ Name = "Developer tools"
+ },
+ new Models.Category
+ {
+ Icon = "icon-wand",
+ Name = "Starter kits"
+ },
+ new Models.Category
+ {
+ Icon = "icon-medal",
+ Name = "Umbraco Pro"
+ },
+ new Models.Category
+ {
+ Icon = "icon-wrench",
+ Name = "Website utilities"
+ }
+ };
+ }
- public IEnumerable GetPopular(int maxResults = 10)
+ public IEnumerable GetPopular(int maxResults)
{
return GetTestData().Take(maxResults);
}
diff --git a/OurUmbraco/Repository/Models/Category.cs b/OurUmbraco/Repository/Models/Category.cs
new file mode 100644
index 00000000..b2fabb66
--- /dev/null
+++ b/OurUmbraco/Repository/Models/Category.cs
@@ -0,0 +1,8 @@
+namespace OurUmbraco.Repository.Models
+{
+ public class Category
+ {
+ public string Icon { get; set; }
+ public string Name { get; set; }
+ }
+}
\ No newline at end of file