Professional software development company homepage and technical blog, built with VitePress, TypeScript, and Tailwind CSS.
π Live Site: www.bancs.no
- β‘οΈ Fast & Modern: Built with VitePress for optimal performance
- π¨ Beautiful Design: Custom Tailwind CSS theme with BANCS brand colors
- π Dark/Light Mode: Seamless theme switching
- π Technical Blog: Share knowledge with code examples
- π§ TypeScript: Full type safety throughout
- π¦ Semantic Versioning: Automated releases with semantic-release
- π GitHub Pages: Automated deployment via GitHub Actions
- π€ Open Source: Accept guest blogger contributions via PRs
- Framework: VitePress v1.x
- Language: TypeScript 5.x
- Styling: Tailwind CSS 4.x
- Deployment: GitHub Pages
- CI/CD: GitHub Actions
- Versioning: Semantic Release
pages/
βββ docs/ # VitePress docs & content
β βββ .vitepress/ # VitePress configuration
β β βββ config.ts # Main config
β β βββ theme/ # Custom theme
β β βββ index.ts # Theme entry
β β βββ custom.css # Tailwind + custom styles
β βββ public/ # Static assets
β β βββ bancs.png # Logo
β β βββ CNAME # Custom domain
β βββ blog/ # Blog posts
β β βββ index.md # Blog index
β β βββ *.md # Individual posts
β βββ index.md # Homepage
β βββ about.md # About page
β βββ projects.md # Projects showcase
β βββ contact.md # Contact information
βββ examples/ # Code examples for blog posts
β βββ working-with-claude/ # Example directory
βββ .github/workflows/ # GitHub Actions
β βββ deploy.yml # Pages deployment
β βββ release.yml # Semantic release
βββ tailwind.config.js # Tailwind configuration
βββ postcss.config.js # PostCSS configuration
βββ package.json # Dependencies & scripts
- Node.js 22+ (LTS)
- npm 10+
# Clone the repository
git clone https://github.com/BANCS-Norway/home.git
cd pages
# Install dependencies
npm install
# Start development server
npm run devThe site will be available at http://localhost:5173
# Start dev server with hot reload
npm run dev
# Build for production
npm run build
# Preview production build
npm run previewWe welcome contributions, especially guest blog posts!
- See CONTRIBUTING.md for contribution guidelines
- Read our Code of Conduct for community standards
- Fork the repository at https://github.com/BANCS-Norway/home
- Create your blog post:
- Add your post:
docs/blog/your-post-title.md - Add code examples:
examples/your-post-title/
- Add your post:
- Follow the format:
# Your Post Title **Published**: YYYY-MM-DD **Author**: Your Name **Reading Time**: X minutes ## Introduction Your content here...
- Submit a PR with your changes
BANCS uses a custom color palette based on our brand:
--bancs-dark: #0f172a /* Primary dark background */
--bancs-dark-alt: #1e1b4b /* Alternative dark */
--bancs-accent: #6366f1 /* Indigo accent */
--bancs-accent-alt: #8b5cf6 /* Purple accent */See ../design/ for complete brand guidelines.
The site automatically deploys to GitHub Pages on every push to main:
- GitHub Actions builds the site
- Deploys to
gh-pagesbranch - Available at custom domain via CNAME
- Add
CNAMEfile indocs/public/with your domain - Configure DNS records:
CNAME www -> bancs.github.io A @ -> GitHub Pages IPs - Enable HTTPS in repository settings
This project uses Semantic Release for automated versioning:
- feat: New feature β Minor version bump
- fix: Bug fix β Patch version bump
- BREAKING CHANGE: Breaking change β Major version bump
Commits must follow Conventional Commits:
git commit -m "feat: add new blog post about TypeScript"
git commit -m "fix: correct typo in about page"
git commit -m "docs: update contributing guidelines"| Script | Description |
|---|---|
npm run dev |
Start development server |
npm run build |
Build for production |
npm run preview |
Preview production build |
npm run semantic-release |
Run semantic release (CI only) |
MIT Β© BANCS
See LICENSE for details.
- Website: www.bancs.no
- Email: contact@bancs.no
- GitHub: @BANCS-Norway
- LinkedIn: Benny Thomas
- Built with VitePress
- Styled with Tailwind CSS
- Deployed on GitHub Pages
- Logo design: See ../design/DESIGN-CONCEPT.md
- Site development assisted by Claude by Anthropic
Built with β€οΈ by BANCS
