diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000000000000000000000000000000000000..485dee64bcfb48793379b200a1afd14e85a8aaf4
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+.idea
diff --git a/README.md b/README.md
index b8d00b76cb9686c703739009678861a0d8e0f641..806a4491dcfad4e461c847dd5ed5a2300442b210 100644
--- a/README.md
+++ b/README.md
@@ -1,93 +1,149 @@
-# IMT48942024 - Rebecca
+# GameBreak Experiment Library
 
+This library is part of the Omniweb application and is responsible for managing the GameBreak experiment, which involves different phases of user engagement during a game break.
 
+## Directory Structure
 
-## Getting started
+- **`package.json`**: Contains the package metadata and dependencies required for the GameBreak experiment.
+- **`src/`**: The source directory containing the TypeScript files for the experiment.
+  - **`experiments/`**: Contains the different banner configurations and feed setups for various phases of the GameBreak experiment.
+    - **`banners/`**: Includes banner configurations like `banner-grasrot-1.ts`, `banner-rg-ended.ts`, etc., each defining specific banner properties.
+    - **`components/`**: Includes custom components like `<ReenterGameBreak />` and `<UserInfoInBreak />`.
+    - **`feed-ended.ts`**, **`feed-ongoing.ts`**, **`feed-post.ts`**, **`feed-started.ts`**: Define the feed content for different phases of the GameBreak experiment.
+  - **`helpers.ts`**: Provides utility functions for managing cookies and loading experiment data.
+  - **`index.ts`**: Exports key functions and types for use in other parts of the application.
+  - **`types.ts`**: Defines TypeScript types and enums used in the experiment.
+  - **`useGameBreakTrait.ts`**: A React hook for accessing the game break trait from the Redux store.
 
-To make it easy for you to get started with GitLab, here's a list of recommended next steps.
-
-Already a pro? Just edit this README.md and make it your own. Want to make it easy? [Use the template at the bottom](#editing-this-readme)!
-
-## Add your files
-
-- [ ] [Create](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#create-a-file) or [upload](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#upload-a-file) files
-- [ ] [Add files using the command line](https://docs.gitlab.com/ee/gitlab-basics/add-file.html#add-a-file-using-the-command-line) or push an existing Git repository with the following command:
+## Usage
 
+### Override fetching of the feed
+
+```tsx
+export function Frontpage() {
+  const { isLoggedIn } = useSession();
+  const isMobile = useIsMobile();
+  const gameBreakTrait = useGameBreakTrait(); // 👈 get trait from cookie
+
+  const {data: feedData} = useExperienceApi(
+    getFeedUrl(isMobile, gameBreakTrait || GameBreakTrait.Off),
+    fallbackFeed
+  );
+  
+  // ...
+}
 ```
-cd existing_repo
-git remote add origin https://git.gvk.idi.ntnu.no/rebeccpr/imt48942024-rebecca.git
-git branch -M main
-git push -uf origin main
+Override the feed response if the `gameBreakTrait` is present in the URL: 
+
+```tsx
+export function useExperienceApi(
+  project: string | ExperienceKeySpec,
+  fallback?: FeedItem[],
+) {
+  // ...
+  return useUniversalApi<FeedItem[]>({
+    url: experienceApiUrl(projectKey),
+    fetcher: useCallback(async (url) => {
+      // ...
+      // [Experiment/GameBreakVisibility] Override with custom feeds if gameBreakTrait URL param is present
+      const traitMatch = overrideIfUrlContains(url);
+      if (traitMatch) {
+        console.log('🧪 useExperienceApi: Overriding feed with trait', traitMatch);
+        return getLocaleFeedOverride(traitMatch); // 👈 the local feed is returned
+      }
+      // ...
+      // Normal flow
+}
 ```
 
-## Integrate with your tools
-
-- [ ] [Set up project integrations](https://git.gvk.idi.ntnu.no/rebeccpr/imt48942024-rebecca/-/settings/integrations)
-
-## Collaborate with your team
-
-- [ ] [Invite team members and collaborators](https://docs.gitlab.com/ee/user/project/members/)
-- [ ] [Create a new merge request](https://docs.gitlab.com/ee/user/project/merge_requests/creating_merge_requests.html)
-- [ ] [Automatically close issues from merge requests](https://docs.gitlab.com/ee/user/project/issues/managing_issues.html#closing-issues-automatically)
-- [ ] [Enable merge request approvals](https://docs.gitlab.com/ee/user/project/merge_requests/approvals/)
-- [ ] [Set auto-merge](https://docs.gitlab.com/ee/user/project/merge_requests/merge_when_pipeline_succeeds.html)
-
-## Test and Deploy
-
-Use the built-in continuous integration in GitLab.
-
-- [ ] [Get started with GitLab CI/CD](https://docs.gitlab.com/ee/ci/quick_start/index.html)
-- [ ] [Analyze your code for known vulnerabilities with Static Application Security Testing (SAST)](https://docs.gitlab.com/ee/user/application_security/sast/)
-- [ ] [Deploy to Kubernetes, Amazon EC2, or Amazon ECS using Auto Deploy](https://docs.gitlab.com/ee/topics/autodevops/requirements.html)
-- [ ] [Use pull-based deployments for improved Kubernetes management](https://docs.gitlab.com/ee/user/clusters/agent/)
-- [ ] [Set up protected environments](https://docs.gitlab.com/ee/ci/environments/protected_environments.html)
-
-***
-
-# Editing this README
-
-When you're ready to make this README your own, just edit this file and use the handy template below (or feel free to structure it however you want - this is just a starting point!). Thanks to [makeareadme.com](https://www.makeareadme.com/) for this template.
-
-## Suggestions for a good README
-
-Every project is different, so consider which of these sections apply to yours. The sections used in the template are suggestions for most open source projects. Also keep in mind that while a README can be too long and detailed, too long is better than too short. If you think your README is too long, consider utilizing another form of documentation rather than cutting out information.
-
-## Name
-Choose a self-explaining name for your project.
-
-## Description
-Let people know what your project can do specifically. Provide context and add a link to any reference visitors might be unfamiliar with. A list of Features or a Background subsection can also be added here. If there are alternatives to your project, this is a good place to list differentiating factors.
-
-## Badges
-On some READMEs, you may see small images that convey metadata, such as whether or not all the tests are passing for the project. You can use Shields to add some to your README. Many services also have instructions for adding a badge.
-
-## Visuals
-Depending on what you are making, it can be a good idea to include screenshots or even a video (you'll frequently see GIFs rather than actual videos). Tools like ttygif can help, but check out Asciinema for a more sophisticated method.
-
-## Installation
-Within a particular ecosystem, there may be a common way of installing things, such as using Yarn, NuGet, or Homebrew. However, consider the possibility that whoever is reading your README is a novice and would like more guidance. Listing specific steps helps remove ambiguity and gets people to using your project as quickly as possible. If it only runs in a specific context like a particular programming language version or operating system or has dependencies that have to be installed manually, also add a Requirements subsection.
-
-## Usage
-Use examples liberally, and show the expected output if you can. It's helpful to have inline the smallest example of usage that you can demonstrate, while providing links to more sophisticated examples if they are too long to reasonably include in the README.
-
-## Support
-Tell people where they can go to for help. It can be any combination of an issue tracker, a chat room, an email address, etc.
-
-## Roadmap
-If you have ideas for releases in the future, it is a good idea to list them in the README.
-
-## Contributing
-State if you are open to contributions and what your requirements are for accepting them.
+### Add custom components for the GameBreak experiment
+
+The frontpage feed contains both "static components" and the dynamic banners (with promotional content). For example the `<LobbyEntrances />` component is a static component that shows a group of buttons linking to different types of games (lottery, sports, scratchcards, etc). The local in-game-break feeds used in the experiment/prototype removes or reorders the components in the feed in addition to modifying the banner content.
+
+There was also the need to add support for two custom components:
+
+- A custom component for re-entering the game break shown in the ended and post phases (`<ReenterGameBreak />`).
+- A custom component for showing the user information in a more neutral way (`<UserInfoInBreak />`).
+
+```tsx
+export function FrontpageFeedMapper({ isMobile, isLoggedIn, hiddenHeader, numberSeenOfThisType, item } : Props) {
+  switch (item.component) {
+    // ...
+    case 'lobbyEntrances':
+      return <LobbyEntrances />;
+    case 'userInfo':
+      return <UserInfo />;
+    case 'userInfoInBreak':
+      // [Experiment/GameBreakVisibility] Custom welcome component for users in break
+      return <UserInfoInBreak />;
+    case 'reenterGameBreak':
+      // [Experiment/GameBreakVisibility] Inline re-enter game break dialog
+      return <ReenterGameBreak />;
+    // ...
+  }
+}
+```
 
-For people who want to make changes to your project, it's helpful to have some documentation on how to get started. Perhaps there is a script that they should run or some environment variables that they need to set. Make these steps explicit. These instructions could also be useful to your future self.
+### Install the cookie value in the application state
+
+For the cookie to be available both on the server and client side, it needs to be installed in the application state (Redux state). This, in turn, is used in the `useGameBreakTrait()` hook (in this package) to get the cookie value.
+
+```ts
+function mapRequestContextToState(request, serverState, omniwebVersion, origin) {
+  // ...
+  return {
+    ...serverState,
+    app: {
+      // ...
+      // [Experiment/GameBreakVisibility] Get game break trait from cookie (works on server and client side)
+      gameBreakTrait: getGameBreakTraitFromCookie(request.header('cookie')),
+    }
+    // ...
+  };
+}
+```
 
-You can also document commands to lint the code or run tests. These steps help to ensure high code quality and reduce the likelihood that the changes inadvertently break something. Having instructions for running tests is especially helpful if it requires external setup, such as starting a Selenium server for testing in a browser.
+### Activate the cookie
 
-## Authors and acknowledgment
-Show your appreciation to those who have contributed to the project.
+When the user confirms the game break, the cookie is activated. This is done by calling the `setGameBreakTraitCookies()` function with the phase number as an argument (1=started).
 
-## License
-For open source projects, say how it is licensed.
+```tsx
+  // ...
+  const _onPauseConfirm = useCallback(() => {
+    // [Experiment/GameBreakVisibility] Set game break trait cookies when user confirms (duration is fixed in the experiment)
+    setGameBreakTraitCookies(1);
+    // ...
+  }, [_setNewPause, currentView, selectedPauseDuration, selectedGame, setNewExclusion]);
+```
 
-## Project status
-If you have run out of energy or time for your project, put a note at the top of the README saying that development has slowed down or stopped completely. Someone may choose to fork your project or volunteer to step in as a maintainer or owner, allowing your project to keep going. You can also make an explicit request for maintainers.
+### Add developer tools for the GameBreak experiment
+
+This code is placed in the main menu of the application to allow developers to toggle the GameBreak experiment phases. The number used in `setGameBreakTraitCookies()` is the phase number of the experiment (started=1, ongoing=2, ended=3, post=4):
+
+```tsx
+ <Dropdown
+  position='right'
+  items={() => (
+    <Dropdown.Group>
+      <Dropdown.Item onClick={() => { setGameBreakTraitCookies(1); window.location.href = '/'; }}>Spillpause: Starting</Dropdown.Item>
+      <Dropdown.Item onClick={() => { setGameBreakTraitCookies(2); window.location.href = '/'; }}>Spillpause: Ongoing</Dropdown.Item>
+      <Dropdown.Item onClick={() => { setGameBreakTraitCookies(3); window.location.href = '/'; }}>Spillpause: Ended</Dropdown.Item>
+      <Dropdown.Item onClick={() => { setGameBreakTraitCookies(4); window.location.href = '/'; }}>Spillpause: Post</Dropdown.Item>
+      <Dropdown.Item onClick={() => { resetGameBreakTraitCookies(); window.location.href = '/'; }}>Spillpause: Nullstill</Dropdown.Item>
+    </Dropdown.Group>
+  )}
+>
+  <BlankButton
+    data-track-id='global-search-open'
+    hoverAffordance='md'
+    twRounded='rounded-full'
+    className={cn(
+      'flex justify-center items-center space-x-1 h-11 text-sm text-pebble pr-1',
+    )}
+    aria-expanded={searchDialog.show}
+    render={props => <Dropdown.Button {...props} />}
+  >
+    <GameBreakIcon />
+  </BlankButton>
+</Dropdown>
+```
\ No newline at end of file
diff --git a/package.json b/package.json
new file mode 100644
index 0000000000000000000000000000000000000000..1ef71c9e168842ad7329ceefe636f2c57c388107
--- /dev/null
+++ b/package.json
@@ -0,0 +1,18 @@
+{
+  "name": "@ow/gamebreak-experiment",
+  "version": "1.0.0",
+  "private": true,
+  "description": "",
+  "author": "Rebecca Ruud",
+  "sideEffects": false,
+  "main": "src/index.ts",
+  "scripts": {},
+  "dependencies": {
+    "nt-api": "^0.2.1",
+    "nt-app": "^0.2.1",
+    "nt-fetch-hooks": "^0.2.1",
+    "react": "^17.0.2",
+    "react-redux": "^7.2.6",
+    "react-router-dom": "^5.3.0"
+  }
+}
diff --git a/src/.DS_Store b/src/.DS_Store
new file mode 100644
index 0000000000000000000000000000000000000000..a8ae8aaa2abeffadfa33bf53c865c400d2fd34f4
Binary files /dev/null and b/src/.DS_Store differ
diff --git a/src/componentds/ReenterGameBreak.tsx b/src/componentds/ReenterGameBreak.tsx
new file mode 100644
index 0000000000000000000000000000000000000000..1236c0a54952fb1d376860a97ecad29f5f05c3cb
--- /dev/null
+++ b/src/componentds/ReenterGameBreak.tsx
@@ -0,0 +1,31 @@
+import React from 'react';
+import { BlankButton, TertiaryButton } from '@ntds/button';
+import { GameBreakIcon } from '@ntds/icons';
+import { resetGameBreakTraitCookies, setGameBreakTraitCookies } from '../helpers';
+
+/**
+ * ReenterGameBreak Component
+ * 
+ * This component renders a UI for users who have taken a game break in the last 30 days.
+ * It provides options to either resume the game break or dismiss the message.
+ */
+const ReenterGameBreak = () => (
+  <div className='flex flex-col gap-2 p-4 rounded-xl bg-haiti-200'>
+    <p className='text-sm text-haiti-700'>
+      Du har tatt <strong>spillepause</strong> i løpet av de siste 30 dagene.
+      Ønsker du å gjenoppta <strong>spillepausen</strong>?
+    </p>
+    <BlankButton
+      onClick={() => { setGameBreakTraitCookies(); window.location.href = '/'; }}
+      className='flex w-full p-2 rounded-pill text-left justify-center items-center gap-2 font-medium bg-haiti-800 text-white'
+    >
+      <span><GameBreakIcon /></span>
+      <span>Gjenoppta spillpause</span>
+    </BlankButton>
+    <TertiaryButton variant='haiti' onClick={() => { resetGameBreakTraitCookies(); window.location.href = '/'; }}>
+      Ikke vis igjen
+    </TertiaryButton>
+  </div>
+);
+
+export default ReenterGameBreak;
diff --git a/src/componentds/UserInfoInBreak.tsx b/src/componentds/UserInfoInBreak.tsx
new file mode 100644
index 0000000000000000000000000000000000000000..e5ac599bc39476d3f0ee93db45f00174c6f5c862
--- /dev/null
+++ b/src/componentds/UserInfoInBreak.tsx
@@ -0,0 +1,84 @@
+/**
+ * UserInfoInBreak Component
+ * 
+ * This component displays user information during a break in the game.
+ * It an override of the default one, hiding number of unchecked bets and remove "selling" language.
+ */
+
+import React, { useCallback } from 'react';
+import { useDispatch, useSelector } from 'react-redux';
+import { AgeLimitFilledIcon } from 'nt-icons';
+import { Link } from 'react-router-dom';
+import { actions as AUTH_A, selectors as authSelectors } from 'nt-auth';
+import { PrimaryButton, SecondaryButton } from '@ntds/button';
+import { ArrowIcon } from '@ntds/icons';
+import { omniPaths } from 'nt-constants';
+import { useCustomer } from '@ow/user';
+
+const UserInfoInBreak = () => {
+  const dispatch = useDispatch();
+  const triggerLogin = useCallback(() => dispatch(AUTH_A.loginRequested()), [dispatch]);
+  const isLoggedIn = useSelector(authSelectors.getIsLoggedIn);
+  const fullName = useCustomer()?.data?.name?.fullName;
+
+  const renderGeneralWelcome = () => (
+    <div className='max-w-md'>
+      <p className='self-start flex items-center'>
+        <span role='img' aria-label='18+'>
+          <AgeLimitFilledIcon className='mr-2' size='xl' />
+        </span>
+        <span>Du må være over 18 år for å spille</span>
+      </p>
+    </div>
+  );
+
+  const renderPersonalWelcome = () => (
+    <div className='flex flex-row justify-between'>
+      <div>
+        <div className='font-bold text-3xl md:text-4xl mb-2' data-test='userName'>
+          <h1>
+            {fullName}
+          </h1>
+        </div>
+      </div>
+      <span role='img' aria-label='18+'>
+        <AgeLimitFilledIcon size='xxl' className='mr-2' />
+      </span>
+    </div>
+  );
+
+  return (
+    <div className='font-medium text-sm md:text-base first:pt-0'>
+      {isLoggedIn ? renderPersonalWelcome() : renderGeneralWelcome()}
+
+      <div className='flex mt-4 space-x-2 md:space-x-3'>
+        {!isLoggedIn && (
+          <PrimaryButton
+            onClick={triggerLogin}
+            data-track-id='frontpage-welcome-login-button'
+            data-test='loginButton'
+          >
+            <span className='flex items-center'>
+              <span>Logg inn</span>
+              <ArrowIcon className='ml-2 -mr-2 inline' size='xs' />
+            </span>
+          </PrimaryButton>
+        )}
+
+        <SecondaryButton
+          render={props => (<Link to={omniPaths.responsiblegaming.root} {...props} />)}
+          data-track-id='frontpage-welcome-rg-button'
+          data-test='rgButton'
+        >
+          <span className='flex items-center'>
+            <span>Spillevett</span>
+            <ArrowIcon className='ml-2 -mr-2 inline' size='xs' />
+          </span>
+        </SecondaryButton>
+      </div>
+    </div>
+  );
+};
+
+
+export default UserInfoInBreak;
diff --git a/src/experiments/banners/banner-grasrot-1.ts b/src/experiments/banners/banner-grasrot-1.ts
new file mode 100644
index 0000000000000000000000000000000000000000..beb6dedc6c59b340098142c5c30795fa7b2aaf63
--- /dev/null
+++ b/src/experiments/banners/banner-grasrot-1.ts
@@ -0,0 +1,46 @@
+export const BannerGrasrot1 = {
+  _firstPublishedAt: '2024-12-09T08:56:44+00:00',
+  id: 'e73c5355-26d3-4f14-9932-b599699e7aa6',
+  title: '',
+  media: {
+    type: 'image',
+    video: null,
+    image: {
+      url: 'https://www.datocms-assets.com/97063/1695294774-grasrot_3823_1050x1400_260mill_nyforside_2_logo.jpg',
+      width: 1050,
+      title: null,
+      thumbhash: 'npYVLQZ4d4+IyHeHeIVneJd/pvtW',
+      height: 1400,
+      alt: '',
+    },
+  },
+  colorBackground: {
+    hex: '#211362',
+  },
+  tags: [],
+  footer: {
+    variant: 'logo',
+    message: null,
+    button: {
+      label: 'Les mer her',
+      url: '/',
+      showInModal: false,
+    },
+    logo: {
+      id: '137772491',
+      title: '',
+      name: 'NorskTippingNegative',
+      category: '',
+      alt: '',
+    },
+    colorTint: {
+      hex: '#FFFFFF',
+    },
+    legalProbability: '',
+  },
+  link: {
+    label: 'Grasrotandelen',
+    url: '/grasrotandelen',
+    showInModal: false,
+  },
+};
diff --git a/src/experiments/banners/banner-rg-ended.ts b/src/experiments/banners/banner-rg-ended.ts
new file mode 100644
index 0000000000000000000000000000000000000000..ae687f4b13c4dad8251086e206a48c2438a33d54
--- /dev/null
+++ b/src/experiments/banners/banner-rg-ended.ts
@@ -0,0 +1,56 @@
+export const BannerRgEnded = {
+  _firstPublishedAt: '2024-12-07T06:00:00+00:00',
+  id: 'd61e90e4-16f1-461c-9043-a7c6a92431b3\n',
+  title: 'Spill i trygge rammer',
+  media: {
+    type: 'image',
+    video: null,
+    image: {
+      url: 'https://www.datocms-assets.com/97063/1731322521-1200x1600_5_1.jpg',
+      width: 1050,
+      title: null,
+      thumbhash: '2/cJHQK7V695l4aYV5eaZ9imP0iv',
+      height: 1400,
+      alt: '',
+    },
+  },
+  colorBackground: {
+    red: 0,
+    hex: '#2C1A45',
+    green: 50,
+    cssRgb: 'rgb(0 50 0)',
+    alpha: 255,
+    blue: 0,
+  },
+  tags: [],
+  footer: {
+    variant: 'logo',
+    message: null,
+    button: {
+      label: 'Les mer her',
+      url: '/flax',
+      showInModal: false,
+    },
+    logo: {
+      id: '137772457',
+      title: '',
+      name: 'NorskTippingNegative',
+      category: 'other',
+      alt: '',
+    },
+    colorTint: {
+      red: 255,
+      hex: '#FFFFFF',
+      green: 255,
+      cssRgb: 'rgb(255 255 255)',
+      blue: 255,
+      alpha: 255,
+    },
+    legalProbability: '',
+  },
+  link: {
+    label: '',
+    url: '/',
+    showInModal: false,
+  },
+};
diff --git a/src/experiments/banners/banner-rg-generic.ts b/src/experiments/banners/banner-rg-generic.ts
new file mode 100644
index 0000000000000000000000000000000000000000..40c25c0c5f84c5766f61d9cbfd419aedd32f0267
--- /dev/null
+++ b/src/experiments/banners/banner-rg-generic.ts
@@ -0,0 +1,60 @@
+export const BannerRgGeneric = {
+  _firstPublishedAt: '2024-12-07T06:00:00+00:00',
+  id: 'a933e2bd-fe98-4d2b-80ed-9a602ad09b7c\n',
+  title: 'Spill i trygge rammer',
+  media: {
+    type: 'video',
+    video: {
+      muxPlaybackId: 'hC9s02HXyP0200pOEvqoJF02gzecZ5ZhlYAC',
+      mp4Url: 'https://stream.mux.com/hC9s02HXyP0200pOEvqoJF02gzecZ5ZhlYAC/high.mp4',
+      streamingUrl: 'https://stream.mux.com/hC9s02HXyP0200pOEvqoJF02gzecZ5ZhlYAC.m3u8',
+      autoplay: true,
+      duration: 5,
+      width: 1050,
+      title: null,
+      thumbhash: 'W/cNJQSKeJ92t4hnh4Z5iI0vteME',
+      height: 1400,
+      alt: '',
+    },
+    image: null,
+  },
+  colorBackground: {
+    red: 0,
+    hex: '#2C1A45',
+    green: 50,
+    cssRgb: 'rgb(0 50 0)',
+    alpha: 255,
+    blue: 0,
+  },
+  tags: [],
+  footer: {
+    variant: 'logo',
+    message: null,
+    button: {
+      label: 'Les mer her',
+      url: '/',
+      showInModal: false,
+    },
+    logo: {
+      id: '137772457',
+      title: '',
+      name: 'NorskTippingNegative',
+      category: 'other',
+      alt: 'Flax',
+    },
+    colorTint: {
+      red: 255,
+      hex: '#FFFFFF',
+      green: 255,
+      cssRgb: 'rgb(255 255 255)',
+      blue: 255,
+      alpha: 255,
+    },
+    legalProbability: '',
+  },
+  link: {
+    label: 'Flax',
+    url: '/flax',
+    showInModal: false,
+  },
+};
diff --git a/src/experiments/banners/banner-rg-ongoing.ts b/src/experiments/banners/banner-rg-ongoing.ts
new file mode 100644
index 0000000000000000000000000000000000000000..6d3648bf596339d02d98528d982df77b5cd60dd0
--- /dev/null
+++ b/src/experiments/banners/banner-rg-ongoing.ts
@@ -0,0 +1,56 @@
+export const BannerRgOngoing = {
+  _firstPublishedAt: '2024-12-07T06:00:00+00:00',
+  id: 'ca2da2b2-f347-48ed-9191-364e59a9bb31\n',
+  title: 'Spill i trygge rammer',
+  media: {
+    type: 'image',
+    video: null,
+    image: {
+      url: 'https://www.datocms-assets.com/97063/1731322521-1200x1600_5_1.jpg',
+      width: 1050,
+      title: null,
+      thumbhash: '2/cJHQK7V695l4aYV5eaZ9imP0iv',
+      height: 1400,
+      alt: '',
+    },
+  },
+  colorBackground: {
+    red: 0,
+    hex: '#2C1A45',
+    green: 50,
+    cssRgb: 'rgb(0 50 0)',
+    alpha: 255,
+    blue: 0,
+  },
+  tags: [],
+  footer: {
+    variant: 'logo',
+    message: null,
+    button: {
+      label: 'Les mer her',
+      url: '/',
+      showInModal: false,
+    },
+    logo: {
+      id: '137772457',
+      title: '',
+      name: 'NorskTippingNegative',
+      category: 'other',
+      alt: '',
+    },
+    colorTint: {
+      red: 255,
+      hex: '#FFFFFF',
+      green: 255,
+      cssRgb: 'rgb(255 255 255)',
+      blue: 255,
+      alpha: 255,
+    },
+    legalProbability: '',
+  },
+  link: {
+    label: '',
+    url: '/',
+    showInModal: false,
+  },
+};
diff --git a/src/experiments/banners/banner-rg-starting.ts b/src/experiments/banners/banner-rg-starting.ts
new file mode 100644
index 0000000000000000000000000000000000000000..c554a25d663cb300bf9f7928a21e485bc2c71291
--- /dev/null
+++ b/src/experiments/banners/banner-rg-starting.ts
@@ -0,0 +1,56 @@
+export const BannerRgStarting = {
+  _firstPublishedAt: '2024-12-07T06:00:00+00:00',
+  id: '99d05567-5f6c-45e2-8685-5743b5e1aecf\n',
+  title: 'Spill i trygge rammer',
+  media: {
+    type: 'image',
+    video: null,
+    image: {
+      url: 'https://www.datocms-assets.com/97063/1731322521-1200x1600_5_1.jpg',
+      width: 1050,
+      title: null,
+      thumbhash: '2/cJHQK7V695l4aYV5eaZ9imP0iv',
+      height: 1400,
+      alt: '',
+    },
+  },
+  colorBackground: {
+    red: 0,
+    hex: '#2C1A45',
+    green: 50,
+    cssRgb: 'rgb(0 50 0)',
+    alpha: 255,
+    blue: 0,
+  },
+  tags: [],
+  footer: {
+    variant: 'logo',
+    message: null,
+    button: {
+      label: 'Les mer her',
+      url: '/',
+      showInModal: false,
+    },
+    logo: {
+      id: '137772457',
+      title: '',
+      name: 'NorskTippingNegative',
+      category: 'other',
+      alt: '',
+    },
+    colorTint: {
+      red: 255,
+      hex: '#FFFFFF',
+      green: 255,
+      cssRgb: 'rgb(255 255 255)',
+      blue: 255,
+      alpha: 255,
+    },
+    legalProbability: '',
+  },
+  link: {
+    label: '',
+    url: '/',
+    showInModal: false,
+  },
+};
diff --git a/src/experiments/banners/banner-selling-1.ts b/src/experiments/banners/banner-selling-1.ts
new file mode 100644
index 0000000000000000000000000000000000000000..e70cbb85ac337477062328d778a1759bbc39c808
--- /dev/null
+++ b/src/experiments/banners/banner-selling-1.ts
@@ -0,0 +1,58 @@
+export const BannerSelling1 = {
+  _firstPublishedAt: '2024-12-09T08:56:44+00:00',
+  id: 'cf303db5-6783-44c4-bf33-6c8e001e69df\n',
+  title: 'Eurojackpot 117 millioner tirs u50',
+  media: {
+    type: 'image',
+    video: null,
+    image: {
+      url: 'https://www.datocms-assets.com/97063/1733734542-euro_5024_1050x1400_117mill_tirsdag.jpg',
+      width: 1050,
+      title: null,
+      thumbhash: 'DvgFFQIIp490OaeIl4eXSCh7YMAX',
+      height: 1400,
+      alt: 'Tirsdag er det ca. 117 millioner kroner i førstepreiepotten i Eurojackpot',
+    },
+  },
+  colorBackground: {
+    red: 25,
+    hex: '#19191B',
+    green: 25,
+    cssRgb: 'rgb(25 25 27)',
+    alpha: 255,
+    blue: 27,
+  },
+  tags: [
+    'Eurojackpot',
+  ],
+  footer: {
+    variant: 'logo',
+    message: null,
+    button: {
+      label: 'Spill her',
+      url: '/lotteri/eurojackpot',
+      showInModal: false,
+    },
+    logo: {
+      id: '137772491',
+      title: 'Eurojackpot - Farge',
+      name: 'Eurojackpot',
+      category: 'lottery',
+      alt: 'Eurojackpot',
+    },
+    colorTint: {
+      red: 255,
+      hex: '#FFFFFF',
+      green: 255,
+      cssRgb: 'rgb(255 255 255)',
+      blue: 255,
+      alpha: 255,
+    },
+    legalProbability: 'Vinnersjanse 1. premie: 1:140 mill. per rekke - Hjelpelinjen.no',
+  },
+  link: {
+    label: 'Eurojackpot',
+    url: '/lotteri/eurojackpot',
+    showInModal: false,
+  },
+};
diff --git a/src/experiments/banners/banner-selling-2.ts b/src/experiments/banners/banner-selling-2.ts
new file mode 100644
index 0000000000000000000000000000000000000000..bb028c662f53da048c3973c1319c85dd71a47e06
--- /dev/null
+++ b/src/experiments/banners/banner-selling-2.ts
@@ -0,0 +1,58 @@
+export const BannerSelling2 = {
+  _firstPublishedAt: '2024-12-09T09:13:14+00:00',
+  id: 'f9b008fa-ac45-4fc4-8551-ab6f63fb62ec\n',
+  title: 'Lotto Supertrekning JPG u50',
+  media: {
+    type: 'image',
+    video: null,
+    image: {
+      url: 'https://www.datocms-assets.com/97063/1733734935-lotto_5024_1050x1400_nyforside_supertrekning_jul_back-up.jpg',
+      width: 1050,
+      title: null,
+      thumbhash: '5dgKLRyXmI+KmHjIOImGd3Zwdgh3',
+      height: 1400,
+      alt: '21. desember trekker vi ca. 40 Lotto- millionærer i Supertrekning',
+    },
+  },
+  colorBackground: {
+    red: 235,
+    hex: '#EB0C3C',
+    green: 12,
+    cssRgb: 'rgb(235 12 60)',
+    alpha: 255,
+    blue: 60,
+  },
+  tags: [
+    'Kampanje Lotto',
+  ],
+  footer: {
+    variant: 'logo',
+    message: null,
+    button: {
+      label: 'Spill her',
+      url: '/lotteri/lotto',
+      showInModal: false,
+    },
+    logo: {
+      id: '137772490',
+      title: 'Lotto - Hvit',
+      name: 'LottoNegative',
+      category: 'lottery',
+      alt: 'Lotto',
+    },
+    colorTint: {
+      red: 255,
+      hex: '#FFFFFF',
+      green: 255,
+      cssRgb: 'rgb(255 255 255)',
+      blue: 255,
+      alpha: 255,
+    },
+    legalProbability: 'Vinnersjanse: ca. 1:5,5 mill. per rekke - Hjelpelinjen.no',
+  },
+  link: {
+    label: 'Lotto',
+    url: '/lotteri/lotto',
+    showInModal: false,
+  },
+};
diff --git a/src/experiments/banners/banner-selling-3.ts b/src/experiments/banners/banner-selling-3.ts
new file mode 100644
index 0000000000000000000000000000000000000000..8de482b43dde4a96c3e54f8d92d679748b7cadf5
--- /dev/null
+++ b/src/experiments/banners/banner-selling-3.ts
@@ -0,0 +1,58 @@
+export const BannerSelling3 = {
+  _firstPublishedAt: '2024-12-10T06:00:00+00:00',
+  id: '25c8b814-2700-4e92-a5bf-83199743e0d7\n',
+  title: 'Extra u50',
+  media: {
+    type: 'image',
+    video: null,
+    image: {
+      url: 'https://www.datocms-assets.com/97063/1730747456-extra_xx24_nyforside_1050x1400_prov_extra_1-2.jpg',
+      width: 1050,
+      title: null,
+      thumbhash: 'KTgSHQaHh393eIeIiId3mJ96dAio',
+      height: 1400,
+      alt: 'Prøv Extra i dag. Spillefrist tirsdag kl 17. Et bingo inspirert spill',
+    },
+  },
+  colorBackground: {
+    red: 116,
+    hex: '#741772',
+    green: 23,
+    cssRgb: 'rgb(116 23 114)',
+    alpha: 255,
+    blue: 114,
+  },
+  tags: [
+    'Extra',
+  ],
+  footer: {
+    variant: 'logo',
+    message: null,
+    button: {
+      label: 'Spill her',
+      url: '/lotteri/extra',
+      showInModal: false,
+    },
+    logo: {
+      id: '137772487',
+      title: 'Extra - Hvit',
+      name: 'ExtraNegative',
+      category: 'lottery',
+      alt: 'Extra',
+    },
+    colorTint: {
+      red: 255,
+      hex: '#FFFFFF',
+      green: 255,
+      cssRgb: 'rgb(255 255 255)',
+      blue: 255,
+      alpha: 255,
+    },
+    legalProbability: 'Vinnersjanse Extra-kandidaten: ca. 1:450 000 per spillbrett - Hjelpelinjen.no',
+  },
+  link: {
+    label: 'Extra',
+    url: '/lotteri/extra',
+    showInModal: false,
+  },
+};
diff --git a/src/experiments/banners/banner-selling-4.ts b/src/experiments/banners/banner-selling-4.ts
new file mode 100644
index 0000000000000000000000000000000000000000..34a0f2e0c5f0b699093033e869a142147bdaf736
--- /dev/null
+++ b/src/experiments/banners/banner-selling-4.ts
@@ -0,0 +1,62 @@
+export const BannerSelling4 = {
+  _firstPublishedAt: '2024-12-08T06:00:00+00:00',
+  id: '5a601940-4c4e-4343-ba24-9e3278817762\n',
+  title: 'Vikinglotto 94 mill uke 50',
+  media: {
+    type: 'video',
+    video: {
+      muxPlaybackId: 'W6kfn4qew301ytpgHBaqb3QsNx52s01aWv',
+      mp4Url: 'https://stream.mux.com/W6kfn4qew301ytpgHBaqb3QsNx52s01aWv/high.mp4',
+      streamingUrl: 'https://stream.mux.com/W6kfn4qew301ytpgHBaqb3QsNx52s01aWv.m3u8',
+      autoplay: true,
+      duration: 6,
+      width: 1050,
+      title: null,
+      thumbhash: 'aQQFJSb4V4l81XeneIiXh6iPf/aY',
+      height: 1400,
+      alt: 'Ukens førstepremiepott i Vikinglotto ligger på ca. 94 millioner kl. Spillefrist onsdag kl. 18.00.',
+    },
+    image: null,
+  },
+  colorBackground: {
+    red: 0,
+    hex: '#00FFFF',
+    green: 255,
+    cssRgb: 'rgb(0 255 255)',
+    alpha: 255,
+    blue: 255,
+  },
+  tags: [
+    'Vikinglotto',
+  ],
+  footer: {
+    variant: 'logo',
+    message: 'Spill, drøm og vinn sammen',
+    button: {
+      label: 'Spill her',
+      url: '/lotteri/vikinglotto',
+      showInModal: false,
+    },
+    logo: {
+      id: '137772496',
+      title: 'Vikinglotto - Farge',
+      name: 'Vikinglotto',
+      category: 'lottery',
+      alt: 'Vikinglotto',
+    },
+    colorTint: {
+      red: 19,
+      hex: '#13237C',
+      green: 35,
+      cssRgb: 'rgb(19 35 124)',
+      blue: 124,
+      alpha: 255,
+    },
+    legalProbability: 'Vinnersjanse 1. premie: 1:61 mill. per rekke - Hjelpelinjen.no',
+  },
+  link: {
+    label: 'Vikinglotto',
+    url: '/lotteri/vikinglotto',
+    showInModal: false,
+  },
+};
diff --git a/src/experiments/feed-ended.ts b/src/experiments/feed-ended.ts
new file mode 100644
index 0000000000000000000000000000000000000000..dc3ed7879e713986e88c076c836f3d90a83d8083
--- /dev/null
+++ b/src/experiments/feed-ended.ts
@@ -0,0 +1,72 @@
+import { BannerRgEnded } from './banners/banner-rg-ended';
+import { BannerSelling2 } from './banners/banner-selling-2';
+import { BannerSelling4 } from './banners/banner-selling-4';
+import { BannerSelling3 } from './banners/banner-selling-3';
+import { BannerGrasrot1 } from './banners/banner-grasrot-1';
+
+export const feedEnded: any = {
+  updated: '2024-12-07T06:02:13Z',
+  comment: 'Frontpage right after game break is over',
+  content: {
+    platform: 'web',
+    key: 'frontpage_without_game_tab_guest',
+    trackingKey: 'frontpage_without_game_tab_guest',
+    components: [
+      {
+        component: 'legacyLogo',
+        index: 1,
+      },
+      {
+        component: 'userInfoInBreak',
+        index: 2,
+      },
+      {
+        index: 3,
+        component: 'banners',
+        hiddenHeader: true,
+        content: [
+          BannerRgEnded,
+        ],
+      },
+      {
+        component: 'reenterGameBreak',
+        index: 4,
+      },
+      {
+        component: 'legacyLobby',
+        index: 5,
+      },
+      {
+        index: 6,
+        component: 'banners',
+        content: [
+          BannerGrasrot1,
+          BannerSelling2,
+        ],
+      },
+      {
+        component: 'legacyGrasrot',
+        index: 7,
+      },
+      {
+        index: 8,
+        component: 'banners',
+        content: [
+          BannerSelling3,
+          BannerSelling4,
+        ],
+      },
+      {
+        component: 'legacyNews',
+        index: 9,
+      },
+      {
+        component: 'legacySpillevett',
+        index: 10,
+      },
+    ],
+
+  },
+};
+
+export default feedEnded;
diff --git a/src/experiments/feed-ongoing.ts b/src/experiments/feed-ongoing.ts
new file mode 100644
index 0000000000000000000000000000000000000000..62b8a63e15acb81eaeedf049a05b7e1b30210e65
--- /dev/null
+++ b/src/experiments/feed-ongoing.ts
@@ -0,0 +1,31 @@
+import { BannerRgOngoing } from './banners/banner-rg-ongoing';
+
+export const feedOngoing: any = {
+  updated: '2024-12-07T06:02:13Z',
+  comment: 'Frontpage during game break',
+  content: {
+    platform: 'web',
+    key: 'frontpage_without_game_tab_3_by_3_guest',
+    trackingKey: 'frontpage_without_game_tab_3_by_3_guest',
+    components: [
+      {
+        component: 'legacyLogo',
+        index: 1,
+      },
+      {
+        index: 2,
+        component: 'banners',
+        hiddenHeader: true,
+        content: [
+          BannerRgOngoing,
+        ],
+      },
+      {
+        component: 'userInfoInBreak',
+        index: 3,
+      },
+    ],
+  },
+};
+
+export default feedOngoing;
diff --git a/src/experiments/feed-post.ts b/src/experiments/feed-post.ts
new file mode 100644
index 0000000000000000000000000000000000000000..80b36d5bfdf0a5338c8193e9e219b87a7006b1f5
--- /dev/null
+++ b/src/experiments/feed-post.ts
@@ -0,0 +1,65 @@
+import {BannerSelling1} from './banners/banner-selling-1';
+import {BannerSelling2} from './banners/banner-selling-2';
+import {BannerSelling4} from './banners/banner-selling-4';
+import {BannerSelling3} from './banners/banner-selling-3';
+import {BannerRgGeneric} from './banners/banner-rg-generic';
+
+
+export const feedPost: any = {
+  updated: '2024-12-07T06:02:13Z',
+  comment: 'Frontpage after game break is over (lingers a couple of days)',
+  content: {
+    platform: 'web',
+    key: 'frontpage_without_game_tab_guest',
+    trackingKey: 'frontpage_without_game_tab_guest',
+    components: [
+      {
+        component: 'legacyLogo',
+        index: 1,
+      },
+      {
+        component: 'userInfoInBreak',
+        index: 2,
+      },
+      {
+        component: 'reenterGameBreak',
+        index: 3,
+      },
+      {
+        component: 'legacyLobby',
+        index: 4,
+      },
+      {
+        index: 5,
+        component: 'banners',
+        content: [
+          BannerRgGeneric,
+          BannerSelling1,
+          BannerSelling2,
+        ],
+      },
+      {
+        component: 'legacyGrasrot',
+        index: 6,
+      },
+      {
+        index: 7,
+        component: 'banners',
+        content: [
+          BannerSelling3,
+          BannerSelling4,
+        ],
+      },
+      {
+        component: 'legacyNews',
+        index: 8,
+      },
+      {
+        component: 'legacySpillevett',
+        index: 10,
+      },
+    ],
+  },
+};
+
+export default feedPost;
diff --git a/src/experiments/feed-started.ts b/src/experiments/feed-started.ts
new file mode 100644
index 0000000000000000000000000000000000000000..cba5f4664a503d40abaebfec76d691bb14a08f00
--- /dev/null
+++ b/src/experiments/feed-started.ts
@@ -0,0 +1,31 @@
+import { BannerRgStarting } from './banners/banner-rg-starting';
+
+export const feedStarted: any = {
+  updated: '2024-12-07T06:02:13Z',
+  comment: 'First frontpage the user sees after taking game break',
+  content: {
+    platform: 'web',
+    key: 'frontpage_without_game_tab_3_by_3_guest',
+    trackingKey: 'frontpage_without_game_tab_3_by_3_guest',
+    components: [
+      {
+        component: 'legacyLogo',
+        index: 1,
+      },
+      {
+        index: 2,
+        component: 'banners',
+        hiddenHeader: true,
+        content: [
+          BannerRgStarting,
+        ],
+      },
+      {
+        component: 'userInfoInBreak',
+        index: 3,
+      },
+    ],
+  },
+};
+
+export default feedStarted;
diff --git a/src/helpers.ts b/src/helpers.ts
new file mode 100644
index 0000000000000000000000000000000000000000..cbac4766d31573875ba6974c3da45a821cf9587e
--- /dev/null
+++ b/src/helpers.ts
@@ -0,0 +1,94 @@
+import { GameBreakTrait } from './types';
+
+/**
+ * Configuration for GameBreak experiment cookies
+ *
+ * Each phase has a cookie with a specific name and value that configures
+ * the duration of the experiment phases
+ *
+ * Phase 1: "started" - Initial game break phase
+ * Phase 2: "ongoing" - Middle game break phase
+ * Phase 3: "ending" - Final game break phase
+ * Phase 4: "post" - Post game break phase
+ *
+ * The phases will be resolved by checking for the presence of these cookies
+ * in getGameBreakTraitFromCookie(), which returns the first active phase found
+ * or 'off' if no phase cookies are present
+ */
+const CookieSettings = [
+  { name: 'X-GameBreakTrait_1', value: 'started', maxAge: 120 },
+  { name: 'X-GameBreakTrait_2', value: 'ongoing', maxAge: 240 },
+  { name: 'X-GameBreakTrait_3', value: 'ended', maxAge: 360 },
+  { name: 'X-GameBreakTrait_4', value: 'post', maxAge: 2592000 }, // 30 days
+];
+
+/**
+ * Removes all GameBreakTrait cookies by setting their max-age to 0
+ */
+export function resetGameBreakTraitCookies() {
+  CookieSettings.forEach(({ name }) => {
+    document.cookie = `${name}=;max-age=0;path=/`;
+  });
+}
+
+/**
+ * Sets GameBreakTrait cookies in sequence, optionally starting from a specific phase
+ *
+ * @param startAtPhase - Optional phase number (1-4) to start setting cookies from
+ */
+export function setGameBreakTraitCookies(startAtPhase?: number) {
+  resetGameBreakTraitCookies();
+
+  CookieSettings.forEach(({ name, value, maxAge }, index) => {
+    if (!startAtPhase || index + 1 >= startAtPhase) {
+      document.cookie = `${name}=${value};max-age=${maxAge};path=/`;
+    }
+  });
+}
+
+/**
+ * Extracts the GameBreakTrait value from a cookie header string
+ *
+ * @param cookieHeader - The cookie header string to parse
+ * @returns The value of the first matching GameBreakTrait cookie, or 'off' if none found
+ */
+export function getGameBreakTraitFromCookie(cookieHeader: string) {
+  if (cookieHeader) {
+    for (let i = 1; i <= 4; i++) {
+      const cookieMatch = cookieHeader.match(
+        new RegExp(`X-GameBreakTrait_${i}=([^;]+)`)
+      );
+      if (cookieMatch && cookieMatch[1]) {
+        return cookieMatch[1];
+      }
+    }
+  }
+  return 'off';
+}
+
+export function overrideIfUrlContains(url: string): GameBreakTrait | undefined {
+  const [, traitMatch] = url.match(/gameBreakTrait=([^&]+)/) || [];
+  if (traitMatch && Object.values(GameBreakTrait).includes(traitMatch as GameBreakTrait) && traitMatch !== GameBreakTrait.Off) {
+    console.log('🧪 useExperienceApi: Overriding feed with trait', traitMatch);
+    return traitMatch as GameBreakTrait;
+  }
+
+  return undefined;
+}
+
+/**
+ * Loads experiment data from a local JSON file based on the provided trait
+ *
+ * @param trait - The trait identifier used to locate the corresponding JSON file
+ * @returns Promise containing an array of experiment components
+ * @throws Will log an error if the file cannot be loaded
+ */
+export async function getLocaleFeedOverride<T>(trait: string): Promise<T[]> {
+  try {
+    const response = await import((`./experiments/feed-${trait}`));
+    return response.default.content.components;
+  } catch (error) {
+    console.error(`Failed to load local experiment file for trait: ${trait}`, error);
+    return [];
+  }
+}
diff --git a/src/index.ts b/src/index.ts
new file mode 100644
index 0000000000000000000000000000000000000000..87b4e1df44f487f017d7208c6b8a29a4f623a486
--- /dev/null
+++ b/src/index.ts
@@ -0,0 +1,11 @@
+export {
+  getGameBreakTraitFromCookie,
+  setGameBreakTraitCookies,
+  getLocaleFeedOverride,
+  resetGameBreakTraitCookies,
+  overrideIfUrlContains
+} from './helpers';
+export { useGameBreakTrait } from './useGameBreakTrait';
+export { GameBreakTrait } from './types';
+export { default as ReenterGameBreak } from './componentds/ReenterGameBreak';
+export { default as UserInfoInBreak } from './componentds/UserInfoInBreak';
diff --git a/src/types.ts b/src/types.ts
new file mode 100644
index 0000000000000000000000000000000000000000..35f2e214fa1294a2edafb3bad2a36627a22e9af9
--- /dev/null
+++ b/src/types.ts
@@ -0,0 +1,7 @@
+export enum GameBreakTrait {
+  Off = 'off',
+  Started = 'started',
+  Ongoing = 'ongoing',
+  Ended = 'ended',
+  Post = 'post',
+}
diff --git a/src/useGameBreakTrait.ts b/src/useGameBreakTrait.ts
new file mode 100644
index 0000000000000000000000000000000000000000..06280b1d63c1ff39cd50472247dfc8ed9ab144da
--- /dev/null
+++ b/src/useGameBreakTrait.ts
@@ -0,0 +1,16 @@
+import { useSelector } from 'react-redux';
+import { GameBreakTrait } from './types';
+
+/**
+ * Selects the gameBreakTrait value from the Redux state
+ */
+function select(state: any) {
+  return state.app.gameBreakTrait as GameBreakTrait;
+}
+
+/**
+ * Hook that retrieves the gameBreakTrait value from Redux store
+ */
+export function useGameBreakTrait() {
+  return useSelector(select);
+}
diff --git a/tsconfig.json b/tsconfig.json
new file mode 100644
index 0000000000000000000000000000000000000000..618c6c3e97b576917591c79e6446be9ab7698631
--- /dev/null
+++ b/tsconfig.json
@@ -0,0 +1,3 @@
+{
+  "extends": "../../../tsconfig.json"
+}