Endret mappestruktur frontend og backend

This commit is contained in:
amalieem 2023-06-27 13:50:21 +02:00
parent 761e2e1e81
commit 9a20d94904
31 changed files with 0 additions and 78 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

View file

@ -0,0 +1,21 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
@media (prefers-color-scheme: dark) {
:root {
--foreground-rgb: 255, 255, 255;
--background-start-rgb: 0, 0, 0;
--background-end-rgb: 0, 0, 0;
}
}
body {
color: rgb(var(--foreground-rgb));
background: linear-gradient(
to bottom,
transparent,
rgb(var(--background-end-rgb))
)
rgb(var(--background-start-rgb));
}

View file

@ -0,0 +1,21 @@
import './globals.css'
import { Inter } from 'next/font/google'
const inter = Inter({ subsets: ['latin'] })
export const metadata = {
title: 'Create Next App',
description: 'Generated by create next app',
}
export default function RootLayout({
children,
}: {
children: React.ReactNode
}) {
return (
<html lang="en">
<body className={inter.className}>{children}</body>
</html>
)
}

View file

@ -0,0 +1,17 @@
"use client"
import React from 'react'
import "@navikt/ds-css";
import { Button } from "@navikt/ds-react";
export default function Home() {
return (
<main className="bg-surface-subtle flex min-h-screen flex-col items-center justify-between p-24">
<h1 className="text-4xl font-bold text-center">
Sprik
<Button variant="primary">Rapporter feil</Button>
</h1>
</main>
)
}