Skip to content

Refactor#5

Open
RexO77 wants to merge 7 commits intoqos-improvmentsfrom
refactor
Open

Refactor#5
RexO77 wants to merge 7 commits intoqos-improvmentsfrom
refactor

Conversation

@RexO77
Copy link
Owner

@RexO77 RexO77 commented Aug 12, 2025

This pull request introduces a modern, scalable, and maintainable CSS architecture for the project. It adds three new CSS files—base.css, layout.css, and theme.css—each serving a distinct purpose: resetting and standardizing base styles, providing a utility-based layout system, and establishing a comprehensive design token-based theme with light/dark mode support. Additionally, a .vercelignore file is introduced to optimize deployment by excluding unnecessary files.

CSS System Implementation

  • Introduced assets/css/base.css to provide a modern CSS reset, accessible typography, improved link and form element styling, scrollbar and selection enhancements, and robust accessibility and print support.
  • Added assets/css/layout.css with a utility-first approach for grid, flexbox, container sizing, positioning, responsive breakpoints, and display/overflow/z-index utilities, enabling mobile-first and scalable layouts.
  • Created assets/css/theme.css to define design tokens (colors, spacing, typography, radii, shadows, z-index, etc.), custom font faces, and semantic color assignments for both light and dark themes, including system theme detection and smooth transitions.

Deployment Optimization

  • Added .vercelignore to exclude development files, scripts, documentation, and build artifacts from Vercel deployments, ensuring smaller, faster, and more secure builds.

RexO77 and others added 7 commits August 6, 2025 22:31
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@RexO77 RexO77 requested a review from Copilot August 12, 2025 17:30
@RexO77 RexO77 self-assigned this Aug 12, 2025
@vercel
Copy link

vercel bot commented Aug 12, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Project Deployment Preview Comments Updated (UTC)
blogs Ready Preview Comment Aug 12, 2025 5:31pm

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR implements a comprehensive refactoring of the site's CSS architecture and optimizes deployment configuration. The changes establish a modern, scalable CSS system using design tokens, utility classes, and light/dark theme support while ensuring efficient Vercel deployments.

Key changes include:

  • Replaced the old single CSS file with a modular system using base, layout, and theme CSS files
  • Updated all HTML files to use the new CSS bundle and improved semantic structure
  • Added .vercelignore to exclude unnecessary files from deployment

Reviewed Changes

Copilot reviewed 70 out of 158 changed files in this pull request and generated no comments.

File Description
.vercelignore Excludes development and build artifacts from Vercel deployments
Multiple HTML files Updated to use new CSS bundle and improved markup structure with better accessibility
Comments suppressed due to low confidence (1)

public/posts/you_shouldnt_share/index.html:1

  • The entire HTML document is minified into a single line, which severely impacts code readability and maintainability. While this may be acceptable for production builds, it makes debugging and development extremely difficult. Consider using minification only in production environments.
<!doctype html><html lang=en><head><script src="/livereload.js?mindelay=10&amp;v=2&amp;port=1313&amp;path=livereload" data-no-instant defer></script><meta charset=UTF-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=description content="A raw, unfiltered rant on why using ChatGPT as your therapist is a terrible idea, how OpenAI accidentally exposed private convos to Google, and how to actually protect yourself—with a product designer's take on how to design AI better."><meta name=keywords content="AI,Technology,Cognitive Science,Brain Health,Design,Innovation,Nischal Skanda,Portfolio,Tech Blog"><meta name=author content="Nischal Skanda"><meta name=robots content="index, follow"><meta name=language content="en-us"><title>Stop Oversharing With AI: Your Deepest Secrets Don’t Belong on Google | IDEA LABS</title><link rel=canonical href=http://localhost:1313/posts/you_shouldnt_share/><meta property="og:type" content="article"><meta property="og:url" content="http://localhost:1313/posts/you_shouldnt_share/"><meta property="og:title" content="Stop Oversharing With AI: Your Deepest Secrets Don’t Belong on Google | IDEA LABS"><meta property="og:description" content="A raw, unfiltered rant on why using ChatGPT as your therapist is a terrible idea, how OpenAI accidentally exposed private convos to Google, and how to actually protect yourself—with a product designer's take on how to design AI better."><meta property="og:site_name" content="IDEA LABS"><meta property="og:locale" content="en-us"><meta property="article:author" content="Nischal Skanda"><meta property="article:published_time" content="2025-08-03T10:30:00+05:30"><meta property="article:modified_time" content="2025-08-04T19:26:28+05:30"><meta property="article:tag" content="AI"><meta property="article:tag" content="Privacy"><meta property="article:tag" content="Technology"><meta property="article:tag" content="ChatGPT"><meta property="article:tag" content="Ollama"><meta property="article:tag" content="Product Design"><meta name=twitter:card content="summary_large_image"><meta name=twitter:site content="@nischalskanda"><meta name=twitter:creator content="@nischalskanda"><meta name=twitter:title content="Stop Oversharing With AI: Your Deepest Secrets Don’t Belong on Google | IDEA LABS"><meta name=twitter:description content="A raw, unfiltered rant on why using ChatGPT as your therapist is a terrible idea, how OpenAI accidentally exposed private convos to Google, and how to actually protect yourself—with a product designer's take on how to design AI better."><meta property="og:image" content="http://localhost:1313/images/og-image.jpg"><meta name=twitter:image content="http://localhost:1313/images/og-image.jpg"><meta name=theme-color content="#0099FF"><meta name=msapplication-TileColor content="#0099FF"><script type=application/ld+json>{"@context":"https://schema.org","@type":"BlogPosting","headline":"Stop Oversharing With AI: Your Deepest Secrets Don’t Belong on Google","description":"A raw, unfiltered rant on why using ChatGPT as your therapist is a terrible idea, how OpenAI accidentally exposed private convos to Google, and how to actually protect yourself—with a product designer\u0027s take on how to design AI better.","author":{"@type":"Person","name":"Nischal Skanda","url":"https:\/\/www.nischalskanda.tech\/"},"publisher":{"@type":"Organization","name":"IDEA LABS","url":"http:\/\/localhost:1313\/"},"datePublished":"2025-08-03T10:30:00\u002b05:30","dateModified":"2025-08-04T19:26:28\u002b05:30","mainEntityOfPage":{"@type":"WebPage","@id":"http:\/\/localhost:1313\/posts\/you_shouldnt_share\/"},"image":"http:\/\/localhost:1313\/images\/og-image.jpg","keywords":["AI","Privacy","Technology","ChatGPT","Ollama","Product Design"],"articleSection":["Technology","Privacy","Design"]}</script><link rel=dns-prefetch href=//vercel.com><link rel=dns-prefetch href=//fonts.googleapis.com><link rel=dns-prefetch href=//www.google-analytics.com><link rel=preconnect href=https://www.nischalskanda.tech/><link rel=preconnect href=https://vercel.com crossorigin><style>body{margin:0;padding-top:80px}.site-header{position:fixed;top:0;left:0;right:0;z-index:1000;background:rgba(248,247,243,.95);backdrop-filter:blur(10px);display:flex;justify-content:center;align-items:center;padding:20px 40px}.logo{font-weight:700;font-size:1.5rem;position:absolute;left:50%;transform:translateX(-50%)}.hero-headline{font-size:5rem;line-height:1.1;text-transform:uppercase;font-weight:700}</style><link rel=icon type=image/x-icon href="http://localhost:1313/favicon.ico?v=2"><link rel=icon type=image/png sizes=16x16 href=http://localhost:1313/favicon-16x16.png><link rel=icon type=image/png sizes=32x32 href=http://localhost:1313/favicon-32x32.png><link rel=apple-touch-icon sizes=180x180 href=http://localhost:1313/apple-touch-icon.png><link rel="shortcut icon" href="http://localhost:1313/favicon.ico?v=2"><link rel=manifest href=http://localhost:1313/site.webmanifest><link rel=preload href=http://localhost:1313/css/bundle.min.5271ac829ff01361c7a45224552900eca73670ac4a55eb54318651319f8a5a54.css as=style onload='this.onload=null,this.rel="stylesheet"' integrity="sha256-UnGsgp/wE2HHpFIkVSkA7Kc2cKxKVetUMYZRMZ+KWlQ="><noscript><link rel=stylesheet href=http://localhost:1313/css/bundle.min.5271ac829ff01361c7a45224552900eca73670ac4a55eb54318651319f8a5a54.css integrity="sha256-UnGsgp/wE2HHpFIkVSkA7Kc2cKxKVetUMYZRMZ+KWlQ="></noscript><link rel=preload href=http://localhost:1313/fonts/Satoshi-Regular.otf as=font type=font/otf crossorigin><link rel=preload href=http://localhost:1313/fonts/Unbounded-VariableFont_wght.ttf as=font type=font/ttf crossorigin><script>(function(){const e=localStorage.getItem("theme")||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light");document.documentElement.setAttribute("data-theme",e)})()</script></head><body><header class=site-header role=banner><div class=site-header__container><button id=theme-toggle class=theme-toggle aria-label="Toggle between light and dark theme" aria-pressed=false type=button>

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants