Skip to content

Commit ff78e62

Browse files
authored
Merge branch 'ProjectDepot:main' into main
2 parents 48f3045 + fd82e1f commit ff78e62

File tree

8 files changed

+39
-30
lines changed

8 files changed

+39
-30
lines changed

README.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
# GitCase
2-
3-
> [!NOTE] Name change incoming
1+
# Project Depot Gallery
42

53
---
64

75
> You've already created your projects -- show them off without spending more time.
86
9-
GitCase is a ready-to-use template that deploys a zero-maintenance landing page to your [USERNAME].github.io repository. With a single click, your GitHub repositories are showcased and updated everyday via GitHub Actions. No manual updates needed—just point it at your GitHub account and let it run.
7+
Project Depot Gallery is a ready-to-use template that deploys a zero-maintenance landing page to your [USERNAME].github.io repository. With a single click, your GitHub repositories are showcased and updated everyday via GitHub Actions. No manual updates needed—just point it at your GitHub account and let it run.
108

119
## Key Features
1210

@@ -48,20 +46,20 @@ To customize the app, create your own configuration file:
4846

4947
## Updating
5048

51-
When GitCase updates upstream, you can easily bring in the changes to your copy of the app by going to **your repo** -> **Sync fork** -> **Update branch**, which will start the re-building process.
49+
When Gallery updates upstream, you can easily bring in the changes to your copy of the app by going to **your repo** -> **Sync fork** -> **Update branch**, which will start the re-building process.
5250

5351
## Demo
5452

55-
To see a working demo of GitCase in action, check out my copy at [parsehex.github.io](https://parsehex.github.io/).
53+
To see a working demo of Gallery in action, check out my copy at [parsehex.github.io](https://parsehex.github.io/).
5654

5755
## Local Development Setup
5856

5957
If you want to run the project locally:
6058

6159
1. Clone the repo:
6260

63-
git clone <https://github.com/GitCase-app/GitCase>
64-
cd GitCase
61+
git clone <https://github.com/ProjectDepot/Gallery>
62+
cd Gallery
6563

6664
2. Copy `.env.example` to `.env` and update the GitHub username:
6765
• Example:

package-lock.json

Lines changed: 16 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "gitcase",
2+
"name": "project-depot-gallery",
33
"private": true,
44
"version": "0.0.0",
55
"type": "module",
@@ -23,7 +23,8 @@
2323
"pinia": "^3.0.3",
2424
"tailwindcss": "^4.0.8",
2525
"tippy.js": "^6.3.7",
26-
"vue": "^3.5.21"
26+
"vue": "^3.5.21",
27+
"vue-tippy": "^6.7.1"
2728
},
2829
"devDependencies": {
2930
"@eslint/js": "^9.19.0",

src/App.vue

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
</template>
1919
<script setup lang="ts">
2020
import { ref, onMounted, watch, computed, toRefs } from 'vue'
21-
import tippy from 'tippy.js'
22-
import 'tippy.js/dist/tippy.css'
2321
import Hero from './Hero.vue'
2422
import repos from './repos.json'
2523
import Header from './Header.vue'
@@ -60,10 +58,6 @@ const { config } = toRefs(configStore)
6058
onMounted(async () => {
6159
await configStore.loadConfig()
6260
63-
tippy('[data-tooltip]', {
64-
content: (el) => el.getAttribute('data-tooltip') as string,
65-
})
66-
6761
if (config.value?.hero.src) {
6862
fetch(config.value.hero.src)
6963
.then((res) => res.text())

src/Footer.vue

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
<template>
22
<footer class="mt-8 text-center text-gray-600 dark:text-gray-400">
33
<p v-if="footerText">{{ footerText }}</p>
4-
<p class="text-xs"> Showcase your GitHub repositories with <a v-if="includeGitCaseLink"
5-
href="https://github.com/GitCase-app/GitCase" target="_blank" rel="noopener noreferrer"
6-
class="underline hover:text-blue-500"> GitCase </a>
7-
<span v-else>GitCase</span>
4+
<p v-if="includeGitCaseLink" class="text-xs"> Showcase your GitHub repositories with <a
5+
href="https://github.com/ProjectDepot/Gallery" target="_blank" rel="noopener noreferrer"
6+
class="underline hover:text-blue-500"> Project Depot Gallery </a>
87
</p>
98
</footer>
109
</template>

src/Header.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
</header>
1313
</template>
1414
<script setup lang="ts">
15-
import 'tippy.js/dist/tippy.css'
1615
import { useConfigStore } from './stores/config'
1716
import { computed } from 'vue'
1817

src/components/repo/RepoCard.vue

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
<div class="text-sm text-gray-500 dark:text-gray-400 mb-4 space-y-1">
1212
<div class="flex items-center gap-2 flex-wrap">
1313
<Clock class="w-4 h-4" />
14-
<span :data-tooltip="formatDate(repo.pushed_at, true)" class="relative"> {{ repo.latest_update?.label }}: {{
14+
<span v-tippy="formatDate(repo.pushed_at, true)" class="relative"> {{ repo.latest_update?.label }}: {{
1515
repo.latest_update && showRelativeTime(repo.latest_update.value) }} </span>
1616
</div>
1717
<div v-if="repo.created_at" class="flex items-center gap-2 flex-wrap">
1818
<Calendar class="w-4 h-4" />
19-
<span :data-tooltip="formatDate(repo.created_at, true)" class="relative"> Created: {{
19+
<span v-tippy="formatDate(repo.created_at, true)" class="relative"> Created: {{
2020
showRelativeTime(repo.created_at) }} </span>
2121
</div>
2222
</div>
@@ -36,9 +36,9 @@
3636
</a>
3737
<button v-if="hasReadme" @click="$emit('readme-click', repo)"
3838
class="flex items-center gap-2 text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-200 p-2 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-700"
39-
title="View README">
39+
v-tippy="'View README'">
4040
<BookOpen class="w-4 h-4" />
41-
<span>README</span>
41+
<span class="hidden xl:inline">README</span>
4242
</button>
4343
</div>
4444
</div>
@@ -68,9 +68,9 @@
6868
</a>
6969
<button v-if="hasReadme" @click="$emit('readme-click', repo)"
7070
class="flex items-center gap-2 text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-200 p-2 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-700"
71-
title="View README">
71+
v-tippy="'View README'">
7272
<BookOpen class="w-4 h-4" />
73-
<span>README</span>
73+
<span class="hidden sm:inline">README</span>
7474
</button>
7575
</div>
7676
</div>

src/main.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
import { createApp } from 'vue';
22
import { createPinia } from 'pinia';
3+
import VueTippy from 'vue-tippy';
4+
import 'tippy.js/dist/tippy.css';
35
import './index.css';
46
import App from './App.vue';
57

68
const app = createApp(App);
79
app.use(createPinia());
10+
app.use(VueTippy, {
11+
defaultProps: {},
12+
});
813
app.mount('#app');

0 commit comments

Comments
 (0)