diff --git a/layouts/default.vue b/layouts/default.vue index 746bf91..62958e8 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -82,7 +82,10 @@ watch([scrollY, top, y], (newValues, oldValues) => { items-center gap-16px overflow-x-auto - pb="24px md:0" + pb-274px + mb--250px + md="overflow-x-visible pb-0 mb-0" + class="no-scrollbar" > { const body = await readBody<{ project: Project, image?: { type: string, data: string } }>(event) const yamlProject = yaml.stringify(body.project) - const { appId, privateKey, installationId } = useAppConfig().github + const { appId, privateKey, installationId, baseBranch, owner, repo } = useRuntimeConfig().app.github const id = body.project.id || body.project.name.toLowerCase().replace(/\s+/g, '-') @@ -16,9 +16,6 @@ export default defineEventHandler(async (event) => { await app.octokit.rest.apps.getAuthenticated() const octokit = await app.getInstallationOctokit(installationId) - const owner = 'develit-io' - const repo = 'test-repo' - const baseBranch = 'main' const newBranchName = `${id}-project-update-${Date.now()}` const commitMessage = `${body.project.id ? `Updating the project: ${body.project.name}` : `Initiating the creation of project: ${body.project.name}`}`