Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:01,440 --> 00:00:03,290
Now based on the page sections
2
00:00:03,290 --> 00:00:05,950
that we defined in the last lecture,
3
00:00:05,950 --> 00:00:08,070
So in step number two,
4
00:00:08,070 --> 00:00:09,750
let's now very quickly think
5
00:00:09,750 --> 00:00:11,230
about some components
6
00:00:11,230 --> 00:00:13,270
that we might need in our page
7
00:00:13,270 --> 00:00:16,083
and some first layout ideas as well.
8
00:00:17,960 --> 00:00:21,440
And remember that this is an iterative process.
9
00:00:21,440 --> 00:00:23,100
So you will never arrive
10
00:00:23,100 --> 00:00:25,530
at a perfect solution immediately,
11
00:00:25,530 --> 00:00:28,670
but usually only after experimenting
12
00:00:28,670 --> 00:00:30,590
a little bit around.
13
00:00:30,590 --> 00:00:32,590
Also, we don't have to think about
14
00:00:32,590 --> 00:00:34,960
the entire page just yet.
15
00:00:34,960 --> 00:00:35,830
All right.
16
00:00:35,830 --> 00:00:37,870
And so that's what people do here
17
00:00:37,870 --> 00:00:39,860
in this lecture as well.
18
00:00:39,860 --> 00:00:41,680
But anyway, here we have
19
00:00:41,680 --> 00:00:43,550
an outline of the sections
20
00:00:43,550 --> 00:00:46,400
that we arrived at in the last lecture.
21
00:00:46,400 --> 00:00:47,510
Remember that?
22
00:00:47,510 --> 00:00:50,330
And so now let's, for a few of them here,
23
00:00:50,330 --> 00:00:52,043
think about some of the components
24
00:00:52,043 --> 00:00:53,720
that we might need.
25
00:00:53,720 --> 00:00:56,130
And so the logo and navigation,
26
00:00:56,130 --> 00:00:58,890
we will not worry about at this point,
27
00:00:58,890 --> 00:01:01,133
but let's think about the Hero section.
28
00:01:01,980 --> 00:01:05,650
So I was thinking of using a Hero like this.
29
00:01:05,650 --> 00:01:07,010
And so this is basically one
30
00:01:07,010 --> 00:01:10,660
of the examples that we got in the,
31
00:01:10,660 --> 00:01:13,360
I think the layout's gallery lecture.
32
00:01:13,360 --> 00:01:15,340
So in the previous section,
33
00:01:15,340 --> 00:01:17,120
and so this is because we have
34
00:01:17,120 --> 00:01:18,980
a Hero image that looks
35
00:01:18,980 --> 00:01:20,500
a little bit like this.
36
00:01:20,500 --> 00:01:22,350
So a Hero image that we got
37
00:01:22,350 --> 00:01:24,270
from the Omnifood content
38
00:01:24,270 --> 00:01:25,640
and which would look nice
39
00:01:25,640 --> 00:01:28,650
here on the right side of the Hero section.
40
00:01:28,650 --> 00:01:31,730
So just like here, then also in the content,
41
00:01:31,730 --> 00:01:35,530
we have some headline and we have also a summary.
42
00:01:35,530 --> 00:01:37,220
And so basically we have
43
00:01:37,220 --> 00:01:39,640
our content follow a little bit,
44
00:01:39,640 --> 00:01:41,870
the example that we have here.
45
00:01:41,870 --> 00:01:44,341
So remember the very important principle
46
00:01:44,341 --> 00:01:47,330
that I mentioned a couple of times already,
47
00:01:47,330 --> 00:01:48,830
which is that the design
48
00:01:48,830 --> 00:01:50,680
and the layout must follow
49
00:01:50,680 --> 00:01:54,150
the content and not the other way around.
50
00:01:54,150 --> 00:01:54,990
Okay.
51
00:01:54,990 --> 00:01:56,810
And so we have a Hero image
52
00:01:56,810 --> 00:01:58,670
that we got from Omnifood,
53
00:01:58,670 --> 00:02:00,740
which looks a bit like this.
54
00:02:00,740 --> 00:02:02,630
And so we can then use
55
00:02:02,630 --> 00:02:05,700
this very common form of a Hero section.
56
00:02:05,700 --> 00:02:06,860
Right?
57
00:02:06,860 --> 00:02:08,760
Next, we're also gonna have a featured
58
00:02:08,760 --> 00:02:11,450
insection and that will simply look
59
00:02:11,450 --> 00:02:14,580
like this, probably without the text,
60
00:02:14,580 --> 00:02:16,080
which we do not have,
61
00:02:16,080 --> 00:02:18,180
but it's simply going to be some logos,
62
00:02:18,180 --> 00:02:20,320
one beside the other.
63
00:02:20,320 --> 00:02:21,460
Then next up,
64
00:02:21,460 --> 00:02:23,550
we have the how it works section
65
00:02:23,550 --> 00:02:25,554
and here I was thinking
66
00:02:25,554 --> 00:02:26,940
of using something like this,
67
00:02:26,940 --> 00:02:28,100
but we do actually have
68
00:02:28,100 --> 00:02:30,450
a lot more content than this,
69
00:02:30,450 --> 00:02:31,710
especially the text
70
00:02:31,710 --> 00:02:33,890
is a bit longer than this one here.
71
00:02:33,890 --> 00:02:35,250
And so we will probably
72
00:02:35,250 --> 00:02:37,420
put them one after the other.
73
00:02:37,420 --> 00:02:40,640
So using some kind of Z pattern for example,
74
00:02:40,640 --> 00:02:41,473
but I will show you
75
00:02:41,473 --> 00:02:43,820
what the layout that I ended up with
76
00:02:43,820 --> 00:02:45,360
in a minute as well.
77
00:02:45,360 --> 00:02:48,600
But first let's go here through the components.
78
00:02:48,600 --> 00:02:51,010
So next up, we have the meals section,
79
00:02:51,010 --> 00:02:52,940
and if we take a look at the content,
80
00:02:52,940 --> 00:02:55,030
there we had two different meals
81
00:02:55,030 --> 00:02:57,410
and then also a list of diets.
82
00:02:57,410 --> 00:02:59,830
And so for each of these two meals,
83
00:02:59,830 --> 00:03:01,920
we're going to use a cart
84
00:03:01,920 --> 00:03:04,360
that looks a little bit like this.
85
00:03:04,360 --> 00:03:06,360
So basically with an image on top,
86
00:03:06,360 --> 00:03:09,840
and then with some data about the recipe
87
00:03:09,840 --> 00:03:12,540
or about the meal and using
88
00:03:12,540 --> 00:03:14,130
some icons there as well,
89
00:03:14,130 --> 00:03:16,790
just like in this component right here.
90
00:03:16,790 --> 00:03:17,623
Finally,
91
00:03:17,623 --> 00:03:19,960
let's also think about the testimonials
92
00:03:19,960 --> 00:03:21,650
and gallery section.
93
00:03:21,650 --> 00:03:22,483
And so here,
94
00:03:22,483 --> 00:03:24,020
I had the idea of putting
95
00:03:24,020 --> 00:03:26,010
the testimonials on one side
96
00:03:26,010 --> 00:03:28,600
and the gallery on the other side.
97
00:03:28,600 --> 00:03:29,940
And so the testimonials
98
00:03:29,940 --> 00:03:32,060
might look something like this.
99
00:03:32,060 --> 00:03:34,800
So basically this two by two grid,
100
00:03:34,800 --> 00:03:38,020
because we do also have four testimonials.
101
00:03:38,020 --> 00:03:39,520
And then on the right side,
102
00:03:39,520 --> 00:03:42,250
we could use a gallery like this.
103
00:03:42,250 --> 00:03:44,310
So a very simple gallery,
104
00:03:44,310 --> 00:03:46,870
just three by four images.
105
00:03:46,870 --> 00:03:48,790
And that is because we also have
106
00:03:48,790 --> 00:03:51,720
exactly 12 images in that folder
107
00:03:51,720 --> 00:03:53,890
that we got from Omnifood.
108
00:03:53,890 --> 00:03:55,910
So I think this could be a nice section
109
00:03:55,910 --> 00:03:57,630
with these two components,
110
00:03:57,630 --> 00:03:59,966
basically side by side.
111
00:03:59,966 --> 00:04:01,130
All right.
112
00:04:01,130 --> 00:04:02,960
And putting it all together,
113
00:04:02,960 --> 00:04:05,280
I arrived at a layout that might look
114
00:04:05,280 --> 00:04:07,810
something like this.
115
00:04:07,810 --> 00:04:09,590
So as I said before,
116
00:04:09,590 --> 00:04:12,640
I like to do these sketches always by hand.
117
00:04:12,640 --> 00:04:15,054
And so this is exactly the type of sketch
118
00:04:15,054 --> 00:04:16,670
that I always make
119
00:04:16,670 --> 00:04:19,540
before coding any new website.
120
00:04:19,540 --> 00:04:20,951
And as I said also before,
121
00:04:20,951 --> 00:04:24,070
it is not the entire page here,
122
00:04:24,070 --> 00:04:27,160
but maybe something like the first half.
123
00:04:27,160 --> 00:04:28,210
So it's just,
124
00:04:28,210 --> 00:04:30,040
so we get a general feeling
125
00:04:30,040 --> 00:04:31,780
of the overall layout
126
00:04:31,780 --> 00:04:33,960
and of some of the components
127
00:04:33,960 --> 00:04:37,090
that we want to use for the content.
128
00:04:37,090 --> 00:04:38,700
Also, I would usually create
129
00:04:38,700 --> 00:04:40,640
a couple of different sketches
130
00:04:40,640 --> 00:04:42,890
just to experiment around a little bit,
131
00:04:42,890 --> 00:04:43,770
like I said,
132
00:04:43,770 --> 00:04:45,680
in the beginning of this lecture,
133
00:04:45,680 --> 00:04:47,000
but here, of course,
134
00:04:47,000 --> 00:04:49,170
in this course, and in this lecture,
135
00:04:49,170 --> 00:04:50,700
I need to keep it short.
136
00:04:50,700 --> 00:04:54,050
And so I'm just showing you what I arrived at.
137
00:04:54,050 --> 00:04:55,803
And if you still had any doubt,
138
00:04:55,803 --> 00:04:58,840
if I was something like an artist,
139
00:04:58,840 --> 00:05:01,440
then this sketch should be proved
140
00:05:01,440 --> 00:05:04,640
that I'm definitely not an artist.
141
00:05:04,640 --> 00:05:06,530
Right. But of course,
142
00:05:06,530 --> 00:05:08,770
here the quality of the drawing
143
00:05:08,770 --> 00:05:10,410
does not matter at all.
144
00:05:10,410 --> 00:05:13,810
We just want to get our ideas out of our head.
145
00:05:13,810 --> 00:05:17,600
And so for that, the sketch like this is perfect,
146
00:05:17,600 --> 00:05:19,240
but anyway, of course here,
147
00:05:19,240 --> 00:05:22,540
this first section is the Hero section.
148
00:05:22,540 --> 00:05:25,130
Then here is that featured insection
149
00:05:25,130 --> 00:05:27,940
with these five logos side by side.
150
00:05:27,940 --> 00:05:30,890
Then next we have the, how it works section.
151
00:05:30,890 --> 00:05:33,040
And as I mentioned previously,
152
00:05:33,040 --> 00:05:35,030
we do actually have a lot more text
153
00:05:35,030 --> 00:05:37,740
content in or content file.
154
00:05:37,740 --> 00:05:40,600
Than we have here in this example component.
155
00:05:40,600 --> 00:05:44,070
And so we will put these steps here,
156
00:05:44,070 --> 00:05:48,280
basically one after another using this Z pattern.
157
00:05:48,280 --> 00:05:51,510
So can you recognize the Z pattern here?
158
00:05:51,510 --> 00:05:52,940
So that's something again,
159
00:05:52,940 --> 00:05:56,030
that we studied before in the last section,
160
00:05:56,030 --> 00:05:57,280
I believe.
161
00:05:57,280 --> 00:05:59,550
But anyway, next up, as I said,
162
00:05:59,550 --> 00:06:00,980
we will then have these cards
163
00:06:00,980 --> 00:06:03,020
here for the two meals
164
00:06:03,020 --> 00:06:05,440
that will be in the meal section.
165
00:06:05,440 --> 00:06:07,470
And then of course we will have
166
00:06:07,470 --> 00:06:09,400
the testimonials here on the left side,
167
00:06:09,400 --> 00:06:10,890
in the next section
168
00:06:10,890 --> 00:06:13,600
and also the gallery on the right side.
169
00:06:13,600 --> 00:06:15,080
And I think that this will create
170
00:06:15,080 --> 00:06:19,030
a really, really nice layout for this section.
171
00:06:19,030 --> 00:06:19,960
Okay.
172
00:06:19,960 --> 00:06:23,270
And yeah, for now that's actually it.
173
00:06:23,270 --> 00:06:25,280
So this is our initial plan
174
00:06:25,280 --> 00:06:27,110
basically of how we will create
175
00:06:27,110 --> 00:06:29,460
the layout of this page.
176
00:06:29,460 --> 00:06:31,530
And I will discuss each of the sections
177
00:06:31,530 --> 00:06:32,363
of course,
178
00:06:32,363 --> 00:06:33,770
in a little bit more detail
179
00:06:33,770 --> 00:06:35,880
as we reach them as we go
180
00:06:35,880 --> 00:06:37,840
through the project here.
181
00:06:37,840 --> 00:06:41,600
Okay. And once again, I really hope
182
00:06:41,600 --> 00:06:43,270
that it was helpful for you
183
00:06:43,270 --> 00:06:46,810
to kind of get a look at what my process is
184
00:06:46,810 --> 00:06:49,080
and how I do these sketches
185
00:06:49,080 --> 00:06:52,650
and really how I come up with layouts on my own,
186
00:06:52,650 --> 00:06:55,230
because this is really all that matters
187
00:06:55,230 --> 00:06:57,230
for me in this project.
188
00:06:57,230 --> 00:06:59,160
So I don't just want you to learn
189
00:06:59,160 --> 00:07:01,220
how to build this specific project,
190
00:07:01,220 --> 00:07:02,210
of course.
191
00:07:02,210 --> 00:07:03,160
I want you to learn
192
00:07:03,160 --> 00:07:05,240
how to actually come up with your own
193
00:07:05,240 --> 00:07:09,050
layouts based on your own content in the future.
194
00:07:09,050 --> 00:07:10,650
And so that's why I'm putting
195
00:07:10,650 --> 00:07:13,890
so much emphasis here on this planning step.
196
00:07:13,890 --> 00:07:15,980
I think it is really crucial
197
00:07:15,980 --> 00:07:18,250
and I believe that you will experiment
198
00:07:18,250 --> 00:07:21,680
the same once you really have to start building
199
00:07:21,680 --> 00:07:23,780
some layout on your own,
200
00:07:23,780 --> 00:07:27,220
which hopefully will be sooner than later.
201
00:07:27,220 --> 00:07:28,510
But anyway,
202
00:07:28,510 --> 00:07:30,560
let's now finally start writing
203
00:07:30,560 --> 00:07:32,170
our first line of code
204
00:07:32,170 --> 00:07:33,433
in the next lecture.
13391
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.