+
+ // Download CV (.pdf)
+ // Print CV
+
+
+
+ @Html.Raw(Model.Content)
+
+
+
\ No newline at end of file
diff --git a/MyWebsite/MyWebsite/Views/Resume/Print.cshtml b/MyWebsite/MyWebsite/Views/Resume/Print.cshtml
new file mode 100644
index 0000000..a007137
--- /dev/null
+++ b/MyWebsite/MyWebsite/Views/Resume/Print.cshtml
@@ -0,0 +1,23 @@
+@model Resume
+@{
+ Layout = null;
+ ViewData["Title"] = "Print";
+}
+
+@Html.Raw(Model.Content)
+
+
+
+
+
+
\ No newline at end of file
diff --git a/MyWebsite/MyWebsite/Views/Home/Contacts.cshtml b/MyWebsite/MyWebsite/Views/Shared/Contacts.cshtml
similarity index 88%
rename from MyWebsite/MyWebsite/Views/Home/Contacts.cshtml
rename to MyWebsite/MyWebsite/Views/Shared/Contacts.cshtml
index d4ae37f..11476ad 100644
--- a/MyWebsite/MyWebsite/Views/Home/Contacts.cshtml
+++ b/MyWebsite/MyWebsite/Views/Shared/Contacts.cshtml
@@ -8,13 +8,13 @@
- @foreach (Link link in Startup.Database.Links.Where(i => i.CanContactMe))
+ @foreach (Link link in Startup.Database.Links.Where(i => i.CanContactMe).OrderBy(i => i.Id))
{
@(link.Title) @(link.Username)
}
- @foreach (Link link in Startup.Database.Links.Where(i => !i.CanContactMe))
+ @foreach (Link link in Startup.Database.Links.Where(i => !i.CanContactMe).OrderBy(i => i.Id))
{
@(link.Title) @(link.Username)
}
diff --git a/MyWebsite/MyWebsite/Views/Shared/Error.cshtml b/MyWebsite/MyWebsite/Views/Shared/Error.cshtml
index a1e0478..8fb30b1 100644
--- a/MyWebsite/MyWebsite/Views/Shared/Error.cshtml
+++ b/MyWebsite/MyWebsite/Views/Shared/Error.cshtml
@@ -3,23 +3,16 @@
ViewData["Title"] = "Error";
}
-
Error.
-
An error occurred while processing your request.
+
+
Error.
+
An error occurred while processing your request.
+
-@if (Model.ShowRequestId)
-{
-
- Request ID:@Model.RequestId
-
-}
-
-
Development Mode
-
- Swapping to Development environment will display more detailed information about the error that occurred.
-
-
- The Development environment shouldn't be enabled for deployed applications.
- It can result in displaying sensitive information from exceptions to end users.
- For local debugging, enable the Development environment by setting the ASPNETCORE_ENVIRONMENT environment variable to Development
- and restarting the app.
-
+
+ @if (Model.ShowRequestId)
+ {
+
+ Request ID:@Model.RequestId
+
+ }
+
\ No newline at end of file
diff --git a/MyWebsite/MyWebsite/Views/Home/Index.cshtml b/MyWebsite/MyWebsite/Views/Shared/Index.cshtml
similarity index 100%
rename from MyWebsite/MyWebsite/Views/Home/Index.cshtml
rename to MyWebsite/MyWebsite/Views/Shared/Index.cshtml
diff --git a/MyWebsite/MyWebsite/Views/Shared/Projects.cshtml b/MyWebsite/MyWebsite/Views/Shared/Projects.cshtml
new file mode 100644
index 0000000..161516e
--- /dev/null
+++ b/MyWebsite/MyWebsite/Views/Shared/Projects.cshtml
@@ -0,0 +1,35 @@
+@{
+ ViewData["Title"] = "My projects";
+ List badges = Startup.Database.Badges.ToList();
+}
+
+
+
+
My projects
+
Here is presented the most of projects I worked on