├── design
├── mobile-menu.jpg
├── active-states.jpg
├── desktop-design.jpg
├── desktop-preview.jpg
└── mobile-design.jpg
├── images
├── favicon-32x32.png
├── icon-arrow-dark.svg
├── icon-arrow-light.svg
├── icon-hamburger.svg
├── icon-close.svg
├── bg-pattern-circles.svg
├── bg-pattern-intro-desktop.svg
├── bg-pattern-intro-mobile.svg
├── illustration-editor-mobile.svg
├── illustration-editor-desktop.svg
├── illustration-laptop-desktop.svg
├── illustration-laptop-mobile.svg
├── logo.svg
└── illustration-phones.svg
├── script.js
├── .gitignore
├── LICENSE
├── style-guide.md
├── README.md
├── index.html
└── style.css
/design/mobile-menu.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/all-my-frontend-mini-projects/Blogr-landing-page_frontend_project/HEAD/design/mobile-menu.jpg
--------------------------------------------------------------------------------
/design/active-states.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/all-my-frontend-mini-projects/Blogr-landing-page_frontend_project/HEAD/design/active-states.jpg
--------------------------------------------------------------------------------
/design/desktop-design.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/all-my-frontend-mini-projects/Blogr-landing-page_frontend_project/HEAD/design/desktop-design.jpg
--------------------------------------------------------------------------------
/design/desktop-preview.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/all-my-frontend-mini-projects/Blogr-landing-page_frontend_project/HEAD/design/desktop-preview.jpg
--------------------------------------------------------------------------------
/design/mobile-design.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/all-my-frontend-mini-projects/Blogr-landing-page_frontend_project/HEAD/design/mobile-design.jpg
--------------------------------------------------------------------------------
/images/favicon-32x32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/all-my-frontend-mini-projects/Blogr-landing-page_frontend_project/HEAD/images/favicon-32x32.png
--------------------------------------------------------------------------------
/images/icon-arrow-dark.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/images/icon-arrow-light.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/images/icon-hamburger.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/images/icon-close.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/images/bg-pattern-circles.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/script.js:
--------------------------------------------------------------------------------
1 | var btn = document.getElementById("mobilemenu");
2 | var mobilenav = document.getElementById("mobilenav");
3 |
4 | mobilenav.style.left = "-100%";
5 |
6 | btn.onclick = function(){
7 | if(mobilenav.style.left == "-100%"){
8 | mobilenav.style.left = "50%";
9 | btn.src = "images/icon-close.svg";
10 | }
11 |
12 | else{
13 | mobilenav.style.left = "-100%";
14 | btn.src = "images/icon-hamburger.svg";
15 | }
16 | }
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Avoid accidental upload of the Sketch and Figma design files
2 | #####################################################
3 | ## Please do not remove lines 5 and 6 - thanks! 🙂 ##
4 | #####################################################
5 | *.sketch
6 | *.fig
7 |
8 | # Avoid accidental XD upload if you convert the design file
9 | ###############################################
10 | ## Please do not remove line 12 - thanks! 🙂 ##
11 | ###############################################
12 | *.xd
13 |
14 | # Avoid your project being littered with annoying .DS_Store files!
15 | .DS_Store
16 | .prettierignore
--------------------------------------------------------------------------------
/images/bg-pattern-intro-desktop.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2024 Sarthak Sachdev
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/images/bg-pattern-intro-mobile.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/style-guide.md:
--------------------------------------------------------------------------------
1 | # Front-end Style Guide
2 |
3 | ## Layout
4 |
5 | The designs were created to the following widths:
6 |
7 | - Mobile: 375px
8 | - Desktop: 1440px
9 |
10 | ## Colors
11 |
12 | ### Primary
13 |
14 | - Light red (CTA text): hsl(356, 100%, 66%)
15 | - Very light red (CTA hover background): hsl(355, 100%, 74%)
16 | - Very dark blue (headings): hsl(208, 49%, 24%)
17 |
18 | ### Neutral
19 |
20 | - White (text): hsl(0, 0%, 100%)
21 | - Grayish blue (footer text): hsl(240, 2%, 79%)
22 | - Very dark grayish blue (body copy): hsl(207, 13%, 34%)
23 | - Very dark black blue (footer background): hsl(240, 10%, 16%)
24 |
25 | ### Gradient
26 |
27 | Background gradient - Intro/CTA mobile nav:
28 |
29 | - Very light red: hsl(13, 100%, 72%)
30 | - Light red: hsl(353, 100%, 62%)
31 |
32 | Background gradient - body:
33 |
34 | - Very dark gray blue: hsl(237, 17%, 21%)
35 | - Very dark desaturated blue: hsl(237, 23%, 32%)
36 |
37 | ## Typography
38 |
39 | ### Body Copy
40 |
41 | - Font size: 16px
42 |
43 | ### Fonts
44 |
45 | - Family: [Overpass](https://fonts.google.com/specimen/Overpass?preview.text_type=custom)
46 | - Weights: 300, 600
47 |
48 | - Family: [Ubuntu](https://fonts.google.com/specimen/Ubuntu?preview.text_type=custom)
49 | - Weights: 400, 500, 700
50 |
--------------------------------------------------------------------------------
/images/illustration-editor-mobile.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/images/illustration-editor-desktop.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/images/illustration-laptop-desktop.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/images/illustration-laptop-mobile.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/images/logo.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Blogr Landing Page
2 |
3 | ## Welcome! 👋
4 |
5 | ## Table of contents
6 |
7 | - [Overview](#overview)
8 | - [The challenge](#the-challenge)
9 | - [How to setup the project](#how-to-setup-the-project)
10 | - [Screenshot](#screenshot)
11 | - [Links](#links)
12 | - [My process](#my-process)
13 | - [Built with](#built-with)
14 | - [What I learned](#what-i-learned)
15 | - [Continued development](#continued-development)
16 | - [Useful resources](#useful-resources)
17 | - [Author](#author)
18 | - [Acknowledgments](#acknowledgments)
19 |
20 | ## Overview
21 |
22 | ### The challenge
23 |
24 | Users should be able to:
25 |
26 | - View the optimal layout for the site depending on their device's screen size
27 | - See hover states for all interactive elements on the page
28 |
29 | ### How to setup the project
30 |
31 | To set up the project locally, follow these steps:
32 |
33 | 1. Clone the repository using GitHub Desktop or Git Bash:
34 | ```bash
35 | git clone https://github.com/SartHak-0-Sach/Blogr-landing-page_frontend_project.git
36 | ```
37 | 2. Open the project folder in your code editor.
38 | 3. Run the project using a live server extension or deploy it using Netlify, Vercel, or another web hosting and deployment service.
39 |
40 | ### Screenshot
41 |
42 | 
43 |
44 | ### Links
45 |
46 | - Solution URL: [GitHub Repository](https://github.com/SartHak-0-Sach/Blogr-landing-page_frontend_project)
47 | - Live Site URL: [Live Site](https://blogr-app-frontend.netlify.app/)
48 |
49 | ## My process
50 |
51 | ### Built with
52 |
53 | - HTML5
54 | - CSS3
55 |
56 | You will find all the required assets in the `/images` folder. The assets are already optimized.
57 |
58 | There is also a `style-guide.md` file containing the information you'll need, such as color palette and fonts.
59 |
60 | ### What I learned
61 |
62 | In this project I prepared a whole landing page of a website using HTML and CSS which really taught me how to structure all elements into a single page and place them according to view height so it gets easier for user to navigate.
63 |
64 | JS code for mobile navigation to increase responsiveness
65 | ```
66 | var btn = document.getElementById("mobilemenu");
67 | var mobilenav = document.getElementById("mobilenav");
68 |
69 | mobilenav.style.left = "-100%";
70 |
71 | btn.onclick = function(){
72 | if(mobilenav.style.left == "-100%"){
73 | mobilenav.style.left = "50%";
74 | btn.src = "images/icon-close.svg";
75 | }
76 |
77 | else{
78 | mobilenav.style.left = "-100%";
79 | btn.src = "images/icon-hamburger.svg";
80 | }
81 | }
82 | ```
83 |
84 | ### Continued development
85 |
86 | The continuously learning journey of a programmer never ends. This project made me realize that there are many concepts that I need to work upon including fundamentals like flex-box and its properties, to more complex concepts like working with fetch and async await in javascript. These areas are some that I think I need to work more upon in the upcoming future as they highlight some of the most significant regions of web development that are important for every developer to know of.
87 |
88 | These key points mentioned here will help me grow accountable and consistent towards improving at writing good quality code and be a successful full stack developer one day.
89 |
90 | ### Useful resources
91 |
92 | - [Harkirat Singh course notes](https://github.com/SartHak-0-Sach/harkirat-singh-course_code_and_notes) - I have added notes of all lectures along with code and lecture insights of all weeks along with bonus lectures to help you all as much as I can.
93 | - [My development code and notes](https://github.com/SartHak-0-Sach/cwh-web-dev-playlist_code_and_notes) - These are my notes that I made while working on my development skills in initial days and did these courses. Make sure to star the repository if you like it.✨💫
94 | - [mdn documentation](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/async_function) - This is an amazing article which helped me finally understand promises, async and await syntax. I'd recommend it to anyone still learning this concept.
95 |
96 | ## Author
97 |
98 | Sarthak Sachdev
99 | - Website - [Sarthak Sachdev](https://itsmesarthak.netlify.app/)
100 | - LeetCode - [@sarthak_sachdev](https://leetcode.com/u/sarthak_sachdev/)
101 | - Twitter - [@sarthak_sach69](https://www.twitter.com/sarthak_sach69)
102 |
103 | ## Acknowledgments
104 |
105 | I feel like the solutions provided on the website and the continuous doubt solving by industry experts on discord for free is something that is unmatched by anyone else and need to be acknowledged for their efforts in improving me as a developer by suggesting the best practices in your respective tech stack.
106 |
107 | ## Got feedback for me?
108 |
109 | I love receiving feedback! I am always looking to improve my code and take up new innovative ideas to work upon. So if you have anything you'd like to mention, please email 'hi' at saarsaach30[at]gmail[dot]com.
110 |
111 | If you liked this project make sure to spread the word and share it with all your friends.
112 |
113 | **Happy coding!** ☺️🚀
--------------------------------------------------------------------------------
/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
Blogr features an exceedingly intuitive interface which lets you focus on one thing: creating content.
131 | The editor supports management of multiple blogs and allows easy manipulation of embeds such as images,
132 | videos, and Markdown. Extensibility with plugins and themes provide easy ways to add functionality or
133 | change the looks of a blog
134 |
135 |
Robust content management
136 |
Flexible content management enables users to easily move through posts. Increase the usability of your blog
137 | by adding customized categories, sections, format, or flow. With this functionality, you’re in full control.
138 |
139 |
140 |
141 |
142 |
143 |
144 |
145 |
146 |
147 |
148 |
149 |
150 |
151 |
152 |
153 |
154 |
State of the Art Infrastructure
155 |
With reliability and speed in mind, worldwide data centers provide the backbone for ultra-fast connectivity.
156 | This ensures your site will load instantly, no matter where your readers are, keeping your site competitive.
157 |
158 |
159 |
160 |
161 |
162 |
163 |
164 |
165 |
166 |
167 |
168 |
Free, open, simple
169 |
Blogr is a free and open source application backed by a large community of helpful developers. It supports
170 | features such as code syntax highlighting, RSS feeds, social media integration, third-party commenting tools,
171 | and works seamlessly with Google Analytics. The architecture is clean and is relatively easy to learn.
172 |
173 |
Powerful tooling
174 |
Batteries included. We built a simple and straightforward CLI tool that makes customization and deployment a breeze, but
175 | capable of producing even the most complicated sites.
176 |