How does Time Dilation play out in the game? We've made the capital city on your world, Persepolis, a major hub of your adventures and your experience. And so you go off on your Exodus Journeys and you leave behind your city and some of your friends and maybe even family members and you make choices about them. For example, not everyone has to come on an Exodus with you. You might leave some behind and when you come back it could be a decade later, it could be four decades later, and those choices will have impacted your relationships with people that are now a decade older or three or four decades older. How your city has evolved, how technology has been integrated into everything from the military to, you know, civic structures to well I can go on and on. What makes the Traveler, the Player Character, unique in the story? Jun is the Player Character in the game. You'll have some options in terms of character creation that we'll be talking about at a later time.
So that'll give you some unique aspects to who Jun is for you. But ultimately, your player experience is going to be dictated primarily by the choices you make throughout the experience overall. You'll make choices both at a micro level and a macro level in terms of the overall story and in terms of the things you do with gameplay. So you'll be able to customize your character through some traditional ways that you can do in RPGs with skill trees and progression paths that we think are going to be compelling for players. But on top of that, the choices you make throughout the story are really going to dictate who Jun becomes and ultimately what they're shaped, both by yourself but also the Companions that surround you and your loved ones that, in the cases of Time Dilation, you'll leave them back home in some situations. And the manifestations and ramifications of those choices are going to be meaningful to you and shape you as Jun, the player. What was your vision for the Travelers? Well, actually I'd say that it was more Jesse Sky's vision.
He was the one who solved the puzzle. We were coming up with the universe and figuring out what a player was doing, and Jesse just kind of brought it all together You're going to be part of an organization that goes out and finds these Remnants that you can bring back that will help your world and change the world, and that's going to be the centerpiece of the IP because that's what the player's going to play as, and that's how the Travelers came about.
Jesse is our Creative Director, and he has a really good way of taking all the elements and figuring out how they work holistically, and then coming up with something cool that players will want to be. So that's how the Travelers came about. Yeah, one of the coolest things for, if I can add on to that, is just when it was described to me by James and Jesse early on, there's elements of it that we want to feel elite and somewhat secretive. You can think a little bit of inspiration from like the Jedi, but there's not like a Jedi council in the game that kind of is an overarching kind of structure to it. They're a little bit more rogue, a little bit more independent, but still work towards a common goal of saving humanity, and I think that's kind of a binding force with them on these journeys that they go on that are interstellar and have impact on them timeline-wise that's different from a typical journey. What can we expect in the world of Centauri? Well, the Centauri Cluster, it's the only place within the galactic neighborhood that had worlds that were in the habitable zone and that could be terraformed easily in the grand scheme of things, which is why the first of those who went out on an Exodus on their Ark Ships were able to colonize those worlds and create civilizations.
Those civilizations grew until they were enormous and technologically superior civilizations and they sent out what we call the Green Signal to the rest of the galaxy so that the other Ark Ships out there could come to this galactic Eden. So the Ark Ships started arriving but they arrived slowly over thousands of years. So we have this really interesting dwarf galaxy with thousands of star systems and empires and organizations. Some of them have already died off and there's just the Remnants left while others might be just a few decades old filled with humans who've just got off their Ark Ships who were on Earth like a century before. So the sky's the limit, which is really cool because it means that there are so many different places and eras and civilizations that you can visit within the Centauri Cluster. I think one of the coolest things about the IP in that context of that question is just that juxtaposition. Like the Celestials that have evolved over 40,000 years contrasted with humans that are basically near-Earth to us that just got off Ark Ships. James said this but if you really stop and think about that, they're our descendants that have changed and we're kind of the, as humans, the scrubs of the universe that are fighting to survive and that's where Jun comes in as the Player Character to really reestablish humanity's hope for a future that's meaningful to humans as we know them.
Contrasted with the Celestials who are much more evolved and have done some amazing things in the Centauri universe. How did the scary and dark creatures we saw revealed recently become a part of the universe of EXODUS? Will we interact with them? Oh, the Mara Yama. Of course you're going to interact with them. They're quite creepy and we did want a Celestial civilization that was just evil. We created the, it was probably like a page-long description of the Mara Yama and what they were and what they did. But then we gave that to Peter F. Hamilton and he just dialed it up to like ridiculous and then the company that made the video that you saw, Aaron Sims, they took that and just visualized it in an amazing way. So they're turning out to be as awesomely creepy and evil as we want them to be. Which one of the characters and creatures revealed so far would you like to be in the universe of EXODUS? It has to be in the context of what we've already revealed? Because there's so many good ones. I mean, the game overall.
What character would I want to be in the world of EXODUS that we've revealed so far? Based on that side, I'd probably say Jun. I mean, I'm excited to play as Jun and define him or her to be the player that I want to be in the game. You don't want to be a Crown Celestial? The Crown Celestials can like, literally, they're so smart and they live so long and they can do everything that Jun can do. They have the ability to install writers in their brains so they don't have to, if they're in a difficult situation, they can give themselves a personality that will perfectly match it. I'm thinking of all the uses for that. I'd be a Crown Celestial. But I wouldn't probably, I wouldn't do the whole Mindline thing because that would feel like I was murdering my child.
[Cheerful music plays] Hey, everyone! I'm Justin, and
welcome back to the clubhouse, our special place where we get together
and learn about the world around us. I just got back from my family vacation at the
beach. It was so much fun. We were there for three days, and we did and saw so many amazing things.
I can't wait to tell you all about it. That's why today we are going to talk about the words we
use when telling the order of events happening and about a helpful tool called a timeline
that helps us show them. Let's get into it. Welcome back. I am so glad to have you here
with me today. I can't wait to tell you about everything my family did during our vacation. We
spent three days at the beach, soaking up the sun and playing in the sand. I took a lot of great
pictures, too. I want to make sure I tell you everything in the right order, from beginning
to end. I don't want to leave anything out, so I'm going to show you by using
a special tool called a timeline.
A timeline is a way to show events in the
order they happened. They can also help us understand the past and how things change
over time. If something is in the past, that means it has already happened, like my
beach trip. The present is the current moment, like how you're watching this video right now.
And when we talk about the future, we're talking about something that hasn't happened yet, like how
you haven't finished watching this video just yet. A timeline looks like this. It starts with a line,
then we add smaller lines to show when each event happened. The points on a timeline can stand for
any amount of time: days, weeks, months, or even years. You can even put your best guess about when
something in the future will happen on a timeline. The lines might be really close together
if all the events happened right after each other, or, if there was a long time
in between, they might be farther apart. Some timelines might use words or dates to
tell us more about the events they show, but I'm going to add these boxes so that
we can use the amazing pictures I took. We also read timelines from left to
right, just like a book or a calendar.
This is an example using something that you're
doing right now. Growing up, we all start as babies. Babies can't do anything for themselves,
so other people have to take care of them. Then we get a little bigger and turn into
toddlers. This is somewhere between being a baby and a kid. Toddlers can do some things for
themselves, but they still need a lot of help. Finally, we grow into a bigger kid, just like you.
I bet you could do a lot of things for yourself that you couldn't do before, like get dressed
in the morning or even make your own snacks. Wow, things really do change fast. My story happened over three days,
so each point on my timeline will represent one day. So let's start
with the first day of my vacation. On the first day of vacation, I relaxed
on the beach and I made a sandcastle. It was a lot of work, but so fun to see
the end result. We'll add this picture to our timeline. Now we can see that I built a
sandcastle on the first day of my vacation. On the second day of vacation, I went
snorkeling.
I saw all kinds of amazing creatures who live under the water, like these
fish and this beautiful sea turtle. Now we'll add this picture to the timeline so we can see that I
went snorkeling on the second day of my vacation. On the last day of my vacation,
I had a picnic on the beach and watched the sunset. [sighs contentedly]
It was so beautiful, don't you think? And now we see that I had a picnic on the last
day of my vacation. We can talk about our timeline using the words first, next, and last. First, I
built a sandcastle. Next, I went snorkeling. Last, I had a picnic. The words first, next, and last
help us know the order these events happened in. Wow, it was such a fun trip. I can't believe it's
already over. I am so happy that I could share those experiences with you through my timeline. I
think you're ready to make your own timeline now. Luckily, you can use the PDF that goes with this
lesson to do just that.
Remember to ask yourself what happened first, what happened next, and
what happened last as you're adding each event. Thank you so much for joining me
today, and I will see you next time..
I hear people talking about the atheist experience yes on this local channel you are a Marxist your name is in you're from Russia when it comes to talking about the Bible you guys are just practically illiterate you know what I'd really like to do is I'm just gonna someday I'm going to come down there and punch your fat face in for jesus that's what I want to do really do you think that's what Jesus wants you to do because yeah definitely he's gonna come back and he just does he want me to turn the other cheek no that's not true if your belief is is something that you think is rational that it is based on evidence and not just a faith based assumption that makes you feel good I'd love to know what it is what rational evidence do you have that a God exists is it time because if you just tell me that it's you know I hope that a God exists or I'm playing the safe bet or I really want there to be an afterlife okay great I want to win the lottery I want to be surrounded by naked strippers I said that just so that all you find good Christian folks can say I told you he was in an immoral Athey isn't good thinking about sex all the time do you think that I'm gonna go to hell when I die based on the Bible I would have to say yes okay do you think I deserve that I would have to say yes evidently they're in a struggle and we're just little ants and you think that this one has written a book to tell you that this is the good one and other Christians think that this one has put a little plug in your heart to tell you that this one's the good one maybe this is the good one maybe this is the one that's lying and this one is waiting around to see if you'll ever figure it out if you'll ever wake up and realize that what this one's telling you to do isn't good just because he says it's good if you can't think for yourself no wonder you believe in a god you're claiming there's a lack of evidence and therefore there no reason to believe it yep why God I got how about this how about I just come down and punch your fat head in for Jesus I am an atheist in the sense that I don't believe in a God but what I'm advocating is not an atheist country or an atheist world well I'm advocating as a rational world a secular world that is indifferent and neutral with respect to religion so you would put in a bit minister yes and in there you don't believe with God that's correct there you devilment you
Hello, everyone and welcome to a new series on my YouTube channel. This series is going to be documenting the process of me redesigning rebuilding my website from the very start to the very end when it launches.
I did originally think about doing this.
All in one video.
Just as like an overview of how I built it at the end, when, eventually that happens, but I feel, like I’m going to be able to show you more of my process along the way.
If I’m doing this video in chunks for like each part of the process, You’re gon na be able to see more in depth how I work and yeah just get more of that behind the scenes, and hopefully more learning as well.
So I hope that sounds good to you In today,’s, video, the first in the series we’re gon na dive in with the planning phase Planning the site map planning.
What pages I need to design? This is a really important part of the process.
It’s, maybe not the funnest part of the process, cause it’s.
Not when you’re like arranging pixels on the page and doing cool designs, It’s a lot of the thinking and the planning that goes into it beforehand Before you get to those stages.
But I think it’s just as important and it’s just as important for you to see. So I’m excited to plan along with you today I’ve got my iPad got my Apple Pencil and let’s get going First off.
Let’s take a look at my current website as it stands.
I guess So.
This was designed back in.
I can’t remember now if it was 2014 or 2015, but I just know that it was a while ago And so the design needs some updating.
I’ve changed my branding since then slightly and also this website, just doesn’t really fit to my needs anymore.
It doesn’t really fit what I need from a website.
I used to write pretty regularly on a blog as well on my old website, Not in the past year or so.
But before then I was I’ve decided that I’m not going to be porting this blog over to my new website, Which, by the way I’m gon na, be building in Webflow.
I guess it’s more of a visual way to build a website, so you don’t actually need to know how to code it from scratch to be able to make it in Webflow, And they have a really great CMS as well. It seems really powerful, so I’m excited to try that out.
My current website is built in WordPress and they do have a way that you can like bring all your WordPress posts over to Webflow, but I’ve just decided.
I’m not gon na bother.
I’m gon na like leave those in the past.
There is a couple of posts that I might transport over to my new blog that I’m gon na do which I’ll get into in a second but yeah.
For the most part, this site is going to be completely revamped.
I want my new site to be a little bit more flexible.
I want it to do a few more things as well.
The first thing is, I want it to be my content hub.
This was kind of my idea for the previous one, but it didn’t really turn out that way. It was mostly just the blog posts and links to my latest on the home page, but I want to be able to have my videos on there podcasts on there blog posts on there and all be searchable together, so that if you want to learn about a Certain topic, I will be able to have a page for that with like this video, this blog post, oh and this podcast, that you should listen to on the topic So yeah.
The first thing is bringing all my content together cause right now.
It is just all separated out.
The second thing is obviously because I’m a designer.
I need to have my portfolio on my website and it’s not only my design work that I want to have a new portfolio.
I also want to have like a speaker,’s page, Like a portfolio of my public speaking and workshop efforts to try and attract more of that.
I am also planning on starting to blog again, as I alluded to before, but this time on a slightly different topic.
I really want to write about the behind the scenes of my business So posts about like what it’s like to start up an LLC and working with an accountant income reports, perhaps something I’m thinking of doing These things, I feel don’t, Particularly fit with my YouTube channel, which is more design focused, but they’re still things I want to put out there, So I feel like writing about them, will be a good fit, So that will go on my new website And then.
Lastly, eventually I want to bring a store into this website Right now.
My online store is on a separate platform. It’s a completely different brand as well, but in the future I want to bring that in and have it all in one space.
I’m not going to worry about that for now.
However, So we’re just gon na focus on yeah the content and portfolio side of things.
So with that in mind, let’s start planning, And the first thing I’m gon na do is write down on this page.
Actually, I’m gon na write, content or hire me Cause.
This is the two frames of mind of like what people are looking to do when they come to my website.
As I see it They’re.
Either looking for content to, learn about something, from me.
Or they’re like.
Interested in hiring me. For a, certain thing, With those, in mind, let 39, s start planning what, pages I’m, gon na, need as.
Part of the site The first one is.
Obviously a home page, I feel, like I,’m gon na want a page that’s like a content hub, So I’m, just gon na write content.
That’ll.
Be perhaps that’ll be some categories listed and, like suggested to you Almost like the playlist that I have on my YouTube channel, but instead of just being videos, there’ll be blogs and podcasts as well And then as part of content.
I’m also going to need three different templates.
Basically, I’m going to need audio video and written.
I’m sure you’re wondering right now how I became a designer when I can’t even draw a box neatly, but hey That’s how it works.
I’m also going to need my portfolio And in that I’m, going to have like an individual project.
Obviously I’m going to need a template for that as well. Gon na add my speaking page in here as well.
That I mentioned, Then there’ll be the basics that’s like an about page and a contact page too, probably Actually as part of contact.
It would be a good idea for me to have a form on my website for my portfolio review series.
I think Right now my instructions are for you to email me with a specific subject line and include the information you know in order for me to review your portfolio in that series that I do on YouTube.
But not everyone uses the right subject line so it doesn’t go into like the right folder in my inbox and not everyone gives all the information that I need as well.
So I think, having some sort of form on my website, where you can just fill in your details and submit that will make the whole process a lot easier for everyone involved, A page that’s quite highly visited on my website at the moment, thanks to A video that’s quite popular is where you can download my screen printing guide.
Basically, it just has the video and a form, and that’s where you get the guide sent to you.
So a lot of people come over from that video.
I thought about having that page as part of this new website, but what I think I’m actually going to do is have screen printing as a category in my content here, so it’ll be like part of this, And that way the form will Be on that page for you to download and also see any like videos or blog posts or whatever that I’ve written about screen printing too.
So, actually, as part of this kind of in between here, I should also put I’m just gon na. Add it next to it anyway, Like a category page Content page is like the home of all the content, and then a category page is that playlist.
I think where it’s the audio video written Thinking more about this contact.
Page too, I think I’m also going to have like a freelance form submission.
So if there’s a project that you’re interested in me working on with you, you can fill this out with like information about the project.
I’m also going to want, like a plain page template that I can pull out whenever I need to for giveaways.
This is something that I like to do in the middle of logs every now, and then it’s just throw up a giveaway And to do that, I get people to fill in a form so that I can like pick the winner randomly from there.
So yeah Plain page that I can just duplicate whenever and make a new giveaway will be really helpful.
Thinking about what else is on my current website that I might want to bring over The only page that I really am not considering here and not adding in is my newsletter page, So I just have a page about signing up for my newsletter.
I don’t think I’m gon na.
Do that, because, to be honest, I haven’t been super regular with sending out a newsletter lately, and I think, instead of having newsletters like the reason for people to sign up, I instead would rather have a form on each content, category page that they can Fill in there to get a certain I don’t know PDF opt in something or other that I’ll create, And then they’ll. They can get emails about that particular topic in general and they’ll also be added to my list.
If I do send a newsletter, I think that’ll be a better way of going about it than having a dedicated newsletter page.
I think I should really move this.
I don’t know how to move things in this app.
So I’m just gon na erase it and write it again, But I think home should be seen as above all of these other things, Because my home page will be the hub of everything.
Perhaps some things won’t be connected to home.
Like I,’m gon na actually remove giveaways from that, But everything else, I think, will be coming from the home page and the home page will be designed to lead you into the right thing.
With these two things in mind, in particular, content or hiring me as the main thing that you’re looking for, So that’ll be the first decision that I make someone make laughs, Make someone make when they come onto this page.
It’s kind of like this is the content stuff.
This is the hiring me stuff, and these two pages are kind of fitting with both Now this seems like a lot of work right Like that’s, a lot of pages that I need to design. So, to start with, to stop me from getting overwhelmed first, I’m actually going to just do an MVP of my homepage, So it won.’t have all of these sub pages.
It will just be a homepage that links off to various things, So it needs to link off to my YouTube social media.
I think I won’t have a contact form even on it.
To start with, I’ll just have my email address, bio and maybe in place of building out a full portfolio.
I’m going to have a link to my Dribbble on there and I will make sure I update that a little bit cause that’s also something I don’t do very often.
So this way people will get access to my content.
They will know how to contact me.
They will learn a bit about me and see a bit of my work, But without me having to put in all the work of doing all these extra pages just yet So that means I can get my new site like up and running In designing this page.
I guess I’ll be able to develop a design system for it and kind of like a brand for my website as well that’ll make it easier to design these other pages And just in general, I think it’ll be a good start To the project laughs, So that is my very messy plan for my website.
It’s pretty simple, but it’s really good to do this. Thinking about what you might need, rather than getting halfway through like starting and then you know, the project keeps expanding from there, Especially this piece of figuring out what people are going to be coming to your site, for, I think, is really important to get down.
So if you have a website project that you’re working on, I really encourage you to do this step.
First, just to figure out exactly what pages are needed If you’re working with a client, you’re gon na need to do this anyway.
To scope out the project and how much design work is gon na be involved for you, But it also just really helps me to see it and to know what work is coming and I’ll be able to like tackle these section by section.
I think Hope you found this interesting to see anyway, and that was useful in some way to you And that you’re excited too about this new series of mine redesigning my website.
I’m very excited about it and I’ve been talking about it for a long time and I think that making videos about it is going to actually finally help me get it done, because I’m gon na.
Have you to keep me accountable.
All right giggles That’s it for now Give it a thumbs up if you enjoyed it Thanks for watching – and I’ll see you in the next one And I guess the next video will be the wireframing and possibly design of this MVP homepage.
Music Hi, my name is Kevin and I’m an educator and content creator with the goal of helping people fall in love with CSS. I created this course to explore all the different ways.
We can use modern CSS to create really awesome websites In this course.
You’re gon na be learning how to create and deploy a multi page website based on a Figma design.
We’re gon na, be breaking down the design and creating a plan of attack before we dive into the code, And then we’re gon na explore how we can write maintainable CSS with the help of a lot of modern features We’ll also Be looking at, how we can, make sure our website, is accessible And we’ll, be using version control, as we go through everything, including merging, branches while we, add new features to the site, And how.
We can progressively enhance things with modern CSS features as well Use.
These modern CSS features to go and build some amazing websites.
The other thing I need to think about now, actually, because we were working on our site header And we’re gon na be getting into more pieces along the way Is the site header a layout, Even though, and actually we could even call this site header Layout, if you wanted to instead of inner just to be more clear, I use inner cuz it’s what I’ve always used, but if you like layout cuz, creating a layout that works So because it is something where we’re controlling a layout.
The first thought would be let’s put it in my layouts layer, cuz, it’s a layout, But as much as possible.
I like using my layouts layer for generic layouts.
These are things I could just plug and play and use absolutely anywhere, Whereas if it’s something that’s specific for one use case, and it should only be used within this one area that’s where I like actually coming in and creating a New layer, So we’ll come in here. I’m gon na collapse.
The base one again just to clean things, up a little bit collapse them all.
And after my layout, but before my utilitites cuz, I like having my utilities as the last layer to give it.
The highest importance is to do a layer of components which are just sort of these one off pieces.
This is my site header, I’m only doing site header stuff Or it’s, my site footer or it’s, gon na be the card or other things like that, And so I can do my site header.
I don’t know if I need to style anything on that right now, so I’m not gon na put that selector.
We might need to have it after.
We probably will, But I’m just going to do the inner right there throw display flex on here.
So we get two columns and you can see right away that they’re going next to one another.
And then I can do a justify content. Whoops justify content of space between If you get mixed up between the different spacing things or even justify versus the line items, It’s the same as a lot of beginners when very early days, when you’re using margin and padding it’s easy To mix them up, Try one if it’s the wrong one, you do the other one.
It’s easy enough to switch between stuff, as you’re learning them, But I want the space between so it pushes them as far apart as possible.
Then we could do the same thing insie there just for navigation.
I think everybody is used to doing that.
So in my nav I have my ul that’s in therewe could so I can select my primary navigation And in this case I’m just gon na use nesting cuz.
I find it a little bit easier If you prefer not to use nesting.
This selector could just be your primary navigation UL like that, So primary navigation, UL and I can do a displa flex gap 1rem And that comes together And Flexbox is really awesome.
I made a logo there.
There we go.
Flexbox is really awesome because it just stuff happens when we use it Everything’s going next to each other. It looks really good The problem with Flexbox.
Is it sort of tricks us into looking like it’s responsive? But what happens is when you get to these smaller screen sizes.
It just causes overflow, Because the elements flex they go next to one another.
They don’t do anything from there And then we feel like we need to come in with media queries or come in with other solutions, But as much as possible talking about intrinsic layouts.
So the idea here is with your flex.
We can do a flex wrap.
I’ll wrap on that.
So now, when this runs out of room instead of getting stuck there, it’s gon na wrap and go underneath, And it’s really really simple.
The one thing is, they do get really close to each other, So you could also put in a gap here.
Whatever space you feel like is appropriate just so it wraps before they actually touch each other cuz. It looks kind of ugly if they’re touching each other, And just like that.
We have something that works across different screen sizes without having to come in with a media.
Query decide where a breakpoint is stress about any of that.
The browser just figures it out, based on the space that’s available, I would actually argue putting the Flexwrap on the UL – is also a good thing Just so, if ever those once that wraps like here, these can also wrap as well.
Hopefully you’re not on nobody of your users is on a screen this narrow, but it just makes it a bit more robust And you don’t have to worry about it, which is always really handy.
The other thing I’ll say with wrap.
If you’re using, it is when things wrap, the visual spacing looks different when it’s between the rows and between the columns.
So the visual space between Discover and Mushroom Guide looks pretty narrow compared to the visual space between the Discover and the FAQ.
Even though it’s actually the same amount of space, It’s using the gap of 1rem part of that’s, just how Font rendering works there.’s often a little bit of extra space on the top and the bottom of fonts, And there’s just this trick of the eye thing that happens So the combination of both of them, the spacing, always looks a lot bigger.
So usually I’ll use the shorthand here. 0.
5, maybe And then same thing here: 0 5rem, So it’d be 0 5rem on the top and the bottom And then a 1rem on the left and the right just so visually.
It looks a little bit more balanced out It’s, not something you need to do, but most of the time when I have wrapping, I do find I have the top and bottom wrapping end up being smaller.
The only exception to this was, if it’s, not text, if it’s, things that have background colors and padding on them, then you’d want consistent, spacing all the way around, But it gives us a nice mobile navigation without having to stress about It or do anything I use this on my personal site, It’s so much lower, friction and so much less work to getting something working.
The last thing I will do is just do very quickly.
I said we probably need it site header.
You could even do this on the inner but padding block 1rem to add some just so it’s not touching the top of our screen And giving us a little bit of space on the bottom as well.
I love Bento layouts, they’re quite popular right now.
This isn’t the fanciest one in the world, but we also have to make a decision along the way.
If we look at the design, we have the really small size Where they’re, just stacked. Nothing too fancy it’s already working, And then we have the large size that we have now that looks something like this.
We could also build in a middle ground.
This would be somewhere Again if you’re, actually working with the designer a discussion with them, because they didn’t provide it, for you could be really useful.
But if you don’t have anything in the middle, then you just get to decide what to do And we’ll build in a simple little middle, where it’s two columns, and then we’ll go up to the three here And my Faq is right here, So I did the wrapper and then I put all my cards in there.
So I will come right here.
After my wrapper.
We could call it faq bento, You could just call it.
Faq faq grid a name that makes sense to you.
You might be wondering why I’m saying bento: It’s just the name that people give this type of layout, because it looks like those bento boxes.
You can get for food where they have these types of shapes in them. So if you look up bento layout for inspiration or design or anything, if you want to build a layout like this, If you look up Bento, you’ll see all sorts of awesome layouts that use this sort of mixed spanning grid thing.
So I can put that at the very top shrink, all my cards down, so they’re not getting in my way and then after that last card close that div.
So I have the Bento grid and then I have these four coming in there.
If we go back to my styles, faq bento – and we can come up with something fun here – And this is again talking about the utility classes versus components that are reusable versus just one off things.
This is definitely I wouldn’t wan na have to build something like this with the utility class.
I find it just doesn’t work.
We know that it needs to be grid cuz.
I said so LAUGH.
So we’re gon na do a grid with a gap on there, And I can see if it’s working just cuz.
I should get my gap in between them And again. Don’t be scared of doing a really big number.
Just so, you can see if it’s actually working And at small screen sizes.
We’re done that’s it now we wan na come in with larger screen sizes, And up until now we’ve been using the media query of 760.
So we’ll start there, But I’ve a feeling that we might need to change this, but we’ll just say the width is greater than 760 And we want to come in with a more complicated grid.
Now so we can add some columns.
Let’s do grid template columns or let’s do the biggest one cuz.
We know what that’s gon na be, And then we can fill in the middle ground after actually cuz.
I think that makes more sense At the large screen size.
We need three columns is the way I see it.
It can be sometimes hard to know this one’s not too complicated. Sometimes you only need like six columns to be able to do what the grid looks.
Like My suggestion is anywhere, you see a gap.
Just draw a straight line going through, So I see I have two vertical gaps, so I know I need three columns.
I’m also gon na need two rows.
I tend not to declare grid template rows unless I really need them.
So we’ll see if we can get away without it this time around, So we can say, repeat: 3 1fr cuz.
I know I want three columns and that means when we hit that break point, we get our three columns coming in awesome.
It’s a good start.
If you use grid template areas, you can control most of the layout changes that are happening without touching the children at all and just manipulating everything here on the faq bento.
So, even at the small screen sizes I’m gon na do a grid template areas. This is one of those weird CSS things where I’m gon na.
Do it on a separate line, but I’m gon na write card one and it’s, weird cuz, it’s in quotation marks And I don’t know why they decided to do the quotation marks the way they did.
It works well, but it’s this other thing with grid that’s different from anywhere else.
You would do things card three and a card four, And what this is basically doing is saying.
I’m gon na have one two three four rows.
The top row is gon na have the name of card one.
The second row is gon na have the name of card two.
The third row is card.
Three.
The fourth row is card. Four, Then, what I can do here when I have this larger screen size and I have three columns.
Well, I can come and look at that – And I can say you’re just drawing it out, basically so grid template areas.
Once again, I like being on a separate line once again, But now this is where it gets a little bit different.
Cuz I say card one is gon na go in my first column in my second column, but in the same row I need the card two.
So card two, It’s all within the same set of quotation marks, but with a space between them to differentiate that, by being in the same quotation, marks it’s saying it’s the same row.
But now I’m defining two different column names there, And then we need this third one over here For that.
Third, one before we decide which card that is, let’s go.
Look at the smaller layout cuz that’s actually my fourth card.
That’s all the way at the bottom, according to how we wrote our HTML cuz HTML, followed this layout that’s right here.
So that means here oops let’s go find the layout again. That means here this is actually card four, so I can come here and write card four, And then we can come down onto another line.
Put another set of quotation marks, And now I’m working on this second row that’s down here at the bottom.
We have card three and then we have the second column.
The second column also needs the same card in there, so I can just say card three again And then we’re in the last column.
We have card four at the top.
I want card four also to go all the way to the bottom, so I just write card four, And that would be fine, but whenever I do a layout like this, I always wan na think of what, if I took one of these out and added a New thing in there Or what? If I just wanted to switch the position of two cards, So they come back and they go actually Kevin.
We really like this one here to go here and just gon na shuffle them all in a different order.
I don’t wan na have to move them in the HTML and then remember which class names they all need to have.
So this is one of the few cases where I think the best option is actually using nth child.
So that way, whatever order they are inside there, they’re just gon na get positioned into the right place, and it becomes very easy to do So in here. I’m gon na do nth child 1 guts, a grid area, and this is where it’s kinda, weird cuz, you don’t use quotation marks anymore.
You just write grid area.
Oneth Up here is plural cuz.
We’re defining multiple areas.
We’re, creating the template of all the different areas Over here is just grid area, singular cuz, we’re assigning it to one of those areas And then, as you might guess, 2, 3, 4, 2, 3, 4 and 1, 2, 3, 4, And now each One of them has been assigned based on the order that they are, and if I did that properly, you should see there we go.
Our layout is sort of coming together.
There’s some issues with it granted, but at least everything is going where I expected it to So.
These two first ones just sit in the top one.
This one stretches all the way down, and then this other one is living over here.
So here, where we have our filter cards, we can bring in that document startViewTransition And then in here we want to do an arrow function like that, and then we can filter our cards. Sorry that should be strapped, no, it doesn’t and then we just close the parentheses there at the end, And now when we come and we filter our cards, you can see that it’s fading, Let’s go to Summer.
It fades over instead and let’s go back to All and All, and you can see the cards sort of fade in and out.
This probably be more obvious.
If I make this bigger, so let’s do it like that and then there we go.
Looks nice and pretty And we have the view transition working no match it still sort of fades around instead, which is just a really nice way to enable this a little bit nicer of an animation happening Now.
The animations are fine when they’re filtering.
This way it looks kinda nice they fade in and out, instead of it just absolutely changing right away.
But this is the type of situation where you can very easily make things look a lot nicer And that’s, because we can add some movement going around if one of the elements moves And that’s, because right now, what’s happening is let’s say I go to Spring and I have my False Morel that’s right here and then I go back to All that.
False Morel is still on the page, but it’s moved all the way down to here And right now.
It’s just fading between one and the other cuz. The browser is not aware that it’s the same element.
If that makes sense, It’s, updating there’s a whole bunch of new stuff there and it just fades everything into place.
But I could actually tell it that’s the same element and that, instead of fading from there, it’s actually gon na move it from one place to the other.
For this to work, every element needs to have a unique view: transition name And view transition name is a CSS property and it’s one of those things that’s a little bit frustrating if you’re, not using JavaScript Cuz.
If you’re not using JavaScript, it means you’re just doing nth.
It can get old really fast With JavaScript and if you are using view transition names unless it’s for one very specific thing, I would strongly recommend doing it with some JavaScript, like we’re gon na do now for all of our cards.
So for this we already have our cards and we have a ForEach going right here, but I don’t want to include it in this ForEach statement.
Cuz, this ForEach is getting every time we filter our cards.
So, every time I change to summer, we’re firing that again cuz, we’re filtering through the cards that are there And I don’t wan na make the browser re put all of the names on there every time cuz. That just seems like overkill, So just at the beginning, when the page loads, we can have this come on all of the cards and then they’ll just be there all the time, and it just does it once.
Instead of every time we filter our cards.
So we can say cards ForEach.
Once again, we just say in here we’re gon na say card, But we’re gon na look for two things: we’re gon na do a card and the index cuz.
When you do a forEach, you can keep track of every time it loops through, and it knows the number that’s coming in there And we can do our fat arrow, our curly braces and do some stuff with these.
So for this we’re going to say: const mushroomid is equal to I’m gon na put back ticks here just so it makes it a little bit easier to write what we’re doing.
So we can say that we have our mushroom and then we can come in with a dollar sign And then, by doing this we have a string here and then inside of this we can put some JavaScript So in right.
There whoops So in right there between the two parentheses, I can say index 1.
The reason I’m doing 1 is cuz.
The first index would be 0, so just count from 1 and go up And then so that’s gon na keep track of the ID ForEach one. Then we just have to do card style, viewTransitionname is equal to and then we put whatever we want it to be.
So once it again, I’m gon na use back, ticks here and just say mushroom card, and then I can put a hyphen put.
The dollar sign put in the parentheses or the curly braces and then put in my mushroomid.
Nothing should look like it.’s changed, But if we come and take a look at each one of our cards, we should see let’s put this back on the side.
Let’s be a bit easier to see And we can grab that card and I can see there’s a view, transition name and mushroom card mushroom 2.
Maybe it’s not the best name in the world.
It really doesn’t matter.
So LAUGH, I guess we could maybe take this mushroom off and just have it as card There we go so now we have view transition name card mushroom, 1, the next card.
After that will be our view – transition name card mushroom 234.
As long as every one of them is a unique ID, it really doesn’t matter, You just need them all to have their own view, transition name and then, just by doing that now you’ll see that they actually slide around. When we’re filtering them Cuz, the page is able, or the browser is able to keep track that okay, these are the two same things when we’re going from the old state to the new state, So, instead of just doing a cross fade animation.
When it actually takes a picture of the before and the after state, So in that, when it’s doing the transition now, it can actually move the thing across which is magic.