Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
355a7c0
tailwind added
Aug 12, 2023
9c49eac
daisy ui installed
Aug 12, 2023
d01f87b
autoprefixer installed
Aug 12, 2023
f3fb8e0
bugfix: tailfind content paths fixed
Aug 12, 2023
822977e
dark theme selected
Aug 12, 2023
98f7583
bootstrap ui removed
Aug 12, 2023
9119d2e
footer refactored
Aug 12, 2023
bc741b1
app header refactored
Aug 12, 2023
d91af43
loader refactored
Aug 12, 2023
785113e
language filter nav recatored
Aug 12, 2023
2155f1e
topic filter nac refactored
Aug 12, 2023
45d5404
heading impl.
Aug 12, 2023
6850434
app projects refactored
Aug 12, 2023
a4e8c74
loader refactored
Aug 12, 2023
144d491
profile spacing refactored
Aug 12, 2023
a9f13a3
app layout spacing refactored
Aug 13, 2023
ee16745
progress bar refactored
Aug 13, 2023
56b4cf1
profile moved into app header
Aug 13, 2023
8f8ba7c
badge refactored
Aug 13, 2023
00a857f
timestamp formatter refactored
Aug 13, 2023
aba58a1
progress sizes added
Aug 13, 2023
dc41513
repository cards refactored
Aug 13, 2023
8684c24
repository list animation refactored
Aug 13, 2023
33f3c2d
bugfix: responsive layout adjusted for mobile
Aug 13, 2023
c99fcd1
whitespace removed
Aug 13, 2023
843db0d
footer social nav refactored
Aug 13, 2023
5e10bc7
partials moved to their own folder
Aug 13, 2023
51b7c33
root alias @ added
Aug 13, 2023
ea60ca8
repository hover effects added
Aug 13, 2023
b8297ff
bugfix: card image overlaps content oddly
Aug 13, 2023
2ebcfef
filter navs refactored
Aug 13, 2023
f27cbed
bugfix: link click.prevent removed
Aug 13, 2023
4ed7521
height adjusted
Aug 13, 2023
ebee1cb
repo spacing converted to gap
Aug 14, 2023
375f9f4
project section drawer impl. for responsive filters
Aug 14, 2023
3dc9a15
repo run button effect refactored
Aug 14, 2023
f41b5e6
timestamp restyled
Aug 14, 2023
69eb61d
particles effect added
Aug 14, 2023
06c1e32
drawer bg opacity adjusted
Aug 14, 2023
a4c8e84
type-writer effect added
Aug 14, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3,024 changes: 2,723 additions & 301 deletions package-lock.json

Large diffs are not rendered by default.

10 changes: 8 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,18 @@
},
"homepage": "https://github.com/webceyhan/webceyhan.github.io#readme",
"dependencies": {
"bootstrap": "^5.2.3",
"bootstrap-icons": "^1.10.3",
"vue": "^3.2.47"
"tsparticles-slim": "^2.12.0",
"vue": "^3.2.47",
"vue-writer": "^1.2.0",
"vue3-particles": "^2.12.0"
},
"devDependencies": {
"@vitejs/plugin-vue": "^2.3.4",
"autoprefixer": "^10.4.14",
"daisyui": "^3.5.1",
"postcss": "^8.4.27",
"tailwindcss": "^3.3.3",
"vite": "^2.9.14"
}
}
6 changes: 6 additions & 0 deletions postcss.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
}
31 changes: 24 additions & 7 deletions src/App.vue
Original file line number Diff line number Diff line change
@@ -1,15 +1,32 @@
<script setup>
import { loadSlim } from "tsparticles-slim";
import { options } from "./particles";
import AppFooter from "./sections/AppFooter.vue";
import AppHeader from "./sections/AppHeader.vue";
import AppProjects from "./sections/AppProjects.vue";

import AppFooter from './sections/AppFooter.vue';
import AppHeader from './sections/AppHeader.vue';
import AppProjects from './sections/AppProjects.vue';
const particlesInit = async (engine) => {
//await loadFull(engine);
await loadSlim(engine);
};

const particlesLoaded = async (container) => {
console.log("Particles container loaded", container);
};
</script>

<template>
<app-header class="py-5 px-md-5" />
<div class="space-y-10">
<AppHeader />

<app-projects class="py-3 px-md-5" />
<vue-particles
id="tsparticles"
:particlesInit="particlesInit"
:particlesLoaded="particlesLoaded"
:options="options"
/>

<app-footer class="py-5 px-md-5" />
</template>
<AppProjects />
<AppFooter />
</div>
</template>
4 changes: 2 additions & 2 deletions src/api/github.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { purgeExpiredCaches } from '../cache';
import { fetchJson, IS_DEV } from '../utils';
import { purgeExpiredCaches } from '@/cache';
import { fetchJson, IS_DEV } from '@/utils';
import LANGUAGES from './languages.json';

// define vars
Expand Down
14 changes: 7 additions & 7 deletions src/components/Avatar.vue
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<script setup>

defineProps({
url: String
})

url: String,
});
</script>

<template>
<div class="bg-light bg-opacity-25 rounded-circle p-2 mb-3 w-75">
<img class="img-fluid rounded-circle" :src="url" alt="avatar" />
<div class="avatar">
<div class="ring-8 ring-primary/20 ring-offset-base-100 ring-offset-2 rounded-full">
<img :src="url" alt="avatar" />
</div>
</template>
</div>
</template>
23 changes: 23 additions & 0 deletions src/components/Badge.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<script setup>
defineProps({
label: String,
variant: String,
outlined: Boolean,
});
</script>

<template>
<span
:class="{
badge: true,
'badge-primary': variant === 'primary',
'badge-secondary': variant === 'secondary',
'badge-neutral': variant === 'neutral',
'badge-accent': variant === 'accent',
'badge-ghost': variant === 'ghost',
'badge-outline': outlined,
}"
>
<slot> {{ label }} </slot>
</span>
</template>
34 changes: 34 additions & 0 deletions src/components/Button.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<script setup>
defineEmits(["click"]);

defineProps({
label: String,
variant: String,
outline: Boolean,
active: Boolean,
large: Boolean,
small: Boolean,
tiny: Boolean,
});
</script>

<template>
<button
type="button"
:class="{
btn: true,
'btn-primary': variant === 'primary',
'btn-secondary': variant === 'secondary',
'btn-accent': variant === 'accent',
'btn-ghost': variant === 'ghost',
'btn-outline': outline,
'btn-active': active,
'btn-lg': large,
'btn-sm': small,
'btn-xs': tiny,
}"
@click="$emit('click')"
>
<slot> {{ label }} </slot>
</button>
</template>
36 changes: 36 additions & 0 deletions src/components/Card.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<script setup>
defineProps({
title: String,
compact: Boolean,
imageAside: Boolean,
imageOverlay: Boolean,
});
</script>

<template>
<div
:class="{
card: true,
compact: compact,
'card-side': imageAside,
'image-full': imageOverlay,
}"
>
<figure v-if="$slots.image">
<slot name="image" />
</figure>

<div class="w-full card-body">
<!-- title -->
<h2 v-if="title" class="card-title">{{ title }}</h2>

<!-- content -->
<slot />

<!-- actions -->
<div v-if="$slots.actions" class="card-actions">
<slot name="actions" />
</div>
</div>
</div>
</template>
17 changes: 17 additions & 0 deletions src/components/Divider.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<script setup>
defineProps({
label: String,
horizontal: Boolean,
});
</script>

<template>
<div
:class="{
divider: true,
'divider-horizontal': horizontal,
}"
>
<slot> {{ label }} </slot>
</div>
</template>
50 changes: 50 additions & 0 deletions src/components/Drawer.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
<script>
let count = 0;
</script>

<script setup>
import { ref } from "vue";
import Icon from "./Icon.vue";

defineProps({});

const isOpen = ref(false);
const id = `drawer-${count++}`;

const toggle = () => {
isOpen.value = !isOpen.value;
};
</script>

<template>
<div class="drawer lg:drawer-open">
<!-- toggle state -->
<input :id="id" type="checkbox" class="drawer-toggle" v-model="isOpen" />

<div class="drawer-content flex flex-col">
<!-- toggle trigger button -->
<slot name="trigger" v-bind="{ toggle }">
<label :for="id" class="drawer-button btn btn-outline lg:hidden">
<Icon name="list" />
</label>
</slot>

<!-- Page content here -->
<slot />
</div>

<div class="drawer-side">
<label :for="id" class="drawer-overlay" />

<aside
:class="[
'w-80 lg:w-96 h-full overflow-scroll p-4 lg:p-0 lg:mr-8 space-y-8',
'bg-base-300 text-base-content lg:bg-opacity-50',
]"
>
<slot name="sidebar" />
<!-- Sidebar content here -->
</aside>
</div>
</div>
</template>
19 changes: 19 additions & 0 deletions src/components/Heading.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<script setup>
defineProps({
large: Boolean,
// medium: Boolean, // default
small: Boolean,
});
</script>

<template>
<h1
:class="{
'text-5xl': large,
'text-2xl': !large && !small,
'text-xl': small,
}"
>
<slot />
</h1>
</template>
9 changes: 9 additions & 0 deletions src/components/Icon.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<script setup>
defineProps({
name: String,
});
</script>

<template>
<span :class="`bi bi-${name}`" />
</template>
37 changes: 0 additions & 37 deletions src/components/LanguageFilterNav.vue

This file was deleted.

24 changes: 0 additions & 24 deletions src/components/LanguageList.vue

This file was deleted.

24 changes: 24 additions & 0 deletions src/components/Link.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<script setup>
defineProps({
label: String,
hover: Boolean,
active: Boolean,
variant: String, // primary, secondary, neutral, accent
});
</script>

<template>
<a
href="#"
:class="{
link: true,
'link-primary': variant === 'primary' && !active,
'link-secondary': variant === 'secondary' && !active,
'link-neutral': variant === 'neutral' && !active,
'link-accent': variant === 'accent' && !active,
'link-hover': hover,
}"
>
<slot> {{ label }} </slot>
</a>
</template>
Loading