Skip to content

Commit

Permalink
Merge branch 'develop' into corina/a11y-audit-signup-page
Browse files Browse the repository at this point in the history
  • Loading branch information
CorinaMurg committed Oct 18, 2024
2 parents 2ca6306 + 05661c5 commit 0789402
Show file tree
Hide file tree
Showing 66 changed files with 4,230 additions and 815 deletions.
4 changes: 0 additions & 4 deletions .env.example

This file was deleted.

2 changes: 2 additions & 0 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import type { StorybookConfig } from '@storybook/nextjs';

const config: StorybookConfig = {
stories: [
'../stories/*.mdx',
'../stories/**/*.mdx',
'../components/**/*.stories.@(js|jsx|mjs|ts|tsx)',
],
Expand All @@ -12,6 +13,7 @@ const config: StorybookConfig = {
'@storybook/addon-essentials',
'@chromatic-com/storybook',
'@storybook/addon-interactions',
'@storybook/manager-api',
],
framework: {
name: '@storybook/nextjs',
Expand Down
8 changes: 8 additions & 0 deletions .storybook/manager.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { addons } from '@storybook/manager-api';

addons.setConfig({
sidebar: {
showRoots: true,
collapsedRoots: ['about', 'technical-planning-documents'],
},
});
9 changes: 2 additions & 7 deletions .storybook/preview.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import type { Preview } from '@storybook/react';
import '../app/globals.css';
import '../stories/styles.css';

const preview: Preview = {
parameters: {
Expand All @@ -9,13 +10,7 @@ const preview: Preview = {
date: /Date$/i,
},
},
backgrounds: {
default: 'dark',
values: [
{ name: 'dark', value: '#09090B' },
{ name: 'light', value: '#fff' },
],
},
layout: 'centered',
},
};

Expand Down
8 changes: 8 additions & 0 deletions api/apiFunctions.interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,11 @@ export interface IGameWeek {
id: string;
week: number;
}

export interface IRecoveryToken {
$id: string;
expire: string;
phrase?: string;
secret: string;
userId: string;
}
Loading

0 comments on commit 0789402

Please sign in to comment.