π All Pages
ποΈ Improved File Structure
- I've now set the
vite.config.js
root to be thesrc
folder along with a base of./
that so assets can match. - All images and Sass files have been reorganized into sub folders for what they serve.
404-page
folder removed (Contents in src/)main-page
folder removed (Contents in src/)- replace-in-files library removed
- ncp library removed
All of this gets rid of the confusing replacing text and placing files from other folders in package.json
into the dist
directory. This should make the development process a lot cleaner and easier to maintain.
βοΈ Configuration Files
Implemented some configuration files due to the size this website is getting. The main ones being config.js
& blog.js
which control most of the site.
config.js
: Every page, every link, footer injection, animate on scrolling, and fixing Chrome height.
blog.js
: Blog navigation controls. (Back Buttons, home, etc.)
𧽠Cleaner Web Links
With links being under control, I've figured out how to remove the index.html
from web links to make them cleaner and easier to type: ncp.dev/blogs/all-about-me/index.html
-> ncp.dev/all-about-me
π€π» Shorter Event Listeners
I've now shortened all of them to around 1 line, with the use of a function I made travel_to
to handling clicking
and tabbing
to go to either links
or pages
.
π£ Footer Injection
I'm now using the config.js
for the one place that the footer is defined in HTML
. It's placed with innerHTML
and appened to the body for most pages (Except 404.html
).
π¦ Twitter Rebrand
I've switched the logo from the old blue bird to now: π.
π§ Email Footer Modal
Not everyone uses Gmail, so I've made a modal to either copy my email or directly go to Gmail with the email already filled out!
π¦Ύ Better Meta Data
I've shortened the Meta Data for URL previews and I've change the main site's image. It's now an icon and now all pages have a color! Within doing that, I've also updated the description of the page to be shorter for search engines.
π Privacy Policy
𧱠Rewordding
Changed from Claims
to Legal
β€οΈ Thank you
I've been gone for a while and was working on a project that I'll reveal soon. The project was nearing the point of a website, and figured I would work on this so that project could have a place! π
I always have the users in mind, and hopefully this update and the next should improve the website. If you want to support me I have a Sponsor button or just simply starring this repo will help out a lot!