Skip to content

Commit

Permalink
fix some bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
junepark678 committed Jan 19, 2024
1 parent c5ad92c commit 656ba0e
Show file tree
Hide file tree
Showing 5 changed files with 130 additions and 92 deletions.
2 changes: 0 additions & 2 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import { defineConfig } from 'astro/config';
import tailwind from "@astrojs/tailwind";
import preact from "@astrojs/preact";

import svelte from "@astrojs/svelte";

// https://astro.build/config
export default defineConfig({
integrations: [tailwind(), preact()]
Expand Down
214 changes: 127 additions & 87 deletions public/assets/mockevents.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,131 @@
[
{
"id": "34968955073",
"type": "PushEvent",
"actor": {
"id": 40409848,
"login": "junepark678",
"display_login": "junepark678",
"gravatar_id": "",
"url": "https://api.github.com/users/junepark678",
"avatar_url": "https://avatars.githubusercontent.com/u/40409848?"
},
"repo": {
"id": 502541849,
"name": "SideStore/sidestore.github.io",
"url": "https://api.github.com/repos/SideStore/sidestore.github.io"
},
"payload": {
"repository_id": 502541849,
"push_id": 16713883497,
"size": 1,
"distinct_size": 1,
"ref": "refs/heads/rewrite",
"head": "c5ad92c0aa92c0c9cc58e48337c073a5c91dafdf",
"before": "1bdeaf7db52f45e3e7ac01344c146a35b1658082",
"commits": [
{
"sha": "c5ad92c0aa92c0c9cc58e48337c073a5c91dafdf",
"author": {
"email": "[email protected]",
"name": "June P"
},
"message": "remove unnecessary css link",
"distinct": true,
"url": "https://api.github.com/repos/SideStore/sidestore.github.io/commits/c5ad92c0aa92c0c9cc58e48337c073a5c91dafdf"
}
]
},
"public": true,
"created_at": "2024-01-19T17:46:22Z",
"org": {
"id": 105070799,
"login": "SideStore",
"gravatar_id": "",
"url": "https://api.github.com/orgs/SideStore",
"avatar_url": "https://avatars.githubusercontent.com/u/105070799?"
}
},
{
"id": "34968918733",
"type": "PushEvent",
"actor": {
"id": 40409848,
"login": "junepark678",
"display_login": "junepark678",
"gravatar_id": "",
"url": "https://api.github.com/users/junepark678",
"avatar_url": "https://avatars.githubusercontent.com/u/40409848?"
},
"repo": {
"id": 502541849,
"name": "SideStore/sidestore.github.io",
"url": "https://api.github.com/repos/SideStore/sidestore.github.io"
},
"payload": {
"repository_id": 502541849,
"push_id": 16713865156,
"size": 1,
"distinct_size": 1,
"ref": "refs/heads/rewrite",
"head": "1bdeaf7db52f45e3e7ac01344c146a35b1658082",
"before": "3d7c469dc486a08f66a7a8a30e53f75e3be45c24",
"commits": [
{
"sha": "1bdeaf7db52f45e3e7ac01344c146a35b1658082",
"author": {
"email": "[email protected]",
"name": "June P"
},
"message": "Fix readme",
"distinct": true,
"url": "https://api.github.com/repos/SideStore/sidestore.github.io/commits/1bdeaf7db52f45e3e7ac01344c146a35b1658082"
}
]
},
"public": true,
"created_at": "2024-01-19T17:44:45Z",
"org": {
"id": 105070799,
"login": "SideStore",
"gravatar_id": "",
"url": "https://api.github.com/orgs/SideStore",
"avatar_url": "https://avatars.githubusercontent.com/u/105070799?"
}
},
{
"id": "34968808294",
"type": "CreateEvent",
"actor": {
"id": 40409848,
"login": "junepark678",
"display_login": "junepark678",
"gravatar_id": "",
"url": "https://api.github.com/users/junepark678",
"avatar_url": "https://avatars.githubusercontent.com/u/40409848?"
},
"repo": {
"id": 502541849,
"name": "SideStore/sidestore.github.io",
"url": "https://api.github.com/repos/SideStore/sidestore.github.io"
},
"payload": {
"ref": "rewrite",
"ref_type": "branch",
"master_branch": "master",
"description": "https://sidestore.io",
"pusher_type": "user"
},
"public": true,
"created_at": "2024-01-19T17:40:01Z",
"org": {
"id": 105070799,
"login": "SideStore",
"gravatar_id": "",
"url": "https://api.github.com/orgs/SideStore",
"avatar_url": "https://avatars.githubusercontent.com/u/105070799?"
}
},
{
"id": "34966859424",
"type": "PushEvent",
Expand Down Expand Up @@ -8218,92 +8345,5 @@
"url": "https://api.github.com/orgs/SideStore",
"avatar_url": "https://avatars.githubusercontent.com/u/105070799?"
}
},
{
"id": "34635828711",
"type": "WatchEvent",
"actor": {
"id": 151382658,
"login": "josephjsteen1",
"display_login": "josephjsteen1",
"gravatar_id": "",
"url": "https://api.github.com/users/josephjsteen1",
"avatar_url": "https://avatars.githubusercontent.com/u/151382658?"
},
"repo": {
"id": 609742062,
"name": "SideStore/omnisette-server",
"url": "https://api.github.com/repos/SideStore/omnisette-server"
},
"payload": {
"action": "started"
},
"public": true,
"created_at": "2024-01-08T01:48:30Z",
"org": {
"id": 105070799,
"login": "SideStore",
"gravatar_id": "",
"url": "https://api.github.com/orgs/SideStore",
"avatar_url": "https://avatars.githubusercontent.com/u/105070799?"
}
},
{
"id": "34630405607",
"type": "WatchEvent",
"actor": {
"id": 5357004,
"login": "daoye",
"display_login": "daoye",
"gravatar_id": "",
"url": "https://api.github.com/users/daoye",
"avatar_url": "https://avatars.githubusercontent.com/u/5357004?"
},
"repo": {
"id": 489490307,
"name": "SideStore/SideStore",
"url": "https://api.github.com/repos/SideStore/SideStore"
},
"payload": {
"action": "started"
},
"public": true,
"created_at": "2024-01-07T15:22:21Z",
"org": {
"id": 105070799,
"login": "SideStore",
"gravatar_id": "",
"url": "https://api.github.com/orgs/SideStore",
"avatar_url": "https://avatars.githubusercontent.com/u/105070799?"
}
},
{
"id": "34629463593",
"type": "WatchEvent",
"actor": {
"id": 24431667,
"login": "Jeffrey031",
"display_login": "Jeffrey031",
"gravatar_id": "",
"url": "https://api.github.com/users/Jeffrey031",
"avatar_url": "https://avatars.githubusercontent.com/u/24431667?"
},
"repo": {
"id": 489490307,
"name": "SideStore/SideStore",
"url": "https://api.github.com/repos/SideStore/SideStore"
},
"payload": {
"action": "started"
},
"public": true,
"created_at": "2024-01-07T13:37:29Z",
"org": {
"id": 105070799,
"login": "SideStore",
"gravatar_id": "",
"url": "https://api.github.com/orgs/SideStore",
"avatar_url": "https://avatars.githubusercontent.com/u/105070799?"
}
}
]
2 changes: 1 addition & 1 deletion public/assets/mockrepos.json
Original file line number Diff line number Diff line change
Expand Up @@ -3346,7 +3346,7 @@
"deployments_url": "https://api.github.com/repos/SideStore/sidestore.github.io/deployments",
"created_at": "2022-06-12T06:54:14Z",
"updated_at": "2024-01-19T08:26:45Z",
"pushed_at": "2024-01-19T03:42:08Z",
"pushed_at": "2024-01-19T17:46:20Z",
"git_url": "git://github.com/SideStore/sidestore.github.io.git",
"ssh_url": "[email protected]:SideStore/sidestore.github.io.git",
"clone_url": "https://github.com/SideStore/sidestore.github.io.git",
Expand Down
2 changes: 1 addition & 1 deletion src/components/preact/MarqueeItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class MarqueeItemProps {
export default function MarqueeItem(props: MarqueeItemProps) {
return (
<div class="marquee-card">
<img src={"assets/" + props.filepath.substring(3)} alt={props.name} class="mr-4 h-[4.15rem] min-h-[4.15rem] w-[4.15rem] min-w-[4.15rem] rounded-[0.925rem] p-0.5 shadow-sm" />
<img src={props.filepath.substring(7)} alt={props.name} class="mr-4 h-[4.15rem] min-h-[4.15rem] w-[4.15rem] min-w-[4.15rem] rounded-[0.925rem] p-0.5 shadow-sm" />
<div class="flex flex-col justify-center">
<h1 class="font-title text-xl font-medium text-zinc-200">{props.name}</h1>
<p class="whitespace-pre-line text-sm text-zinc-300/70">{props.desc}</p>
Expand Down
2 changes: 1 addition & 1 deletion tools/update_apps.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const folderExists = async (path) => {
return exists;
};

const outFolder = path.join(__dirname, '../public/assets/apps_data/');
const outFolder = 'public/assets/apps_data/';
//for each app get the name icon and subtitle and download the icon
(async () => {
console.log(`✨ Updating mock events...`);
Expand Down

0 comments on commit 656ba0e

Please sign in to comment.