Skip to content

Commit

Permalink
refactor: update src topology (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
victorfrye authored Feb 14, 2024
1 parent 33c52b5 commit 711709f
Show file tree
Hide file tree
Showing 15 changed files with 69 additions and 56 deletions.
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

version: 2
updates:
# Maintain dependencies for Nuget
# Maintain dependencies for npm
- package-ecosystem: "npm"
directory: "/"
schedule:
Expand Down
44 changes: 29 additions & 15 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,31 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "SWA: Run DotCom",
"request": "launch",
"type": "msedge",
"url": "http://localhost:4280",
"preLaunchTask": "swa: start DotCom",
"webRoot": "${workspaceFolder}/",
"timeout": 30000
}
]
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "SWA: Run DotCom",
"type": "msedge",
"request": "launch",
"url": "http://localhost:3000",
"preLaunchTask": "swa: start DotCom",
"webRoot": "${workspaceFolder}/",
"timeout": 30000
},
{
"name": "Launch Edge against localhost",
"type": "msedge",
"request": "launch",
"url": "http://localhost:3000",
"webRoot": "${workspaceFolder}"
},
{
"name": "Launch Chrome against localhost",
"type": "chrome",
"request": "launch",
"url": "http://localhost:3000",
"webRoot": "${workspaceFolder}"
}
]
}
56 changes: 28 additions & 28 deletions package-lock.json

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

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"build": "next build",
"start": "next start",
"lint": "next lint"

},
"dependencies": {
"@fluentui/react-components": "^9.46.4",
Expand Down
14 changes: 7 additions & 7 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { Metadata } from "next";
import "@dotcom/styles/globals.css";
import ThemeProvider from "@dotcom/providers/theme";
import ThemeProvider from "@dotcom/components/providers/theme";
import Frame from "@dotcom/components/shared/frame";
import Header from "@dotcom/components/shared/header";
import Footer from "@dotcom/components/shared/footer";
Expand All @@ -19,12 +19,12 @@ export const metadata: Metadata = {
canonical: "/",
},
openGraph: {
type: "website",
url: "/",
title: "Victor Frye",
description: "Your friendly neighborhood technologist",
siteName: "VictorFrye.COM",
}
type: "website",
url: "/",
title: "Victor Frye",
description: "Your friendly neighborhood technologist",
siteName: "VictorFrye.COM",
}
};

export default function RootLayout({
Expand Down
4 changes: 2 additions & 2 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import Connect from "@dotcom/components/home/connect";
export default function Home() {
return (
<>
<About />
<About />

<Connect />
<Connect />
</>
);
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use client';

import ProfileAvatar from "@dotcom/components/shared/avatar";
import ProfileAvatar from "./avatar";

export default function Header() {
return (
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
}
],
"paths": {
"@dotcom/*": ["./src/app/*"]
"@dotcom/*": ["./src/*"]
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
Expand Down

0 comments on commit 711709f

Please sign in to comment.