diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..fc3d7d8 --- /dev/null +++ b/.env.example @@ -0,0 +1,3 @@ +PRIVATE_KEY= +MONGO_URL= +MAINTENANCE=false \ No newline at end of file diff --git a/.github/workflows/deploy.yml b/.github/workflows/production.yml similarity index 80% rename from .github/workflows/deploy.yml rename to .github/workflows/production.yml index 7543042..bcb416f 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/production.yml @@ -1,4 +1,4 @@ -name: 'deploy' +name: "production deploy" on: workflow_dispatch: @@ -18,5 +18,5 @@ jobs: - name: Push to dokku uses: dokku/github-action@master with: - git_remote_url: 'ssh://dokku@calones.xyz/rowblox' + git_remote_url: "ssh://dokku@calones.xyz/rowblox" ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }} diff --git a/.github/workflows/sitetest.yml b/.github/workflows/sitetest.yml new file mode 100644 index 0000000..5b0eec2 --- /dev/null +++ b/.github/workflows/sitetest.yml @@ -0,0 +1,22 @@ +name: "sitetest deploy" + +on: + workflow_dispatch: + push: + branches: + - sitetest + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - name: Cloning repo + uses: actions/checkout@v2 + with: + fetch-depth: 0 + + - name: Push to dokku + uses: dokku/github-action@master + with: + git_remote_url: "ssh://dokku@calones.xyz/rowblox-sitetest" + ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }} diff --git a/.prettierrc b/.prettierrc index a77fdde..7e7c23e 100644 --- a/.prettierrc +++ b/.prettierrc @@ -1,8 +1,8 @@ { "useTabs": true, - "singleQuote": true, + "singleQuote": false, "trailingComma": "none", - "printWidth": 100, + "printWidth": 200, "plugins": ["prettier-plugin-svelte"], "pluginSearchDirs": ["."], "overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }] diff --git a/README.md b/README.md index 5c91169..28190b4 100644 --- a/README.md +++ b/README.md @@ -1,38 +1,8 @@ -# create-svelte +# rowblox-sitetest -Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/master/packages/create-svelte). +This repo is for testing development, Major overhauls may happen often. -## Creating a project +This is the development repository of `rowblox`. +**PLEASE** prototype ideas here before committing your ideas to the production repository. -If you're seeing this, you've probably already done this step. Congrats! - -```bash -# create a new project in the current directory -npm create svelte@latest - -# create a new project in my-app -npm create svelte@latest my-app -``` - -## Developing - -Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server: - -```bash -npm run dev - -# or start the server and open the app in a new browser tab -npm run dev -- --open -``` - -## Building - -To create a production version of your app: - -```bash -npm run build -``` - -You can preview the production build with `npm run preview`. - -> To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment. + Hai diff --git a/postcss.config.cjs b/postcss.config.cjs index 33ad091..054c147 100644 --- a/postcss.config.cjs +++ b/postcss.config.cjs @@ -1,6 +1,6 @@ module.exports = { - plugins: { - tailwindcss: {}, - autoprefixer: {}, - }, -} + plugins: { + tailwindcss: {}, + autoprefixer: {} + } +}; diff --git a/src/app.css b/src/app.css index bd6213e..ddbe267 100644 --- a/src/app.css +++ b/src/app.css @@ -1,3 +1,47 @@ @tailwind base; @tailwind components; -@tailwind utilities; \ No newline at end of file +@tailwind utilities; + +html, +body { + @apply text-black; + padding: 0; + margin: 0; +} + +.scrolling-background { + background-image: url(/img/background.png); + animation-name: scrollbg; + animation-duration: 120s; + animation-iteration-count: infinite; + animation-timing-function: ease; + animation-direction: alternate; +} + +.dropdown:hover .dropdown-content { + display: block; +} + +.mobile-compatible { + display: none; +} + +@keyframes scrollbg { + 0% { + background-position: 0 0; + } + + 100% { + background-position: 100% 100%; + } +} + +@media (max-width: 1024px) { + .navbar { + display: none !important; + } + + .mobile-compatible { + display: block; + } +} diff --git a/src/app.html b/src/app.html index 5b53ef7..2d06c87 100644 --- a/src/app.html +++ b/src/app.html @@ -7,6 +7,6 @@ %sveltekit.head%
-