From 81c1fc0c14253457c3c4fc24735e787ace1db70b Mon Sep 17 00:00:00 2001 From: Sergey Chebotar Date: Tue, 30 May 2023 07:18:47 +0300 Subject: Add index razor page --- Pages/Shared/_About.cshtml | 20 +++++++++++++++++ Pages/Shared/_Layout.cshtml | 50 +++++++++++++++++++++++++++++++++++++++++ Pages/Shared/_Masthead.cshtml | 11 +++++++++ Pages/Shared/_Navigation.cshtml | 18 +++++++++++++++ Pages/Shared/_Projects.cshtml | 39 ++++++++++++++++++++++++++++++++ Pages/Shared/_SignUp.cshtml | 17 ++++++++++++++ 6 files changed, 155 insertions(+) create mode 100644 Pages/Shared/_About.cshtml create mode 100644 Pages/Shared/_Layout.cshtml create mode 100644 Pages/Shared/_Masthead.cshtml create mode 100644 Pages/Shared/_Navigation.cshtml create mode 100644 Pages/Shared/_Projects.cshtml create mode 100644 Pages/Shared/_SignUp.cshtml (limited to 'Pages/Shared') diff --git a/Pages/Shared/_About.cshtml b/Pages/Shared/_About.cshtml new file mode 100644 index 0000000..e7bffcb --- /dev/null +++ b/Pages/Shared/_About.cshtml @@ -0,0 +1,20 @@ +
+
+
+
+
Шьем с 2017 года.
+

За 6 лет сшили более трех тысяч изделий и осчастливили более тысячи заказчиц. Станьте следующей обладательницей идеального нижнего белья.

+
Что вы получаете, заказывая нижнее белье у нас?
+
    +
  • Ручная работа. Высокое качество.
  • +
  • Составьте свой комплект лифа, трусиков и аксессуаров из нашего каталога.
  • +
  • Сошьем комплект по вашим меркам. Идеальная посадка.
  • +
  • Сделаем трусики и пояса любого размера. Лифы от 70В/75А до 90В.
  • +
+
+
+ +
+
\ No newline at end of file diff --git a/Pages/Shared/_Layout.cshtml b/Pages/Shared/_Layout.cshtml new file mode 100644 index 0000000..9c56830 --- /dev/null +++ b/Pages/Shared/_Layout.cshtml @@ -0,0 +1,50 @@ + + + + + + + + + + + + + My Darling Underwear - нижнее бельё ручной работы + + + + + + + + + + + + @RenderBody() + + + + + + + \ No newline at end of file diff --git a/Pages/Shared/_Masthead.cshtml b/Pages/Shared/_Masthead.cshtml new file mode 100644 index 0000000..531a9a1 --- /dev/null +++ b/Pages/Shared/_Masthead.cshtml @@ -0,0 +1,11 @@ +
+
+
+
+ +

Нижнее бельё ручной работы по индивидуальным меркам

+ Узнать больше +
+
+
+
\ No newline at end of file diff --git a/Pages/Shared/_Navigation.cshtml b/Pages/Shared/_Navigation.cshtml new file mode 100644 index 0000000..7c29a6b --- /dev/null +++ b/Pages/Shared/_Navigation.cshtml @@ -0,0 +1,18 @@ + \ No newline at end of file diff --git a/Pages/Shared/_Projects.cshtml b/Pages/Shared/_Projects.cshtml new file mode 100644 index 0000000..4b9a62e --- /dev/null +++ b/Pages/Shared/_Projects.cshtml @@ -0,0 +1,39 @@ +@using System.Globalization +@using Microsoft.EntityFrameworkCore +@using MyDarling.Models +@inject DataContext context + +@{ + var bundles = context.UnderwearBundles + .Include(b => b.Figures) + .Where(b => b.Price != 0 && b.Figures.Count > 0) + .OrderByDescending(b => b.Id); +} + +
+
+
+ @foreach (var bundle in bundles) + { +
+
+ @bundle.Name + @for (int i = 1; i < @bundle.Figures.Count(); i++) + { + + } +
+
+
@bundle.Name
+ @String.Format(new CultureInfo("ru-RU"), "{0:C0}", @bundle.Price) +
+
+
+
+ } +
+
+
\ No newline at end of file diff --git a/Pages/Shared/_SignUp.cshtml b/Pages/Shared/_SignUp.cshtml new file mode 100644 index 0000000..02584f6 --- /dev/null +++ b/Pages/Shared/_SignUp.cshtml @@ -0,0 +1,17 @@ +
+
+
+
+ +

Сделайте заказ сейчас!

+ +
+
+
+
\ No newline at end of file -- cgit v1.2.3