Skip to content

Commit

Permalink
complete responsive website
Browse files Browse the repository at this point in the history
  • Loading branch information
M1ntL0rd committed May 7, 2024
0 parents commit 1ac046d
Show file tree
Hide file tree
Showing 57 changed files with 1,971 additions and 0 deletions.
918 changes: 918 additions & 0 deletions CSS/components.css

Large diffs are not rendered by default.

299 changes: 299 additions & 0 deletions CSS/media-queries.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,299 @@
/* MEDIA QUERY */
@media screen and (max-width: 1064px) {
.heading{
font-size: 4rem;
margin-bottom: 0;
}
.text{
font-size: 2rem;
font-weight: 600;
}
.text--md {
font-size: 1.7rem;
}
.normal-text{
font-size: 2rem;
}
.hero-cta{
font-size: 1.6rem;
font-weight: 600;
width: 16rem;
height: 4rem;
margin-top: 0;
}
.section-hero{
display: grid;
grid-template-columns: 1.5fr 1fr;
}
.meal-cards{
display: grid;
grid-template-columns: 35fr 35fr 30fr;
gap: 3.2rem;
}

/* gallery */
.testimonials{
gap: 3.2rem;
grid-template-columns: 45fr 55fr;
}
.testimony{
font-size: 1.6rem;
}
}

@media screen and (max-width: 1000px){
.testimonials{
gap: 7.2rem;
grid-template-columns: 1fr;
}
.testimony{
font-size: 2rem;
}
}

@media screen and (max-width: 800px){
.omnifood-logo:not(.logo){
font-size: 2.2rem;
}
.nav-btn{
/* top: -4%; */
display: none;
}
.nav-cta{
display: block;
}
.nav-cta button{
margin: 0;
}
.nav-ctas{
display: flex;
width: 30rem;
position: relative;
}
.nav-links--2{
position: absolute;
top: 50%;
left: 0;
/* transform: translateY(-0.5%); */
}
.header-form{
display: none;
}
.section-hero{
gap: 3.6rem;
grid-template-columns: 1.2fr 1fr;
}
.section-hero--cta{
gap: 0.2rem;
}
.heading{
font-size: 3.2rem;
margin-bottom: 0;
}
.how-it-works{
gap: 5.6rem;
}
.number{
margin-bottom: 3.2rem;
font-size: 5.4rem;
}
.iphone{
width: 30%;
}
.img-container::after{
width: 30%;
padding-bottom: 30%;
}
.number{
font-size: 4rem;
/* font */
}
.img-container::before{
width: 45%;
padding-bottom: 45%;
}
.meal-cards{
grid-template-columns: repeat(2, 1fr);
}
.any-diet{
grid-column: 1/-1;
justify-self: center;
}
.pricing-cards{
gap: 1rem;
}
.meal-price-card{
justify-self: center;
}
.tab-contents figure{
left: 50%;
}
.tab-heading{
font-size: 2rem;
transform: translateY(-70%);
}
.txt{
font-size: 1.8rem;
}

.call-to-action{
grid-template-columns: 1fr;
grid-template-rows: 1fr 2fr;
}
.cta-img-box{
grid-row: 1;
}

/* footer */
footer{
grid-template-columns: repeat(3, 1fr);
grid-template-rows: repeat(4, auto);
row-gap: 5.6rem;
}
footer > .logo{
grid-column: 1/3;
grid-row: 2;
flex-direction: column;
}
.contact-us{
grid-column: 3;
grid-row: 2;
}
.designer{
grid-column: 1;
grid-row: 3;
}
.copy{
grid-column: 3;
grid-row: 3;
}
}


@media screen and (max-width: 700px){

.text{
font-weight: 100;
}
.heading{
line-height: 1.5;
}
.container-grid {
grid-template-columns: 1fr;
}
.iphone-repositioning-1{
grid-row: 2;
}
.iphone-repositioning-3{
grid-row: 6;
}
.testimonials-con {
grid-template-columns: 1fr;
gap: 6rem;
}
.tabbed-components {
display: none;
}

}

/* @media screen and (max-width: 600px){
} */

@media screen and (max-width: 540px){
/* nav{
display: none;
} */
.nav-ctas{
display: none;
}

.show-btn{ /* helper-class: show-btn*/
display: block;
order: 1;
}
.show-nav-link-3 { /* helper-class: show-nav-link-3*/
width: 70%;
height: 100%;
background-color: #111c5c;
/* transform: scale(1.1); */
position: fixed;
top: 50%;
right: 0;
transform: translateY(-50%);
z-index: 200;
transition: all 2s;
}
.show-nav-link-3, .content{
display: flex;
justify-content: center;
align-items: center;
}
.content{
flex-direction: column;
gap: 3.2rem;
list-style: none;
}
.rremove-nav-btn{
font-size: 3.2rem;
color: var(--color-primary--shade);
position: absolute;
top: 3%;
right: 6%;
background-color: inherit;
width: 3.2rem;
height: 3.2rem;
border: none;
}

.hidden {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
backdrop-filter: blur(4px);
z-index: 100;
transition: all 0.5s;
}
.show-nav-link-3 a:link,
.show-nav-link-3 a:visited{
font-size: 1.6rem;
color: var(--color-primary--shade);
text-decoration: none;
}

/* hero section */
.section-hero--img{
max-width: 80%;
justify-self: center;
}

/* general setting */
.container-grid{
justify-content: center;
}
.heading{
font-size: 2.4rem;
}
.secondary-heading{
font-size: 1.5rem;
}
.description,.text{
font-size: 1.8rem;
}
.sm-text{
font-size: 1.6rem;
}
.form{
grid-template-columns: 1fr;
gap: 1.4rem;
}


.meal-name{
font-weight: 600;
}
}
83 changes: 83 additions & 0 deletions Omnifood.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
Omnifood
About Omnifood
We are a technology company first, but with a major focus on consumer well-being through a healthy diet. Most people are very busy with their jobs, family and friends, and other important activities, which doesn't leave much time for cooking. This might lead to a poor diet and lasting health consequences. We want to solve this problem by using an AI-centric approach. Users can use our app to select their diet and foods they like and dislike, and our AI algorithm will create a custom and individual weekly meal plan. But we don't stop there. We partner with restaurants and other cooking partners to actually cook and deliver all meals from the generated meal plans, in selected cities. All this will be packed up in a monthly subscription, where users can choose between receiving one or two meals per day, every single day of the month.

Branding
Headline: A healthy meal delivered to your door, every single day

Brand color: #e67e22

Omnifood Website Content
Summary
The smart 365-days-per-year food subscription that will make you eat healthy again. Tailored to your personal tastes and nutritional needs. We have delivered 250,000+ meals last year!

Omnifood features
Never cook again!: Our subscriptions cover 365 days per year, even including major holidays. Local and organic: Our cooks only use local, fresh, and organic products to prepare your meals. No waste: All our partners only use reusable containers to package all your meals. Pause anytime: Going on vacation? Just pause your subscription, and we refund unused days.

How Omnifood works
[Show big app images]

Your daily dose of health in 3 simple steps

Tell us what you like (and what not): Never again waste time thinking about what to eat! Omnifood AI will create a 100% personalized weekly meal plan just for you. It makes sure you get all the nutrients and vitamins you need, no matter what diet you follow!

Approve your weekly meal plan: Once per week, approve the meal plan generated for you by Omnifood AI. You can change ingredients, swap entire meals, or even add your own recipes.

Receive meals at convenient time: Best chefs in town will cook your selected meal every day, and we will deliver it to your door whenever works best for you. You can change delivery schedule and address daily!

Omnifood works with any diet
Vegetarian Vegan Pescatarian Gluten-free Lactose-free Keto Paleo Low FODMAP Kid-friendly

Sample meals
Omnifood AI chooses from 5,000+ recipes

Meal 1: Japanese Gyozas

Category: Vegetarian
Calories: 650
NutriScore (Registered): 74
Average rating: 4.9
Number reviews: 537
Meal 2: Avocado Salad

Category: Vegan and Paleo
Calories: 400
NutriScore (Registered): 92
Average rating: 4.8
Number reviews: 441
We offer a free sample meal
[Create simple form for users to sign up]

Healthy, tasty and hassle-free meals are waiting for you. Start eating well today. You can cancel or pause anytime. And the first meal is on us!

We have 2 pricing plans
Prices include all applicable taxes. Users can cancel at any time.

Starter: $399 per month

1 meal per day
Order times are between 11am and 9pm
Delivery is free
Complete: $649 per month

2 meal2 per day
Order 24/7
Delivery is free
Get access to latest recipes
Photo gallery
[Use the 12 photos we provided]

Customer testimonials
[Photos of customers included]


Inexpensive, healthy and great-tasting meals, without even having to order manually! It feels truly magical. (Dave Bryson) The AI algorithm is crazy good, it chooses the right meals for me every time. It's amazing not to worry about food anymore! (Ben Hadley) Omnifood is a life saver! I just started a company, so there's no time for cooking. I couldn't live without my daily meals now! (Steve Miller) I got Omnifood for the whole family, and it frees up so much time! Plus, everything is organic and vegan and without plastic. (Hannah Smith)

Section with logos of featured publications [see images]
Contact information
Address: 623 Harrison St., 2nd Floor, San Francisco, CA 94107 Phone: 415-201-6370 Email: [email protected]

Social profiles: instagram, facebook, twitter [links to them not available yet]

Additional links [links not available yet]
Create account Sign in iOS app Android app About Omnifood For Business Cooking partners Careers Recipe directory Help center Privacy & terms
Loading

0 comments on commit 1ac046d

Please sign in to comment.