Skip to content

Commit

Permalink
Add project icon
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoRCD committed Dec 5, 2024
1 parent 9a300a2 commit ae83bc5
Show file tree
Hide file tree
Showing 7 changed files with 43 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# Generated by Shelve CLI
NUXT_PUBLIC_STUDIO_TOKENS=your_value
NUXT_PUBLIC_SITE_URL=your_value
NUXT_PUBLIC_MEETING_LINK=your_value
NUXT_PRIVATE_RESEND_API_KEY=your_value
NUXT_PRIVATE_GITHUB_TOKEN=your_value
NUXT_PRIVATE_NOTES_PASSWORD=your_value
SHELVE_TOKEN=your_value
SHELVE_TOKEN=your_value
8 changes: 8 additions & 0 deletions app/assets/icons/mockline.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions app/assets/icons/shelve.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion app/components/OssInfo.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<span class="mt-2 text-xs text-center text-gray-500 dark:text-gray-400">
<span class="mt-2 text-xs text-center text-tertiary">
This website is fully open-source, you can find the source code on <NuxtLink to="https://github.com/HugoRCD/hr-folio" class="underline">GitHub</NuxtLink>
</span>
</template>
10 changes: 10 additions & 0 deletions app/components/global/ProseIcon.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<script setup lang="ts">
const props = defineProps<{
name: string
class?: any
}>()
</script>

<template>
<MIcon :name size="12px" class="text-font-primary" :class="props.class" />
</template>
2 changes: 1 addition & 1 deletion content/1.index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ They say the devil is in the details. I say that's where the magic happens. Want
::

::section-item{:number="1" title="Works"}
Currently building two tools I'm proud of: [_**Shelve**_](https://shelve.cloud), simplifying how teams share and manage environment variables, and [_**Mockline**_](https://mockline.dev), a component library that makes beautiful development effortless. Explore my work: [**_/works_**](/works)
Currently building two tools I'm proud of: :prose-icon{name="custom:shelve"} [_**Shelve**_](https://shelve.cloud){.link}, simplifying how teams share and manage environment variables, and :prose-icon{name="custom:mockline"} [_**Mockline**_](https://mockline.dev){.link}, a component library that makes beautiful development effortless. Explore my work: [**_/works_**](/works){.link}
::

::section-item{:number="2" title="Writing"}
Expand Down
16 changes: 15 additions & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ export default defineNuxtConfig({

runtimeConfig: {
public: {
siteUrl: '',
meetingLink: '',
},
private: {
Expand All @@ -47,6 +46,21 @@ export default defineNuxtConfig({
},
},

icon: {
class: 'fill-current',
customCollections: [
{
prefix: 'custom',
dir: './app/assets/icons'
},
],
clientBundle: {
scan: true,
includeCustomCollections: true
},
provider: 'iconify'
},

colorMode: {
classSuffix: '',
preference: 'light',
Expand Down

0 comments on commit ae83bc5

Please sign in to comment.