Changed folder destination

This commit is contained in:
2026-03-12 09:06:38 +01:00
parent e6e5fcb76c
commit 40f8e0a836
20 changed files with 0 additions and 5266 deletions

24
portfolio/.gitignore vendored
View File

@@ -1,24 +0,0 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*
node_modules
dist
dist-ssr
*.local
# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

View File

@@ -1,3 +0,0 @@
{
"recommendations": ["Vue.volar"]
}

View File

@@ -1,5 +0,0 @@
# Vue 3 + Vite
This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.
Learn more about IDE Support for Vue in the [Vue Docs Scaling up Guide](https://vuejs.org/guide/scaling-up/tooling.html#ide-support).

View File

@@ -1,36 +0,0 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Niels Portfolio</title>
<!-- SEO Meta Tags -->
<meta name="description"
content="Niels M - Cybersecurity student and web developer at Stellarnode VOF. Specialized in modern web development and security solutions.">
<meta name="keywords" content="cybersecurity, web development, portfolio, Vue.js, Stellarnode, security, frontend">
<meta name="author" content="Niels M">
<!-- Performance Hints -->
<meta name="theme-color" content="#1a1a2e">
<link rel="dns-prefetch" href="//fonts.googleapis.com">
<link rel="dns-prefetch" href="//cdnjs.cloudflare.com">
<!-- Google Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link
href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap"
rel="stylesheet">
<!-- FontAwesome Icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.js"></script>
</body>
</html>

File diff suppressed because it is too large Load Diff

View File

@@ -1,19 +0,0 @@
{
"name": "portfolio",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview"
},
"dependencies": {
"vue": "^3.5.18",
"vue-router": "^4.5.1"
},
"devDependencies": {
"@vitejs/plugin-vue": "^6.0.1",
"vite": "^7.1.2"
}
}

View File

@@ -1,22 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
<defs>
<linearGradient id="lightningGrad" x1="0%" y1="0%" x2="100%" y2="100%">
<stop offset="0%" style="stop-color:#3B82F6;stop-opacity:1" />
<stop offset="50%" style="stop-color:#8B5CF6;stop-opacity:1" />
<stop offset="100%" style="stop-color:#F59E0B;stop-opacity:1" />
</linearGradient>
</defs>
<!-- Lightning bolt shape -->
<path d="M45 10 L35 40 L50 40 L30 85 L65 35 L50 35 L65 10 Z"
fill="url(#lightningGrad)"
stroke="#1E293B"
stroke-width="2"/>
<!-- Glow effect -->
<path d="M45 10 L35 40 L50 40 L30 85 L65 35 L50 35 L65 10 Z"
fill="none"
stroke="url(#lightningGrad)"
stroke-width="4"
opacity="0.6"/>
</svg>

Before

Width:  |  Height:  |  Size: 783 B

View File

@@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>

Before

Width:  |  Height:  |  Size: 1.5 KiB

View File

@@ -1,20 +0,0 @@
<script setup>
import Navbar from './components/Navbar.vue'
</script>
<template>
<div class="app">
<Navbar />
<router-view />
</div>
</template>
<style>
.app {
width: 100%;
min-height: 100vh;
margin: 0;
padding: 0;
}
</style>

View File

@@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="37.07" height="36" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 198"><path fill="#41B883" d="M204.8 0H256L128 220.8L0 0h97.92L128 51.2L157.44 0h47.36Z"></path><path fill="#41B883" d="m0 0l128 220.8L256 0h-51.2L128 132.48L50.56 0H0Z"></path><path fill="#35495E" d="M50.56 0L128 133.12L204.8 0h-47.36L128 51.2L97.92 0H50.56Z"></path></svg>

Before

Width:  |  Height:  |  Size: 496 B

View File

@@ -1,43 +0,0 @@
<script setup>
import { ref } from 'vue'
defineProps({
msg: String,
})
const count = ref(0)
</script>
<template>
<h1>{{ msg }}</h1>
<div class="card">
<button type="button" @click="count++">count is {{ count }}</button>
<p>
Edit
<code>components/HelloWorld.vue</code> to test HMR
</p>
</div>
<p>
Check out
<a href="https://vuejs.org/guide/quick-start.html#local" target="_blank"
>create-vue</a
>, the official Vue + Vite starter
</p>
<p>
Learn more about IDE Support for Vue in the
<a
href="https://vuejs.org/guide/scaling-up/tooling.html#ide-support"
target="_blank"
>Vue Docs Scaling up Guide</a
>.
</p>
<p class="read-the-docs">Click on the Vite and Vue logos to learn more</p>
</template>
<style scoped>
.read-the-docs {
color: #888;
}
</style>

View File

@@ -1,383 +0,0 @@
<template>
<nav class="navbar">
<div class="nav-container">
<div class="nav-logo">
<router-link to="/" class="logo-text">
<span class="logo-icon"><i class="fas fa-bolt" style="color: #64b5f6;"></i></span>
nielsm.xyz
</router-link>
</div>
<ul class="nav-menu" :class="{ active: isMenuOpen }">
<li class="nav-item">
<router-link to="/" class="nav-link" @click="closeMenu">
<span class="nav-text">Home</span>
</router-link>
</li>
<li class="nav-item">
<router-link to="/about" class="nav-link" @click="closeMenu">
<span class="nav-text">About</span>
</router-link>
</li>
<li class="nav-item">
<router-link to="/projects" class="nav-link" @click="closeMenu">
<span class="nav-text">Projects</span>
</router-link>
</li>
<li class="nav-item">
<router-link to="/contact" class="nav-link" @click="closeMenu">
<span class="nav-text">Contact</span>
</router-link>
</li>
</ul>
<div class="hamburger" :class="{ active: isMenuOpen }" @click="toggleMenu">
<span class="bar"></span>
<span class="bar"></span>
<span class="bar"></span>
</div>
</div>
<div class="nav-background"></div>
</nav>
</template>
<script setup>
import { ref, onMounted, onUnmounted } from 'vue'
const isMenuOpen = ref(false)
const isScrolled = ref(false)
const toggleMenu = () => {
isMenuOpen.value = !isMenuOpen.value
}
const closeMenu = () => {
isMenuOpen.value = false
}
const handleScroll = () => {
const scrollTop = window.pageYOffset || document.documentElement.scrollTop
isScrolled.value = scrollTop > 100
// Update the navbar class directly
const navbar = document.querySelector('.navbar')
if (navbar) {
if (scrollTop > 100) {
navbar.classList.add('scrolled')
} else {
navbar.classList.remove('scrolled')
}
}
}
onMounted(() => {
window.addEventListener('scroll', handleScroll, { passive: true })
// Initial check
handleScroll()
})
onUnmounted(() => {
window.removeEventListener('scroll', handleScroll)
})
</script>
<style scoped>
.navbar {
position: fixed;
top: 1rem;
left: 50%;
transform: translateX(-50%);
width: calc(100% - 4rem);
max-width: 1200px;
background: rgba(10, 10, 10, 0.85);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border: 1px solid rgba(100, 181, 246, 0.2);
border-radius: 20px;
z-index: 1000;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.navbar.scrolled {
background: rgba(10, 10, 10, 0.95);
backdrop-filter: blur(30px);
-webkit-backdrop-filter: blur(30px);
border-color: rgba(100, 181, 246, 0.3);
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
transform: translateX(-50%) scale(0.98);
}
.nav-background {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(90deg,
rgba(102, 126, 234, 0.05) 0%,
rgba(118, 75, 162, 0.05) 50%,
rgba(102, 126, 234, 0.05) 100%);
opacity: 0;
transition: opacity 0.3s ease;
border-radius: 20px;
pointer-events: none;
z-index: 1;
}
.navbar:hover .nav-background {
opacity: 1;
}
.nav-container {
padding: 1rem 2rem;
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
position: relative;
z-index: 10;
}
.logo-text {
font-size: 1.4rem;
font-weight: 700;
background: linear-gradient(45deg, #64b5f6, #42a5f5, #1e88e5);
background-size: 200% auto;
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
text-decoration: none;
display: flex;
align-items: center;
gap: 0.5rem;
transition: all 0.3s ease;
animation: shimmer 3s ease-in-out infinite;
}
.logo-text:hover {
transform: scale(1.05);
}
.logo-icon {
font-size: 1.6rem;
filter: drop-shadow(0 0 10px rgba(100, 181, 246, 0.5));
animation: pulse 2s infinite;
}
.nav-menu {
display: flex;
list-style: none;
gap: 0.5rem;
margin: 0;
position: relative;
z-index: 10;
pointer-events: auto;
}
.nav-item {
position: relative;
z-index: 10;
pointer-events: auto;
}
.nav-link {
color: #ffffff;
text-decoration: none;
font-weight: 500;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
display: flex;
align-items: center;
justify-content: center;
padding: 0.6rem 1.2rem;
border-radius: 12px;
background: transparent;
border: 1px solid transparent;
cursor: pointer;
z-index: 10;
pointer-events: auto;
}
.nav-link::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(45deg, rgba(100, 181, 246, 0.1), rgba(118, 75, 162, 0.1));
border-radius: 12px;
opacity: 0;
transition: all 0.3s ease;
z-index: -1;
pointer-events: none;
}
.nav-link:hover::before {
opacity: 1;
}
.nav-link:hover {
color: #64b5f6;
transform: translateY(-1px);
border-color: rgba(100, 181, 246, 0.3);
}
.nav-text {
font-family: 'Poppins', sans-serif;
font-size: 0.95rem;
letter-spacing: 0.3px;
font-weight: 500;
text-transform: none;
}
.nav-link.router-link-active {
color: #64b5f6;
background: rgba(100, 181, 246, 0.15);
border: 1px solid rgba(100, 181, 246, 0.4);
box-shadow: 0 4px 20px rgba(100, 181, 246, 0.2);
}
.hamburger {
display: none;
flex-direction: column;
cursor: pointer;
padding: 0.5rem;
border-radius: 8px;
transition: all 0.3s ease;
background: transparent;
border: 1px solid transparent;
}
.hamburger:hover {
background: rgba(100, 181, 246, 0.1);
border-color: rgba(100, 181, 246, 0.3);
}
.bar {
width: 22px;
height: 2px;
background: linear-gradient(45deg, #64b5f6, #42a5f5);
margin: 3px 0;
transition: 0.3s;
border-radius: 2px;
}
/* Animations */
@keyframes shimmer {
0% {
background-position: -200% center;
}
100% {
background-position: 200% center;
}
}
@keyframes pulse {
0%, 100% {
transform: scale(1);
filter: drop-shadow(0 0 10px rgba(100, 181, 246, 0.5));
}
50% {
transform: scale(1.05);
filter: drop-shadow(0 0 15px rgba(100, 181, 246, 0.8));
}
}
/* Mobile Styles */
@media (max-width: 768px) {
.navbar {
top: 0.5rem;
width: calc(100% - 2rem);
border-radius: 16px;
}
.hamburger {
display: flex;
}
.nav-menu {
position: fixed;
left: -100%;
top: 75px;
flex-direction: column;
background: rgba(10, 10, 10, 0.98);
backdrop-filter: blur(30px);
-webkit-backdrop-filter: blur(30px);
width: calc(100% - 2rem);
max-width: 1200px;
text-align: center;
transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
padding: 2rem 0;
border: 1px solid rgba(100, 181, 246, 0.2);
border-radius: 16px;
gap: 0.5rem;
margin: 0 1rem;
}
.nav-menu.active {
left: 0;
}
.nav-item {
margin: 0;
width: 100%;
padding: 0 2rem;
}
.nav-link {
padding: 1rem 1.5rem;
justify-content: center;
width: 100%;
margin: 0;
}
.hamburger.active .bar:nth-child(2) {
opacity: 0;
}
.hamburger.active .bar:nth-child(1) {
transform: translateY(7px) rotate(45deg);
}
.hamburger.active .bar:nth-child(3) {
transform: translateY(-7px) rotate(-45deg);
}
.nav-container {
padding: 0.8rem 1.5rem;
}
.logo-text {
font-size: 1.3rem;
}
.logo-icon {
font-size: 1.4rem;
}
}
@media (max-width: 480px) {
.navbar {
top: 0.5rem;
width: calc(100% - 1rem);
}
.nav-menu {
width: calc(100% - 1rem);
margin: 0 0.5rem;
}
.nav-text {
font-size: 1rem;
}
.nav-container {
padding: 0.8rem 1rem;
}
.logo-text {
font-size: 1.2rem;
}
}
</style>

View File

@@ -1,6 +0,0 @@
import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import router from './router'
createApp(App).use(router).mount('#app')

View File

@@ -1,42 +0,0 @@
import { createRouter, createWebHistory } from 'vue-router'
import Home from '../views/Home.vue'
import About from '../views/About.vue'
import Projects from '../views/Projects.vue'
import Contact from '../views/Contact.vue'
const routes = [
{
path: '/',
name: 'Home',
component: Home
},
{
path: '/about',
name: 'About',
component: About
},
{
path: '/projects',
name: 'Projects',
component: Projects
},
{
path: '/contact',
name: 'Contact',
component: Contact
}
]
const router = createRouter({
history: createWebHistory(),
routes,
scrollBehavior(to, from, savedPosition) {
if (savedPosition) {
return savedPosition
} else {
return { top: 0 }
}
}
})
export default router

View File

@@ -1,74 +0,0 @@
/* Global Reset and Base Styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, Avenir, Helvetica, Arial, sans-serif;
line-height: 1.5;
font-weight: 400;
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
html {
width: 100%;
scroll-behavior: smooth;
-webkit-text-size-adjust: 100%; /* Prevent iOS Safari text size adjustment */
}
body {
margin: 0;
padding: 0;
width: 100%;
min-height: 100vh;
overflow-x: hidden;
overflow-y: auto; /* Ensure vertical scrolling */
-webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
position: relative; /* Ensure proper stacking context */
}
#app {
width: 100%;
min-height: 100vh;
margin: 0;
padding: 0;
overflow-x: hidden;
position: relative;
}
a {
font-weight: 500;
color: #646cff;
text-decoration: inherit;
}
a:hover {
color: #535bf2;
}
/* Remove default button styles */
button {
border: none;
background: none;
cursor: pointer;
font-family: inherit;
}
/* Remove default heading styles */
h1, h2, h3, h4, h5, h6 {
margin: 0;
font-weight: inherit;
}
/* Remove default list styles */
ul, ol {
list-style: none;
margin: 0;
padding: 0;
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,753 +0,0 @@
<template>
<div class="contact">
<!-- Background Elements -->
<div class="background-elements">
<div class="floating-shapes">
<div class="shape shape-1"></div>
<div class="shape shape-2"></div>
<div class="shape shape-3"></div>
</div>
<div class="grid-overlay"></div>
</div>
<!-- Hero Section -->
<section class="contact-hero">
<div class="container">
<div class="hero-content">
<h1 class="hero-title">Get In Touch</h1>
<p class="hero-subtitle">
Let's discuss your next project or collaboration opportunity
</p>
</div>
</div>
</section>
<!-- Contact Content -->
<section class="contact-content">
<div class="container">
<div class="contact-grid">
<!-- Contact Form -->
<div class="contact-form-section">
<h2 class="section-title">Send me a message</h2>
<form @submit.prevent="submitForm" class="contact-form">
<div class="form-group">
<label for="name">Name</label>
<input
type="text"
id="name"
v-model="form.name"
required
:class="{ error: errors.name }"
>
<span v-if="errors.name" class="error-message">{{ errors.name }}</span>
</div>
<div class="form-group">
<label for="email">Email</label>
<input
type="email"
id="email"
v-model="form.email"
required
:class="{ error: errors.email }"
>
<span v-if="errors.email" class="error-message">{{ errors.email }}</span>
</div>
<div class="form-group">
<label for="subject">Subject</label>
<input
type="text"
id="subject"
v-model="form.subject"
required
:class="{ error: errors.subject }"
>
<span v-if="errors.subject" class="error-message">{{ errors.subject }}</span>
</div>
<div class="form-group">
<label for="message">Message</label>
<textarea
id="message"
v-model="form.message"
rows="6"
required
:class="{ error: errors.message }"
></textarea>
<span v-if="errors.message" class="error-message">{{ errors.message }}</span>
</div>
<button type="submit" class="submit-btn" :disabled="isSubmitting">
<span v-if="!isSubmitting">
<i class="fas fa-paper-plane"></i>
Send Message
</span>
<span v-else>
<i class="fas fa-spinner fa-spin"></i>
Sending...
</span>
</button>
<div v-if="submitMessage" class="submit-message" :class="submitStatus">
{{ submitMessage }}
</div>
</form>
</div>
<!-- Contact Info -->
<div class="contact-info-section">
<h2 class="section-title">Let's connect</h2>
<div class="contact-info">
<div class="info-item">
<div class="info-icon">
<i class="fas fa-envelope"></i>
</div>
<div class="info-content">
<h4>Email</h4>
<a href="mailto:nielsm2005@pm.me">nielsm2005@pm.me</a>
</div>
</div>
<div class="info-item">
<div class="info-icon">
<i class="fas fa-map-marker-alt"></i>
</div>
<div class="info-content">
<h4>Location</h4>
<p>Belgium</p>
</div>
</div>
<div class="info-item">
<div class="info-icon">
<i class="fas fa-clock"></i>
</div>
<div class="info-content">
<h4>Response Time</h4>
<p>Within 24 hours</p>
</div>
</div>
</div>
<!-- Social Links -->
<div class="social-section">
<h3 class="social-title">Follow me</h3>
<div class="social-links">
<a href="https://github.com/NielsM05" class="social-link github" title="GitHub">
<i class="fab fa-github"></i>
</a>
<a href="https://www.linkedin.com/in/nielsm05" class="social-link linkedin" title="LinkedIn">
<i class="fab fa-linkedin-in"></i>
</a>
<a href="https://twitter.com/Nielsken05" class="social-link twitter" title="Twitter">
<i class="fab fa-twitter"></i>
</a>
<a href="https://discord.gg/DNBVUSW3r2" class="social-link discord" title="Discord">
<i class="fab fa-discord"></i>
</a>
</div>
</div>
</div>
</div>
</div>
</section>
</div>
</template>
<script setup>
import { ref, reactive } from 'vue'
// Form data
const form = reactive({
name: '',
email: '',
subject: '',
message: ''
})
// Form validation
const errors = reactive({
name: '',
email: '',
subject: '',
message: ''
})
// Form state
const isSubmitting = ref(false)
const submitMessage = ref('')
const submitStatus = ref('')
// Validation functions
const validateEmail = (email) => {
const emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/
return emailRegex.test(email)
}
const validateForm = () => {
// Clear previous errors
Object.keys(errors).forEach(key => errors[key] = '')
let isValid = true
// Validate name
if (!form.name.trim()) {
errors.name = 'Name is required'
isValid = false
} else if (form.name.trim().length < 2) {
errors.name = 'Name must be at least 2 characters'
isValid = false
}
// Validate email
if (!form.email.trim()) {
errors.email = 'Email is required'
isValid = false
} else if (!validateEmail(form.email)) {
errors.email = 'Please enter a valid email address'
isValid = false
}
// Validate subject
if (!form.subject.trim()) {
errors.subject = 'Subject is required'
isValid = false
} else if (form.subject.trim().length < 5) {
errors.subject = 'Subject must be at least 5 characters'
isValid = false
}
// Validate message
if (!form.message.trim()) {
errors.message = 'Message is required'
isValid = false
} else if (form.message.trim().length < 10) {
errors.message = 'Message must be at least 10 characters'
isValid = false
}
return isValid
}
// Submit form
const submitForm = async () => {
if (!validateForm()) {
return
}
isSubmitting.value = true
submitMessage.value = ''
try {
// Simulate form submission (replace with actual API call)
await new Promise(resolve => setTimeout(resolve, 2000))
// Success
submitMessage.value = 'Thank you! Your message has been sent successfully. I\'ll get back to you soon.'
submitStatus.value = 'success'
// Reset form
Object.keys(form).forEach(key => form[key] = '')
} catch (error) {
// Error
submitMessage.value = 'Oops! There was an error sending your message. Please try again.'
submitStatus.value = 'error'
} finally {
isSubmitting.value = false
// Clear message after 5 seconds
setTimeout(() => {
submitMessage.value = ''
submitStatus.value = ''
}, 5000)
}
}
</script>
<style scoped>
.contact {
min-height: 100vh;
background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 30%, #16213e 70%, #0f0f0f 100%);
color: #ffffff;
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
position: relative;
overflow-x: hidden;
}
/* Background Elements */
.background-elements {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 1;
}
.grid-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image:
linear-gradient(rgba(100, 181, 246, 0.03) 1px, transparent 1px),
linear-gradient(90deg, rgba(100, 181, 246, 0.03) 1px, transparent 1px);
background-size: 50px 50px;
animation: gridMove 20s linear infinite;
}
.floating-shapes {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.shape {
position: absolute;
border-radius: 50%;
background: linear-gradient(45deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
animation: float 6s ease-in-out infinite;
}
.shape-1 {
width: 80px;
height: 80px;
top: 25%;
left: 10%;
animation-delay: 0s;
}
.shape-2 {
width: 60px;
height: 60px;
top: 70%;
right: 15%;
animation-delay: 3s;
}
.shape-3 {
width: 100px;
height: 100px;
top: 50%;
left: 80%;
animation-delay: 6s;
}
/* Container */
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
position: relative;
z-index: 2;
}
/* Hero Section */
.contact-hero {
padding: 8rem 0 4rem;
text-align: center;
}
.hero-content {
max-width: 600px;
margin: 0 auto;
}
.hero-title {
font-size: 4rem;
font-weight: 800;
margin-bottom: 1.5rem;
background: linear-gradient(45deg, #ffffff, #64b5f6, #ffffff);
background-size: 200% auto;
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
animation: shimmer 3s ease-in-out infinite;
}
.hero-subtitle {
font-size: 1.3rem;
color: #b0b0b0;
line-height: 1.6;
}
/* Contact Content */
.contact-content {
padding: 2rem 0 4rem;
}
.contact-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 4rem;
align-items: start;
}
/* Section Titles */
.section-title {
font-size: 2rem;
font-weight: 700;
margin-bottom: 2rem;
color: #ffffff;
}
/* Contact Form */
.contact-form-section {
background: rgba(255, 255, 255, 0.03);
backdrop-filter: blur(20px);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 20px;
padding: 2.5rem;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.contact-form {
display: flex;
flex-direction: column;
gap: 1.5rem;
}
.form-group {
display: flex;
flex-direction: column;
}
.form-group label {
font-size: 0.9rem;
font-weight: 600;
color: #64b5f6;
margin-bottom: 0.5rem;
font-family: 'Poppins', sans-serif;
}
.form-group input,
.form-group textarea {
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 12px;
padding: 1rem;
color: #ffffff;
font-size: 1rem;
font-family: 'Inter', sans-serif;
transition: all 0.3s ease;
resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
outline: none;
border-color: #64b5f6;
background: rgba(100, 181, 246, 0.05);
box-shadow: 0 0 0 3px rgba(100, 181, 246, 0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
color: #666;
}
.form-group input.error,
.form-group textarea.error {
border-color: #f44336;
background: rgba(244, 67, 54, 0.05);
}
.error-message {
color: #f44336;
font-size: 0.85rem;
margin-top: 0.5rem;
font-family: 'Poppins', sans-serif;
}
.submit-btn {
background: linear-gradient(45deg, #667eea, #764ba2);
color: white;
border: none;
border-radius: 12px;
padding: 1rem 2rem;
font-size: 1.1rem;
font-weight: 600;
font-family: 'Poppins', sans-serif;
cursor: pointer;
transition: all 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
margin-top: 1rem;
}
.submit-btn:hover:not(:disabled) {
transform: translateY(-2px);
box-shadow: 0 12px 35px rgba(102, 126, 234, 0.6);
}
.submit-btn:disabled {
opacity: 0.7;
cursor: not-allowed;
transform: none;
}
.submit-message {
padding: 1rem;
border-radius: 12px;
font-size: 0.9rem;
font-weight: 500;
text-align: center;
margin-top: 1rem;
}
.submit-message.success {
background: rgba(76, 175, 80, 0.1);
border: 1px solid rgba(76, 175, 80, 0.3);
color: #4caf50;
}
.submit-message.error {
background: rgba(244, 67, 54, 0.1);
border: 1px solid rgba(244, 67, 54, 0.3);
color: #f44336;
}
/* Contact Info */
.contact-info-section {
display: flex;
flex-direction: column;
gap: 3rem;
}
.contact-info {
display: flex;
flex-direction: column;
gap: 2rem;
}
.info-item {
display: flex;
align-items: flex-start;
gap: 1rem;
padding: 1.5rem;
background: rgba(255, 255, 255, 0.03);
backdrop-filter: blur(20px);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 16px;
transition: all 0.3s ease;
}
.info-item:hover {
background: rgba(100, 181, 246, 0.05);
border-color: rgba(100, 181, 246, 0.2);
transform: translateY(-2px);
}
.info-icon {
width: 50px;
height: 50px;
background: linear-gradient(45deg, #667eea, #764ba2);
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.info-icon i {
font-size: 1.2rem;
color: white;
}
.info-content h4 {
font-size: 1.1rem;
font-weight: 600;
color: #ffffff;
margin: 0 0 0.5rem 0;
font-family: 'Poppins', sans-serif;
}
.info-content p,
.info-content a {
color: #b0b0b0;
margin: 0;
font-size: 0.95rem;
line-height: 1.4;
}
.info-content a {
text-decoration: none;
transition: color 0.3s ease;
}
.info-content a:hover {
color: #64b5f6;
}
/* Social Section */
.social-section {
text-align: center;
}
.social-title {
font-size: 1.3rem;
font-weight: 600;
color: #ffffff;
margin-bottom: 1.5rem;
font-family: 'Poppins', sans-serif;
}
.social-links {
display: flex;
justify-content: center;
gap: 1rem;
flex-wrap: wrap;
}
.social-link {
width: 60px;
height: 60px;
border-radius: 15px;
display: flex;
align-items: center;
justify-content: center;
text-decoration: none;
transition: all 0.3s ease;
border: 1px solid rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
}
.social-link i {
font-size: 1.5rem;
}
.social-link.github {
background: rgba(255, 255, 255, 0.05);
color: #ffffff;
}
.social-link.github:hover {
background: #333;
transform: translateY(-3px);
box-shadow: 0 8px 25px rgba(51, 51, 51, 0.4);
}
.social-link.linkedin {
background: rgba(0, 119, 181, 0.1);
color: #0077b5;
}
.social-link.linkedin:hover {
background: #0077b5;
color: white;
transform: translateY(-3px);
box-shadow: 0 8px 25px rgba(0, 119, 181, 0.4);
}
.social-link.twitter {
background: rgba(29, 161, 242, 0.1);
color: #1da1f2;
}
.social-link.twitter:hover {
background: #1da1f2;
color: white;
transform: translateY(-3px);
box-shadow: 0 8px 25px rgba(29, 161, 242, 0.4);
}
.social-link.discord {
background: rgba(114, 137, 218, 0.1);
color: #7289da;
}
.social-link.discord:hover {
background: #7289da;
color: white;
transform: translateY(-3px);
box-shadow: 0 8px 25px rgba(114, 137, 218, 0.4);
}
/* Animations */
@keyframes shimmer {
0% {
background-position: -200% center;
}
100% {
background-position: 200% center;
}
}
@keyframes float {
0%, 100% {
transform: translateY(0px) rotate(0deg);
}
50% {
transform: translateY(-20px) rotate(180deg);
}
}
@keyframes gridMove {
0% {
transform: translate(0, 0);
}
100% {
transform: translate(50px, 50px);
}
}
/* Responsive Design */
@media (max-width: 768px) {
.hero-title {
font-size: 2.5rem;
}
.hero-subtitle {
font-size: 1.1rem;
}
.contact-grid {
grid-template-columns: 1fr;
gap: 2rem;
}
.contact-form-section {
padding: 1.5rem;
}
.container {
padding: 0 1rem;
}
.social-links {
gap: 0.75rem;
}
.social-link {
width: 50px;
height: 50px;
}
.social-link i {
font-size: 1.3rem;
}
}
@media (max-width: 480px) {
.hero-title {
font-size: 2rem;
}
.section-title {
font-size: 1.5rem;
}
.contact-form-section {
padding: 1rem;
}
}
</style>

View File

@@ -1,784 +0,0 @@
<template>
<div class="home">
<!-- Animated Background Elements -->
<div class="background-elements">
<div class="floating-shapes">
<div class="shape shape-1"></div>
<div class="shape shape-2"></div>
<div class="shape shape-3"></div>
<div class="shape shape-4"></div>
<div class="shape shape-5"></div>
</div>
<div class="grid-overlay"></div>
</div>
<!-- Hero Section -->
<section class="hero">
<div class="hero-container">
<div class="hero-content">
<!-- Enhanced Avatar with Glowing Effect -->
<div class="avatar-container">
<div class="avatar-glow"></div>
<div class="avatar">
<span class="avatar-text">NM</span>
<div class="avatar-ring"></div>
</div>
</div>
<!-- Main Content with Typing Animation -->
<div class="text-content">
<h1 class="hero-title">
<span class="line-1">Hi, I'm Niels</span>
</h1>
<h2 class="hero-subtitle">
<span class="typing-text" ref="typingText"></span>
<span class="cursor">|</span>
</h2>
<p class="hero-description">
Currently pursuing cybersecurity studies while crafting exceptional digital experiences
as a web designer and software developer at <span class="highlight">Stellarnode VOF</span>.
I'm passionate about merging security principles with innovative development practices
to build robust, user-centric applications.
</p>
<!-- Interactive Stats -->
<div class="stats-container">
<div class="stat-item">
<div class="stat-number">2+</div>
<div class="stat-label">Years Experience</div>
</div>
<div class="stat-item">
<div class="stat-number">20+</div>
<div class="stat-label">Projects Built</div>
</div>
<div class="stat-item">
<div class="stat-number">3+</div>
<div class="stat-label">Specializations</div>
</div>
</div>
<!-- Enhanced Buttons -->
<div class="hero-buttons">
<router-link to="/projects" class="btn btn-primary">
<span class="btn-text">Explore My Work</span>
<div class="btn-shine"></div>
</router-link>
<router-link to="/contact" class="btn btn-secondary">
<span class="btn-text">Let's Connect</span>
<div class="btn-particles"></div>
</router-link>
</div>
<!-- Tech Stack Icons -->
<div class="tech-stack">
<div class="tech-label">Tech Stack:</div>
<div class="tech-icons">
<div class="tech-icon" title="Vue.js">Vue</div>
<div class="tech-icon" title="PHP">PHP</div>
<div class="tech-icon" title="Node.js">Node</div>
<div class="tech-icon" title="Laravel">Laravel</div>
<div class="tech-icon" title="Cybersecurity">Security</div>
</div>
</div>
</div>
</div>
</div>
</section>
</div>
</template>
<script setup>
import { ref, onMounted, onUnmounted } from 'vue'
const typingText = ref(null)
onMounted(() => {
// Prevent body scrolling when on home page
document.body.style.overflow = 'hidden'
const texts = [
'Cybersecurity Student',
'Co-Founder Stellarnode VOF',
'Security Enthusiast'
]
let textIndex = 0
let charIndex = 0
let isDeleting = false
const typeEffect = () => {
const currentText = texts[textIndex]
if (!isDeleting) {
typingText.value.textContent = currentText.substring(0, charIndex + 1)
charIndex++
if (charIndex === currentText.length) {
isDeleting = true
setTimeout(typeEffect, 2000) // Pause before deleting
return
}
} else {
typingText.value.textContent = currentText.substring(0, charIndex - 1)
charIndex--
if (charIndex === 0) {
isDeleting = false
textIndex = (textIndex + 1) % texts.length
}
}
setTimeout(typeEffect, isDeleting ? 50 : 150)
}
typeEffect()
})
onUnmounted(() => {
// Restore body scrolling when leaving home page
document.body.style.overflow = 'auto'
})
</script>
<style scoped>
.home {
background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 30%, #16213e 70%, #0f0f0f 100%);
color: #ffffff;
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
position: relative;
overflow-x: hidden;
overflow-y: hidden; /* Prevent any unwanted scrolling */
height: 100vh;
min-height: 100vh;
max-height: 100vh;
}
/* Background Elements */
.background-elements {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 1;
}
.grid-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image:
linear-gradient(rgba(100, 181, 246, 0.03) 1px, transparent 1px),
linear-gradient(90deg, rgba(100, 181, 246, 0.03) 1px, transparent 1px);
background-size: 50px 50px;
animation: gridMove 20s linear infinite;
}
.floating-shapes {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.shape {
position: absolute;
border-radius: 50%;
background: linear-gradient(45deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
animation: float 6s ease-in-out infinite;
}
.shape-1 {
width: 100px;
height: 100px;
top: 20%;
left: 10%;
animation-delay: 0s;
}
.shape-2 {
width: 60px;
height: 60px;
top: 60%;
right: 15%;
animation-delay: 2s;
}
.shape-3 {
width: 80px;
height: 80px;
top: 40%;
left: 80%;
animation-delay: 4s;
}
.shape-4 {
width: 40px;
height: 40px;
top: 80%;
left: 30%;
animation-delay: 1s;
}
.shape-5 {
width: 120px;
height: 120px;
top: 10%;
right: 30%;
animation-delay: 3s;
}
/* Hero Section */
.hero {
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
padding: 2rem;
position: relative;
z-index: 2;
}
.hero-container {
max-width: 1000px;
width: 100%;
}
.hero-content {
display: grid;
grid-template-columns: 1fr 2fr;
gap: 4rem;
align-items: center;
animation: fadeInUp 1s ease-out;
max-height: calc(100vh - 4rem); /* Ensure content fits within viewport */
overflow: hidden;
}
/* Enhanced Avatar */
.avatar-container {
position: relative;
display: flex;
justify-content: center;
align-items: center;
}
.avatar-glow {
position: absolute;
width: 200px;
height: 200px;
border-radius: 50%;
background: radial-gradient(circle, rgba(102, 126, 234, 0.3) 0%, transparent 70%);
animation: pulse 3s ease-in-out infinite;
}
.avatar {
width: 150px;
height: 150px;
border-radius: 50%;
background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
display: flex;
align-items: center;
justify-content: center;
position: relative;
box-shadow:
0 20px 40px rgba(102, 126, 234, 0.4),
inset 0 2px 10px rgba(255, 255, 255, 0.2);
z-index: 2;
}
.avatar-text {
font-size: 3rem;
font-weight: 700;
color: white;
text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.avatar-ring {
position: absolute;
width: calc(100% + 20px); /* Always 20px larger than the avatar */
height: calc(100% + 20px);
border: 2px solid rgba(100, 181, 246, 0.5);
border-radius: 50%;
animation: rotate 10s linear infinite;
border-top-color: #64b5f6;
top: -10px; /* Center the ring around the avatar */
left: -10px;
}
/* Text Content */
.text-content {
text-align: left;
}
.hero-title {
font-size: 4rem;
font-weight: 800;
margin-bottom: 1rem;
background: linear-gradient(45deg, #ffffff, #64b5f6, #ffffff);
background-size: 200% auto;
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
animation: shimmer 3s ease-in-out infinite;
}
.hero-subtitle {
font-size: 1.8rem;
font-weight: 400;
color: #64b5f6;
margin-bottom: 1.5rem;
height: 2.2rem;
}
.typing-text {
color: #64b5f6;
}
.cursor {
color: #64b5f6;
animation: blink 1s infinite;
}
.hero-description {
font-size: 1.2rem;
line-height: 1.8;
color: #b0b0b0;
margin-bottom: 2rem;
}
.highlight {
color: #64b5f6;
font-weight: 600;
}
/* Stats Container */
.stats-container {
display: flex;
gap: 2rem;
margin-bottom: 2.5rem;
}
.stat-item {
text-align: center;
}
.stat-number {
font-size: 2rem;
font-weight: 700;
color: #64b5f6;
margin-bottom: 0.5rem;
}
.stat-label {
font-size: 0.9rem;
color: #888;
text-transform: uppercase;
letter-spacing: 1px;
}
/* Enhanced Buttons */
.hero-buttons {
display: flex;
gap: 1.5rem;
margin-bottom: 3rem;
flex-wrap: wrap;
}
.btn {
position: relative;
padding: 1rem 2.5rem;
border: none;
border-radius: 50px;
font-size: 1.1rem;
font-weight: 600;
cursor: pointer;
text-decoration: none;
display: inline-flex;
align-items: center;
justify-content: center;
transition: all 0.3s ease;
overflow: hidden;
}
.btn-primary {
background: linear-gradient(45deg, #667eea, #764ba2);
color: white;
box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}
.btn-primary:hover {
transform: translateY(-3px);
box-shadow: 0 12px 35px rgba(102, 126, 234, 0.6);
}
.btn-secondary {
background: transparent;
color: #64b5f6;
border: 2px solid #64b5f6;
position: relative;
}
.btn-secondary:hover {
background: #64b5f6;
color: white;
transform: translateY(-3px);
}
.btn-shine {
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
animation: shine 3s infinite;
}
/* Tech Stack */
.tech-stack {
display: flex;
align-items: center;
gap: 1rem;
flex-wrap: wrap;
}
.tech-label {
font-size: 0.9rem;
color: #888;
font-weight: 600;
}
.tech-icons {
display: flex;
gap: 0.5rem;
flex-wrap: wrap;
}
.tech-icon {
background: rgba(100, 181, 246, 0.1);
color: #64b5f6;
padding: 0.5rem 1rem;
border-radius: 20px;
font-size: 0.8rem;
font-weight: 500;
border: 1px solid rgba(100, 181, 246, 0.3);
transition: all 0.3s ease;
}
.tech-icon:hover {
background: rgba(100, 181, 246, 0.2);
transform: translateY(-2px);
}
/* Animations */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(50px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes float {
0%, 100% {
transform: translateY(0px) rotate(0deg);
}
50% {
transform: translateY(-20px) rotate(180deg);
}
}
@keyframes rotate {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
@keyframes pulse {
0%, 100% {
opacity: 0.5;
transform: scale(1);
}
50% {
opacity: 1;
transform: scale(1.1);
}
}
@keyframes shimmer {
0% {
background-position: -200% center;
}
100% {
background-position: 200% center;
}
}
@keyframes blink {
0%, 50% {
opacity: 1;
}
51%, 100% {
opacity: 0;
}
}
@keyframes bounce {
0%, 20%, 50%, 80%, 100% {
transform: translateX(-50%) translateY(0);
}
40% {
transform: translateX(-50%) translateY(-10px);
}
60% {
transform: translateX(-50%) translateY(-5px);
}
}
@keyframes shine {
0% {
left: -100%;
}
100% {
left: 100%;
}
}
@keyframes gridMove {
0% {
transform: translate(0, 0);
}
100% {
transform: translate(50px, 50px);
}
}
/* Responsive Design */
@media (max-width: 1024px) {
.hero-content {
grid-template-columns: 1fr;
text-align: center;
gap: 3rem;
}
.text-content {
text-align: center;
}
.hero-title {
font-size: 3rem;
}
}
/* Desktop optimizations */
@media (min-width: 1025px) {
.home {
height: 100vh;
overflow: hidden;
}
.hero {
height: 100vh;
align-items: center;
padding: 2rem;
}
}
@media (max-width: 768px) {
.home {
height: 100vh;
height: 100svh; /* Small viewport height for mobile */
overflow: hidden;
}
.hero {
height: 100vh;
height: 100svh;
padding: 1rem;
padding-top: 8rem; /* More padding to account for mobile navbar */
padding-bottom: 1rem;
}
.hero-container {
max-width: 100%;
height: 100%;
display: flex;
align-items: flex-start;
justify-content: center;
}
.hero-content {
grid-template-columns: 1fr;
text-align: center;
gap: 2.5rem; /* More space between avatar and text */
max-height: calc(100vh - 12rem); /* Increased to account for extra avatar margin */
overflow-y: auto;
padding: 1rem 0.5rem; /* More padding to prevent cutoff */
width: 100%;
}
.avatar-container {
margin-bottom: 1rem; /* Extra space below avatar */
margin-top: 2rem; /* Extra space above avatar to prevent ring cutoff */
}
.text-content {
text-align: center;
margin-top: 1rem; /* Extra space above text */
}
.hero-title {
font-size: 2.2rem;
line-height: 1.2;
margin-bottom: 1rem;
}
.hero-subtitle {
font-size: 1.3rem;
margin-bottom: 1rem;
}
.hero-description {
font-size: 0.95rem;
line-height: 1.5;
margin: 1rem 0;
}
.stats-container {
justify-content: center;
flex-wrap: wrap;
gap: 1rem;
margin-bottom: 1.5rem;
}
.stat-item {
flex: 0 0 auto;
}
.stat-number {
font-size: 1.5rem;
}
.hero-buttons {
justify-content: center;
flex-direction: column;
align-items: center;
gap: 1rem;
margin-bottom: 1.5rem;
}
.btn {
width: 250px;
max-width: 90vw;
padding: 0.8rem 2rem;
}
.avatar {
width: 100px;
height: 100px;
}
.avatar-text {
font-size: 2rem;
}
.avatar-glow {
width: 140px;
height: 140px;
}
.avatar-ring {
border-width: 1.5px; /* Slightly thinner border on mobile */
}
.tech-stack {
margin-top: 1rem;
}
.tech-icons {
flex-wrap: wrap;
justify-content: center;
gap: 0.5rem;
}
.tech-icon {
font-size: 0.75rem;
padding: 0.3rem 0.7rem;
}
}
/* Extra small mobile devices */
@media (max-width: 480px) {
.hero {
padding-top: 9rem; /* Even more padding for smaller screens */
padding-left: 0.5rem;
padding-right: 0.5rem;
}
.hero-content {
gap: 2rem;
max-height: calc(100vh - 13rem); /* Account for extra spacing */
padding: 1rem 0.5rem;
}
.avatar-container {
margin-bottom: 1.5rem;
margin-top: 2.5rem; /* More space on smaller screens */
}
.text-content {
margin-top: 1.5rem;
}
.hero-title {
font-size: 2rem;
}
.hero-subtitle {
font-size: 1.2rem;
}
.hero-description {
font-size: 0.9rem;
padding: 0 1rem;
}
.avatar {
width: 90px;
height: 90px;
}
.avatar-text {
font-size: 1.8rem;
}
.avatar-glow {
width: 120px;
height: 120px;
}
}
/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
.home {
height: 100vh;
height: 100svh;
overflow: hidden;
}
.hero {
height: 100vh;
height: 100svh;
}
}
</style>

View File

@@ -1,712 +0,0 @@
<template>
<div class="projects">
<!-- Background Elements -->
<div class="background-elements">
<div class="floating-shapes">
<div class="shape shape-1"></div>
<div class="shape shape-2"></div>
<div class="shape shape-3"></div>
</div>
<div class="grid-overlay"></div>
</div>
<!-- Hero Section -->
<section class="projects-hero">
<div class="container">
<div class="hero-content">
<h1 class="hero-title">My Projects</h1>
<p class="hero-subtitle">
A showcase of my work in cybersecurity, web development, and software engineering
</p>
</div>
</div>
</section>
<!-- Filter Buttons -->
<section class="filter-section">
<div class="container">
<div class="filter-buttons">
<button
class="filter-btn"
:class="{ active: activeFilter === 'all' }"
@click="setFilter('all')"
>
All Projects
</button>
<button
class="filter-btn"
:class="{ active: activeFilter === 'web' }"
@click="setFilter('web')"
>
Web Development
</button>
<button
class="filter-btn"
:class="{ active: activeFilter === 'security' }"
@click="setFilter('security')"
>
Cybersecurity
</button>
<button
class="filter-btn"
:class="{ active: activeFilter === 'fullstack' }"
@click="setFilter('fullstack')"
>
Full Stack
</button>
</div>
</div>
</section>
<!-- Projects Grid -->
<section class="projects-grid">
<div class="container">
<div class="grid">
<div
v-for="project in filteredProjects"
:key="project.id"
class="project-card"
:class="{ 'featured': project.featured }"
@click="openProject(project)"
>
<div class="project-image">
<div class="image-placeholder">
<i :class="project.icon" class="project-icon"></i>
</div>
<div class="project-overlay">
<div class="tech-stack">
<span
v-for="tech in project.technologies.slice(0, 3)"
:key="tech"
class="tech-tag"
>
{{ tech }}
</span>
</div>
</div>
</div>
<div class="project-content">
<div class="project-header">
<h3 class="project-title">{{ project.title }}</h3>
<div class="project-status" :class="project.status">
{{ project.status }}
</div>
</div>
<p class="project-description">{{ project.description }}</p>
<div class="project-links">
<a
v-if="project.demo"
:href="project.demo"
target="_blank"
class="project-link demo"
@click.stop
>
<i class="fas fa-external-link-alt"></i>
Live Demo
</a>
<a
v-if="project.github"
:href="project.github"
target="_blank"
class="project-link github"
@click.stop
>
<i class="fab fa-github"></i>
Code
</a>
<span
v-if="!project.github && !project.demo"
class="project-link private"
>
<i class="fas fa-eye-slash"></i>
Private/Proprietary
</span>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- CTA Section -->
<section class="cta-section">
<div class="container">
<div class="cta-content">
<h2 class="cta-title">Have a Project in Mind?</h2>
<p class="cta-subtitle">Let's collaborate and build something amazing together</p>
<router-link to="/contact" class="cta-button">
<span>Get In Touch</span>
<i class="fas fa-arrow-right"></i>
</router-link>
</div>
</div>
</section>
</div>
</template>
<script setup>
import { ref, computed } from 'vue'
const activeFilter = ref('all')
const projects = ref([
{
id: 1,
title: 'Stellarnode.be Homepage',
description: 'Complete redesign and development of the company homepage for Stellarnode VOF. Modern, responsive design showcasing services and company information.',
category: 'web',
status: 'completed',
featured: true,
technologies: ['HTML5', 'CSS3', 'JavaScript', 'Responsive Design', 'SEO'],
icon: 'fas fa-globe',
demo: 'https://stellarnode.be',
github: null // No source code available
},
{
id: 2,
title: 'Uptime Monitoring Frontend',
description: 'Vue.js frontend application for monitoring website uptime and performance. Real-time dashboard with charts, alerts, and status tracking.',
category: 'web',
status: 'in-progress',
featured: false,
technologies: ['Vue.js', 'Chart.js', 'Axios', 'WebSocket', 'SCSS'],
icon: 'fas fa-chart-line',
demo: '#',
github: 'https://github.com/NielsM05/statusfrontend'
},
{
id: 3,
title: 'Uptime Monitoring Backend',
description: 'Laravel-based backend API for uptime monitoring system. Handles website checks, notifications, user management, and data analytics.',
category: 'fullstack',
status: 'in-progress',
featured: false,
technologies: ['Laravel', 'PHP', 'MySQL', 'Queue Jobs', 'RESTful API'],
icon: 'fas fa-server',
demo: null,
github: 'https://github.com/NielsM05/status-monitor'
},
{
id: 4,
title: 'ELK Stack Log Server',
description: 'Centralized logging infrastructure using Elasticsearch, Logstash, and Kibana. Aggregates and analyzes logs from multiple applications and servers.',
category: 'security',
status: 'completed',
featured: false,
technologies: ['Elasticsearch', 'Logstash', 'Kibana', 'Docker', 'Linux'],
icon: 'fas fa-search',
demo: null,
github: null // Infrastructure project
},
{
id: 5,
title: 'Honeypot Security Server',
description: 'Deployed honeypot server for school cybersecurity exam. Captured malicious activities with dedicated logging system and implemented protection measures.',
category: 'security',
status: 'completed',
featured: false,
technologies: ['Linux', 'Honeypot', 'iptables', 'Log Analysis', 'Security Monitoring'],
icon: 'fas fa-bug',
demo: null,
github: null // School project
}
])
const filteredProjects = computed(() => {
if (activeFilter.value === 'all') {
return projects.value
}
return projects.value.filter(project => project.category === activeFilter.value)
})
const setFilter = (filter) => {
activeFilter.value = filter
}
const openProject = (project) => {
// You can add modal functionality here later
console.log('Opening project:', project.title)
}
</script>
<style scoped>
.projects {
min-height: 100vh;
background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 30%, #16213e 70%, #0f0f0f 100%);
color: #ffffff;
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
position: relative;
overflow-x: hidden;
}
/* Background Elements */
.background-elements {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 1;
}
.grid-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image:
linear-gradient(rgba(100, 181, 246, 0.03) 1px, transparent 1px),
linear-gradient(90deg, rgba(100, 181, 246, 0.03) 1px, transparent 1px);
background-size: 50px 50px;
animation: gridMove 20s linear infinite;
}
.floating-shapes {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.shape {
position: absolute;
border-radius: 50%;
background: linear-gradient(45deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
animation: float 6s ease-in-out infinite;
}
.shape-1 {
width: 80px;
height: 80px;
top: 20%;
left: 15%;
animation-delay: 0s;
}
.shape-2 {
width: 60px;
height: 60px;
top: 60%;
right: 20%;
animation-delay: 3s;
}
.shape-3 {
width: 100px;
height: 100px;
top: 80%;
left: 70%;
animation-delay: 6s;
}
/* Container */
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
position: relative;
z-index: 2;
}
/* Hero Section */
.projects-hero {
padding: 8rem 0 4rem;
text-align: center;
}
.hero-content {
max-width: 800px;
margin: 0 auto;
}
.hero-title {
font-size: 4rem;
font-weight: 800;
margin-bottom: 1.5rem;
background: linear-gradient(45deg, #ffffff, #64b5f6, #ffffff);
background-size: 200% auto;
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
animation: shimmer 3s ease-in-out infinite;
}
.hero-subtitle {
font-size: 1.3rem;
color: #b0b0b0;
line-height: 1.6;
max-width: 600px;
margin: 0 auto;
}
/* Filter Section */
.filter-section {
padding: 2rem 0;
margin-bottom: 3rem;
}
.filter-buttons {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 1rem;
}
.filter-btn {
padding: 0.75rem 1.5rem;
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 50px;
color: #b0b0b0;
font-family: 'Poppins', sans-serif;
font-size: 0.9rem;
font-weight: 500;
cursor: pointer;
transition: all 0.3s ease;
backdrop-filter: blur(10px);
}
.filter-btn:hover {
background: rgba(100, 181, 246, 0.1);
border-color: rgba(100, 181, 246, 0.3);
color: #64b5f6;
transform: translateY(-2px);
}
.filter-btn.active {
background: linear-gradient(45deg, #667eea, #764ba2);
border-color: transparent;
color: #ffffff;
box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}
/* Projects Grid */
.projects-grid {
padding: 2rem 0 4rem;
}
.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
gap: 2rem;
margin-top: 2rem;
}
/* Project Cards */
.project-card {
background: rgba(255, 255, 255, 0.03);
backdrop-filter: blur(20px);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 20px;
overflow: hidden;
transition: all 0.4s ease;
cursor: pointer;
position: relative;
display: flex;
flex-direction: column; /* Stack image and content vertically */
height: 100%; /* Ensure all cards have same height */
}
.project-card:hover {
transform: translateY(-10px);
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
border-color: rgba(100, 181, 246, 0.3);
}
.project-card.featured {
border: 2px solid rgba(100, 181, 246, 0.4);
background: rgba(100, 181, 246, 0.05);
}
.project-card.featured::before {
content: 'Featured';
position: absolute;
top: 1rem;
right: 1rem;
background: linear-gradient(45deg, #667eea, #764ba2);
color: white;
padding: 0.25rem 0.75rem;
border-radius: 15px;
font-size: 0.75rem;
font-weight: 600;
z-index: 3;
}
/* Project Image */
.project-image {
height: 250px; /* Increased from 200px to accommodate tags */
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
position: relative;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden; /* Ensure overlay doesn't leak out */
flex-shrink: 0; /* Prevent image from shrinking */
}
.image-placeholder {
display: flex;
align-items: center;
justify-content: center;
}
.project-icon {
font-size: 3rem;
color: rgba(255, 255, 255, 0.9);
}
.project-overlay {
position: absolute;
bottom: 0;
left: 0;
right: 0;
background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
padding: 1rem;
transform: translateY(100%);
transition: transform 0.3s ease;
z-index: 2;
pointer-events: none; /* Prevent interference when hidden */
}
.project-card:hover .project-overlay {
transform: translateY(0);
pointer-events: auto; /* Allow interaction when visible */
}
.tech-stack {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
}
.tech-tag {
background: rgba(100, 181, 246, 0.2);
color: #64b5f6;
padding: 0.25rem 0.75rem;
border-radius: 15px;
font-size: 0.75rem;
font-weight: 500;
border: 1px solid rgba(100, 181, 246, 0.3);
}
/* Project Content */
.project-content {
padding: 1.5rem;
display: flex;
flex-direction: column;
height: 100%; /* Make content fill available space */
}
.project-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 1rem;
gap: 1rem; /* Add gap between title and status */
}
.project-title {
font-size: 1.3rem;
font-weight: 700;
color: #ffffff;
margin: 0;
line-height: 1.2;
flex: 1; /* Allow title to take available space */
}
.project-status {
padding: 0.25rem 0.75rem;
border-radius: 15px;
font-size: 0.75rem;
font-weight: 600;
text-transform: uppercase;
white-space: nowrap; /* Prevent text wrapping */
flex-shrink: 0; /* Prevent shrinking */
}
.project-status.completed {
background: rgba(76, 175, 80, 0.2);
color: #4caf50;
border: 1px solid rgba(76, 175, 80, 0.3);
}
.project-status.in-progress {
background: rgba(255, 193, 7, 0.2);
color: #ffc107;
border: 1px solid rgba(255, 193, 7, 0.3);
}
.project-description {
color: #b0b0b0;
line-height: 1.6;
margin-bottom: 1rem; /* Reduced from auto to control spacing */
font-size: 0.95rem;
/* Removed flex-grow to prevent excessive space */
}
.project-links {
display: flex;
gap: 1rem;
margin-top: auto; /* Push buttons to bottom */
}
.project-link {
display: inline-flex;
align-items: center;
gap: 0.5rem;
padding: 0.5rem 1rem;
border-radius: 25px;
text-decoration: none;
font-size: 0.85rem;
font-weight: 500;
transition: all 0.3s ease;
border: 1px solid;
}
.project-link.demo {
background: rgba(100, 181, 246, 0.1);
color: #64b5f6;
border-color: rgba(100, 181, 246, 0.3);
}
.project-link.demo:hover {
background: rgba(100, 181, 246, 0.2);
transform: translateY(-2px);
}
.project-link.github {
background: rgba(255, 255, 255, 0.05);
color: #b0b0b0;
border-color: rgba(255, 255, 255, 0.1);
}
.project-link.github:hover {
background: rgba(255, 255, 255, 0.1);
color: #ffffff;
transform: translateY(-2px);
}
.project-link.private {
background: rgba(255, 152, 0, 0.1);
color: #ff9800;
border-color: rgba(255, 152, 0, 0.3);
cursor: default;
}
/* CTA Section */
.cta-section {
padding: 4rem 0;
text-align: center;
}
.cta-content {
max-width: 600px;
margin: 0 auto;
}
.cta-title {
font-size: 2.5rem;
font-weight: 700;
margin-bottom: 1rem;
color: #ffffff;
}
.cta-subtitle {
font-size: 1.1rem;
color: #b0b0b0;
margin-bottom: 2rem;
line-height: 1.6;
}
.cta-button {
display: inline-flex;
align-items: center;
gap: 1rem;
padding: 1rem 2rem;
background: linear-gradient(45deg, #667eea, #764ba2);
color: white;
text-decoration: none;
border-radius: 50px;
font-size: 1.1rem;
font-weight: 600;
transition: all 0.3s ease;
box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}
.cta-button:hover {
transform: translateY(-3px);
box-shadow: 0 12px 35px rgba(102, 126, 234, 0.6);
}
.cta-button i {
transition: transform 0.3s ease;
}
.cta-button:hover i {
transform: translateX(5px);
}
/* Animations */
@keyframes shimmer {
0% {
background-position: -200% center;
}
100% {
background-position: 200% center;
}
}
@keyframes float {
0%, 100% {
transform: translateY(0px) rotate(0deg);
}
50% {
transform: translateY(-20px) rotate(180deg);
}
}
@keyframes gridMove {
0% {
transform: translate(0, 0);
}
100% {
transform: translate(50px, 50px);
}
}
/* Responsive Design */
@media (max-width: 768px) {
.hero-title {
font-size: 2.5rem;
}
.hero-subtitle {
font-size: 1.1rem;
}
.grid {
grid-template-columns: 1fr;
gap: 1.5rem;
}
.filter-buttons {
flex-direction: column;
align-items: center;
}
.project-links {
flex-direction: column;
}
.cta-title {
font-size: 2rem;
}
.container {
padding: 0 1rem;
}
}
</style>

View File

@@ -1,7 +0,0 @@
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
// https://vite.dev/config/
export default defineConfig({
plugins: [vue()],
})