Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

draft: ceremony site #2928

Merged
merged 37 commits into from
Sep 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
d8525a8
feat(ceremony): init
Swepool Sep 2, 2024
b1eba30
feat(ceremony): save site progress
Swepool Sep 2, 2024
33bbe8d
feat(ceremony): save site progress
Swepool Sep 3, 2024
4a4f62c
fix(ceremony): move envs
Swepool Sep 3, 2024
56558e1
fix(ceremony): env client side
Swepool Sep 3, 2024
e66944a
fix(ceremony): fix import
Swepool Sep 3, 2024
c87add7
fix(ceremony): imports
Swepool Sep 3, 2024
cbfb078
feat(ceremony): nix package
hussein-aitlahcen Sep 3, 2024
a48a8e1
feat(ceremony): save progress
Swepool Sep 4, 2024
08f1dc3
feat(ceremony): fix install copy
Swepool Sep 4, 2024
dadeb2f
feat(ceremony): add whale img
Swepool Sep 4, 2024
6361b6b
feat(ceremony): animate whale
Swepool Sep 4, 2024
b883dd1
feat(ceremony): save progress
Swepool Sep 4, 2024
89e94eb
feat(ceremony): change interval
Swepool Sep 4, 2024
d690784
feat(ceremony): save progress
Swepool Sep 4, 2024
6f91610
feat(ceremony): save progress
Swepool Sep 4, 2024
917fa1b
feat(ceremony): clean post req
Swepool Sep 4, 2024
d7fe9b1
fix(ceremony): pre commit
Swepool Sep 5, 2024
932f078
feat(ceremony): save progress
Swepool Sep 5, 2024
f75f08b
fix(ceremony): save changes
Swepool Sep 5, 2024
817e1a2
feat(ceremony): save progress
Swepool Sep 5, 2024
57926d5
feat(ceremony): save progress
Swepool Sep 5, 2024
8efa9fd
feat(ceremony): save changes
Swepool Sep 5, 2024
3058ef4
fix(ceremony): save changes
Swepool Sep 5, 2024
de1cae5
fix(ceremony): npm
o-az Sep 5, 2024
490fc48
fix(ceremony): move and change
Swepool Sep 5, 2024
be8f203
feat(ceremony): add spline
Swepool Sep 6, 2024
a84e416
feat(ceremony): fade in spline after loaded
Swepool Sep 6, 2024
b7cdb6c
feat(ceremony): save changes
Swepool Sep 6, 2024
6747c16
fix(ceremony): save changes
Swepool Sep 6, 2024
3321fd0
fix(ceremony): use correct id
Swepool Sep 6, 2024
57ce0c9
fix(ceremony): on click fix
Swepool Sep 6, 2024
59081c1
fix(ceremony): save progress
Swepool Sep 9, 2024
080413d
feat(ceremony): save auto
Swepool Sep 10, 2024
a52ae6b
chore(ceremony): format
Swepool Sep 12, 2024
592887a
fix(ceremony): npm deps hash
cor Sep 12, 2024
5d0f85e
chore: fmt
cor Sep 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions app/src/generated/graphql-env.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions ceremony/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
VITE_BUCKET_ID=
VITE_SUPABASE_URL=
VITE_SUPABASE_ANON_KEY=
35 changes: 35 additions & 0 deletions ceremony/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Node modules
node_modules

# Build directories
/build
/.svelte-kit
/output
.vercel

# OS-specific files
.DS_Store
Thumbs.db

# Environment files
.env
.env.*
!.env.example
!.env.test

# Vite config files
vite.config.js.timestamp-*
vite.config.ts.timestamp-*

# Sentry Config File
.sentryclirc

# ESLint and Prettier cache files
.eslintcache
.prettiercache

# Partytown
~partytown

# Stats directory
stats
3 changes: 3 additions & 0 deletions ceremony/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
engine-strict=true
legacy-peer-deps=true
@jsr:registry=https://npm.jsr.io
38 changes: 38 additions & 0 deletions ceremony/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# create-svelte

Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/main/packages/create-svelte).

## Creating a project

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.
49 changes: 49 additions & 0 deletions ceremony/ceremony.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{ ... }: {
perSystem = { pkgs, unstablePkgs, lib, ensureAtRepositoryRoot, ... }:
let
pkgsDeps = with pkgs; [ pkg-config python3 ];
nodeDeps = with unstablePkgs; [ nodePackages_latest.nodejs ];
combinedDeps = pkgsDeps ++ nodeDeps;
packageJSON = lib.importJSON ./package.json;
in
{
packages = {
ceremony = unstablePkgs.buildNpmPackage {
npmDepsHash = "sha256-iL4+qO73/tXPDPI7d6B8UywQN9vhchPzy91WiRLYXUI=";
src = ./.;
sourceRoot = "ceremony";
npmFlags = [ "--legacy-peer-deps" ];
pname = packageJSON.name;
version = packageJSON.version;
nativeBuildInputs = combinedDeps;
buildInputs = combinedDeps;
installPhase = ''
mkdir -p $out
cp -r ./build/* $out
'';
doDist = false;
NODE_OPTIONS = "--no-warnings";
VITE_BUCKET_ID = "contributions";
VITE_SUPABASE_URL = "https://otfaamdxmgnkjqsosxye.supabase.co/";
VITE_SUPABASE_ANON_KEY = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Im90ZmFhbWR4bWdua2pxc29zeHllIiwicm9sZSI6ImFub24iLCJpYXQiOjE3MjEzMjA5NDMsImV4cCI6MjAzNjg5Njk0M30.q91NJPFFHKJXnbhbpUYwsB0NmimtD7pGPx6PkbB_A3w";
};
};

apps = {
ceremony-dev-server = {
type = "app";
program = pkgs.writeShellApplication {
name = "ceremony-dev-server";
runtimeInputs = combinedDeps;
text = ''
${ensureAtRepositoryRoot}
cd ceremony/

npm install
npm run dev
'';
};
};
};
};
}
Loading