Compare commits
20 Commits
main
...
7476cfce33
Author | SHA1 | Date | |
---|---|---|---|
7476cfce33
|
|||
53928e5250
|
|||
61b8ad6380
|
|||
a4fe5e4efc
|
|||
5712c890af
|
|||
504fa251b7
|
|||
d0e35a6d40
|
|||
5de10940d9
|
|||
8e9d3f138c
|
|||
412bc5fca1
|
|||
11c72a9389
|
|||
cc9a4af7d0
|
|||
90cdb2bf30
|
|||
8ddbfe6598
|
|||
1ea49ec0e5
|
|||
661c408a18
|
|||
cbfb67945a
|
|||
401f4e1b3c
|
|||
d726af2639
|
|||
087a638589
|
@@ -6,4 +6,4 @@
|
|||||||
:root {
|
:root {
|
||||||
--color-kamilcraft-green: 162 207 0;
|
--color-kamilcraft-green: 162 207 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
2190
package-lock.json
generated
2190
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
24
package.json
24
package.json
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "kamilcraft.com",
|
"name": "kamilcraft.com",
|
||||||
"version": "1.1.0",
|
"version": "1.0.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"serve": "vue-cli-service serve",
|
"serve": "vue-cli-service serve",
|
||||||
@@ -8,27 +8,27 @@
|
|||||||
"lint": "vue-cli-service lint"
|
"lint": "vue-cli-service lint"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fortawesome/fontawesome-svg-core": "^6.2.0",
|
"@fortawesome/fontawesome-svg-core": "^6.1.1",
|
||||||
"@fortawesome/free-brands-svg-icons": "^6.2.0",
|
"@fortawesome/free-brands-svg-icons": "^6.1.1",
|
||||||
"@fortawesome/free-regular-svg-icons": "^6.2.0",
|
"@fortawesome/free-regular-svg-icons": "^6.1.1",
|
||||||
"@fortawesome/free-solid-svg-icons": "^6.2.0",
|
"@fortawesome/free-solid-svg-icons": "^6.1.1",
|
||||||
"@fortawesome/vue-fontawesome": "^3.0.1",
|
"@fortawesome/vue-fontawesome": "^3.0.1",
|
||||||
"core-js": "^3.25.0",
|
"core-js": "^3.8.3",
|
||||||
"marked": "^4.1.0",
|
"marked": "^4.0.18",
|
||||||
"vue": "^3.2.38",
|
"vue": "^3.2.37",
|
||||||
"vue-meta": "^2.4.0",
|
"vue-meta": "^2.4.0",
|
||||||
"vue-router": "^4.1.5",
|
"vue-router": "^4.1.2",
|
||||||
"vuex": "^4.0.2"
|
"vuex": "^4.0.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.18.13",
|
"@babel/core": "^7.12.16",
|
||||||
"@babel/eslint-parser": "^7.18.9",
|
"@babel/eslint-parser": "^7.12.16",
|
||||||
"@vue/cli-plugin-babel": "~5.0.0",
|
"@vue/cli-plugin-babel": "~5.0.0",
|
||||||
"@vue/cli-plugin-eslint": "~5.0.0",
|
"@vue/cli-plugin-eslint": "~5.0.0",
|
||||||
"@vue/cli-service": "~5.0.0",
|
"@vue/cli-service": "~5.0.0",
|
||||||
"autoprefixer": "^10.4.7",
|
"autoprefixer": "^10.4.7",
|
||||||
"eslint": "^7.32.0",
|
"eslint": "^7.32.0",
|
||||||
"eslint-plugin-vue": "^8.7.1",
|
"eslint-plugin-vue": "^8.0.3",
|
||||||
"postcss": "^8.4.14",
|
"postcss": "^8.4.14",
|
||||||
"sass": "^1.53.0",
|
"sass": "^1.53.0",
|
||||||
"sass-loader": "^13.0.2",
|
"sass-loader": "^13.0.2",
|
||||||
|
@@ -1,16 +1,16 @@
|
|||||||
<template>
|
<template>
|
||||||
<SiteHeader />
|
|
||||||
<main
|
<main
|
||||||
rel="main"
|
rel="main"
|
||||||
>
|
>
|
||||||
|
<SiteHeader />
|
||||||
<RouterView />
|
<RouterView />
|
||||||
|
<FooterComponent />
|
||||||
</main>
|
</main>
|
||||||
<FooterComponent />
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import SiteHeader from '@/components/SiteHeader'
|
import SiteHeader from './components/SiteHeader'
|
||||||
import FooterComponent from '@/components/FooterComponent'
|
import FooterComponent from './components/FooterComponent'
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
|
@@ -20,8 +20,8 @@
|
|||||||
class="mr-1"
|
class="mr-1"
|
||||||
:icon="['fab', link.icon]"
|
:icon="['fab', link.icon]"
|
||||||
/>
|
/>
|
||||||
<span class="hidden lg:inline-block">{{ link.title }}</span>
|
<span class="hidden md:inline-block">{{ link.title }}</span>
|
||||||
<span class="hidden sm:inline-block lg:hidden">{{ link.shortcut }}</span>
|
<span class="hidden sm:inline-block md:hidden">{{ link.shortcut }}</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@@ -42,12 +42,6 @@ const socialLinks = [
|
|||||||
icon: 'facebook',
|
icon: 'facebook',
|
||||||
title: 'Znajdź mnie na Facebooku',
|
title: 'Znajdź mnie na Facebooku',
|
||||||
shortcut: 'Facebook'
|
shortcut: 'Facebook'
|
||||||
},
|
|
||||||
{
|
|
||||||
link: 'https://github.com/kamilniemczycki/kamilcraft.com',
|
|
||||||
icon: 'github',
|
|
||||||
title: 'Kod na GitHub',
|
|
||||||
shortcut: 'GitHub'
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
</script>
|
</script>
|
||||||
|
@@ -1,8 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<section
|
<div class="max-w-screen-xl mx-auto px-6 xl:px-2 py-10">
|
||||||
id="projects"
|
|
||||||
class="max-w-screen-xl mx-auto px-6 xl:px-2 py-10"
|
|
||||||
>
|
|
||||||
<slot />
|
<slot />
|
||||||
<div class="grid items-start grid-cols-1 sm:grid-cols-2 gap-x-6 gap-y-5">
|
<div class="grid items-start grid-cols-1 sm:grid-cols-2 gap-x-6 gap-y-5">
|
||||||
<div
|
<div
|
||||||
@@ -52,14 +49,14 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import { defineProps, onMounted } from 'vue'
|
import { defineProps, onMounted } from 'vue'
|
||||||
import { useRoute, useRouter } from 'vue-router'
|
import { useRoute, useRouter } from 'vue-router'
|
||||||
import { useStore } from 'vuex'
|
import { useStore } from 'vuex'
|
||||||
import BaseButton from '@/components/buttons/BaseButton'
|
import BaseButton from './buttons/BaseButton'
|
||||||
import { marked } from 'marked'
|
import { marked } from 'marked'
|
||||||
|
|
||||||
defineProps({
|
defineProps({
|
||||||
@@ -92,7 +89,7 @@ function markdownToText (project) {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
@import 'scss/media';
|
@import "scss/media";
|
||||||
|
|
||||||
.grid-project {
|
.grid-project {
|
||||||
animation: load-project 2s forwards;
|
animation: load-project 2s forwards;
|
||||||
@@ -129,10 +126,6 @@ function markdownToText (project) {
|
|||||||
|
|
||||||
.btn {
|
.btn {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
||||||
&:hover {
|
|
||||||
background-color: rgba(255, 255, 255, .9);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -27,7 +27,7 @@
|
|||||||
import { computed } from 'vue'
|
import { computed } from 'vue'
|
||||||
import { useStore } from 'vuex'
|
import { useStore } from 'vuex'
|
||||||
import { useRoute } from 'vue-router'
|
import { useRoute } from 'vue-router'
|
||||||
import Navigation from '@/components/NavigationHeader'
|
import Navigation from './NavigationHeader'
|
||||||
|
|
||||||
const store = useStore()
|
const store = useStore()
|
||||||
const route = useRoute()
|
const route = useRoute()
|
||||||
|
@@ -33,7 +33,7 @@ defineProps({
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
@import 'scss/btn';
|
@import "../../../scss/btn";
|
||||||
|
|
||||||
.btn {
|
.btn {
|
||||||
@include button($has-icon: true);
|
@include button($has-icon: true);
|
||||||
|
@@ -25,7 +25,7 @@ defineProps({
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
@import 'scss/btn';
|
@import "../../../scss/btn";
|
||||||
|
|
||||||
.btn {
|
.btn {
|
||||||
@include ghost-button();
|
@include ghost-button();
|
||||||
|
@@ -21,7 +21,7 @@
|
|||||||
has-icon
|
has-icon
|
||||||
icon="portrait"
|
icon="portrait"
|
||||||
is-reverse
|
is-reverse
|
||||||
@click="scrollTo('#projects')"
|
@click="scrollTo('.selected-projects')"
|
||||||
>
|
>
|
||||||
Wybrane projekty
|
Wybrane projekty
|
||||||
</BaseButton>
|
</BaseButton>
|
||||||
@@ -49,7 +49,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import BaseButton from '@/components/buttons/BaseButton'
|
import BaseButton from '../buttons/BaseButton'
|
||||||
import { useRouter } from 'vue-router'
|
import { useRouter } from 'vue-router'
|
||||||
|
|
||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
|
@@ -24,8 +24,8 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import { ref, onMounted } from 'vue'
|
import { ref, onMounted } from 'vue'
|
||||||
import { useRouter } from 'vue-router'
|
import { useRouter } from 'vue-router'
|
||||||
import Projects from '@/components/SelectedProjects'
|
import Projects from '../SelectedProjects'
|
||||||
import GhostButton from '@/components/buttons/GhostButton'
|
import GhostButton from '../buttons/GhostButton'
|
||||||
|
|
||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
|
|
||||||
|
@@ -1,8 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div
|
<div class="contact_container w-full bg-neutral-100 rounded-md border border-gray-200 md:max-w-[500px] p-2 shadow">
|
||||||
id="contact-form"
|
|
||||||
class="contact_container w-full bg-neutral-100 rounded-md border border-gray-200 md:max-w-[500px] p-2 shadow"
|
|
||||||
>
|
|
||||||
<header class="mb-1.5">
|
<header class="mb-1.5">
|
||||||
<h3 class="text-xl">
|
<h3 class="text-xl">
|
||||||
Formularz kontaktowy
|
Formularz kontaktowy
|
||||||
@@ -103,7 +100,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import BaseButton from '@/components/buttons/BaseButton'
|
import BaseButton from '../../buttons/BaseButton'
|
||||||
import { ref, reactive, watch, computed } from 'vue'
|
import { ref, reactive, watch, computed } from 'vue'
|
||||||
|
|
||||||
function emailValidate (mailObj) {
|
function emailValidate (mailObj) {
|
||||||
@@ -207,14 +204,6 @@ function formSubmit(event) {
|
|||||||
buttonDisabled.value = false
|
buttonDisabled.value = false
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
scrollTo('#contact-form')
|
|
||||||
}
|
|
||||||
|
|
||||||
function scrollTo(id) {
|
|
||||||
document.querySelector(id).scrollIntoView({
|
|
||||||
behavior: 'smooth'
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
import { createApp } from 'vue'
|
import { createApp } from 'vue'
|
||||||
import App from '@/App.vue'
|
import App from './App.vue'
|
||||||
import router from '@/router'
|
import router from './router'
|
||||||
import { store } from '@/store'
|
import { store } from './store'
|
||||||
// import VueMeta from 'vue-meta'
|
// import VueMeta from 'vue-meta'
|
||||||
|
|
||||||
import '../scss/default.scss'
|
import '../scss/default.scss'
|
||||||
|
@@ -1,10 +1,10 @@
|
|||||||
import { createRouter, createWebHistory } from 'vue-router'
|
import { createRouter, createWebHistory } from 'vue-router'
|
||||||
import Home from '@/views/HomeView'
|
import Home from '../views/HomeView'
|
||||||
import About from '@/views/AboutView'
|
import About from '../views/AboutView'
|
||||||
import Projects from '@/views/ProjectsView'
|
import Projects from '../views/ProjectsView'
|
||||||
import Project from '@/views/ProjectView'
|
import Project from '../views/ProjectView'
|
||||||
import Contact from '@/views/ContactView'
|
import Contact from '../views/ContactView'
|
||||||
import NotFound from '@/views/NotFound'
|
import NotFound from '../views/NotFound'
|
||||||
|
|
||||||
const mainTitle = 'kamilcraft.com'
|
const mainTitle = 'kamilcraft.com'
|
||||||
|
|
||||||
@@ -77,6 +77,21 @@ const router = createRouter({
|
|||||||
return { left: 0, top: 0 }
|
return { left: 0, top: 0 }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/*scrollBehavior (to, from, savedPosition) {
|
||||||
|
if (savedPosition) {
|
||||||
|
return savedPosition
|
||||||
|
} else if (to.hash) {
|
||||||
|
return new Promise(resolve => {
|
||||||
|
setTimeout(() => {
|
||||||
|
resolve({
|
||||||
|
selector: to.hash
|
||||||
|
}, 1000)
|
||||||
|
})
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
return { x: 0, y: 0 }
|
||||||
|
}
|
||||||
|
}*/
|
||||||
})
|
})
|
||||||
|
|
||||||
const title = ' :: ' + mainTitle
|
const title = ' :: ' + mainTitle
|
||||||
|
@@ -1,7 +1,9 @@
|
|||||||
<template>
|
<template>
|
||||||
<section class="flex flex-col px-3 py-6 md:flex-row items-start justify-center mx-auto gap-5">
|
<section class="px-3 py-6">
|
||||||
<MailContact />
|
<div class="flex flex-col md:flex-row items-start justify-center mx-auto gap-5">
|
||||||
<OtherContact />
|
<MailContact />
|
||||||
|
<OtherContact />
|
||||||
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -9,8 +11,8 @@
|
|||||||
import { onMounted } from 'vue'
|
import { onMounted } from 'vue'
|
||||||
import { useRoute } from 'vue-router'
|
import { useRoute } from 'vue-router'
|
||||||
import { useStore } from 'vuex'
|
import { useStore } from 'vuex'
|
||||||
import MailContact from '@/components/sections/contacts/MailContact'
|
import MailContact from '../components/sections/contacts/MailContact'
|
||||||
import OtherContact from '@/components/sections/contacts/OtherContact'
|
import OtherContact from '../components/sections/contacts/OtherContact'
|
||||||
|
|
||||||
const route = useRoute()
|
const route = useRoute()
|
||||||
const store = useStore()
|
const store = useStore()
|
||||||
|
@@ -10,9 +10,9 @@
|
|||||||
import { onMounted, onUnmounted } from 'vue'
|
import { onMounted, onUnmounted } from 'vue'
|
||||||
import { useStore } from 'vuex'
|
import { useStore } from 'vuex'
|
||||||
import { useRoute } from 'vue-router'
|
import { useRoute } from 'vue-router'
|
||||||
import About from '@/components/sections/AboutSection'
|
import About from '../components/sections/AboutSection'
|
||||||
import ExperiencesSection from '@/components/sections/ExperiencesSection'
|
import ExperiencesSection from '../components/sections/ExperiencesSection'
|
||||||
import FavoriteProjects from '@/components/sections/FavoriteProjects'
|
import FavoriteProjects from '../components/sections/FavoriteProjects'
|
||||||
|
|
||||||
const store = useStore()
|
const store = useStore()
|
||||||
const route = useRoute()
|
const route = useRoute()
|
||||||
|
@@ -28,7 +28,7 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import { ref, reactive, computed, onMounted, onUnmounted } from 'vue'
|
import { ref, reactive, computed, onMounted, onUnmounted } from 'vue'
|
||||||
import { useStore } from 'vuex'
|
import { useStore } from 'vuex'
|
||||||
import SelectedProjects from '@/components/SelectedProjects'
|
import SelectedProjects from '../components/SelectedProjects'
|
||||||
|
|
||||||
const store = useStore()
|
const store = useStore()
|
||||||
|
|
||||||
|
@@ -1,14 +1,6 @@
|
|||||||
const path = require("path")
|
|
||||||
const { defineConfig } = require('@vue/cli-service')
|
const { defineConfig } = require('@vue/cli-service')
|
||||||
|
|
||||||
module.exports = defineConfig({
|
module.exports = defineConfig({
|
||||||
publicPath: '/',
|
publicPath: '/',
|
||||||
transpileDependencies: true,
|
transpileDependencies: true
|
||||||
configureWebpack: {
|
|
||||||
resolve: {
|
|
||||||
alias: {
|
|
||||||
'@': path.resolve(__dirname, 'src/'),
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
})
|
})
|
||||||
|
Reference in New Issue
Block a user