Endret mappestruktur frontend og backend
This commit is contained in:
parent
761e2e1e81
commit
9a20d94904
31 changed files with 0 additions and 78 deletions
BIN
sprik-frontend/src/app/favicon.ico
Normal file
BIN
sprik-frontend/src/app/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 25 KiB |
21
sprik-frontend/src/app/globals.css
Normal file
21
sprik-frontend/src/app/globals.css
Normal 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));
|
||||
}
|
21
sprik-frontend/src/app/layout.tsx
Normal file
21
sprik-frontend/src/app/layout.tsx
Normal 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>
|
||||
)
|
||||
}
|
17
sprik-frontend/src/app/page.tsx
Normal file
17
sprik-frontend/src/app/page.tsx
Normal 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>
|
||||
)
|
||||
}
|
Reference in a new issue