Skip to content

Commit

Permalink
Restructured Pages
Browse files Browse the repository at this point in the history
Put components inside the route directories
  • Loading branch information
kmiguel10 committed Oct 2, 2023
1 parent 4addcd5 commit 99a01da
Show file tree
Hide file tree
Showing 12 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions app/about/page.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";
import Base from "../components/layouts/base";
import ProfileHeader from "../components/pages/header";
import ProfileHeader from "../components/ui/header";
import ContainerLayout from "../components/layouts/container";
import InProgressImage from "../../public/aboutme-option10.webp";
import Image from "next/image";
Expand All @@ -10,7 +10,7 @@ const page = () => {
<Base>
<ContainerLayout className="flex flex-col space-y-4">
<h1 className="text-3xl font-semibold tracking-tight text-gray-12 md:text-4xl">
Blog
About Me
</h1>
<div className="text-gray-11">Work in progress.</div>
<Image
Expand Down
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 @@
import React from "react";
import ProfileAvatar from "./profile-avatar";
import Button from "../ui/button";
import Button from "./button";
import { Github, Twitter, Linkedin } from "lucide-react";

const ProfileHeader = () => {
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import Base from "./components/layouts/base";

import ProfileHeader from "./components/pages/header";
import ProfileHeader from "./components/ui/header";
import ContainerLayout from "./components/layouts/container";
import Contents from "./components/pages/contents";
import Contents from "./components/home/contents";

export default function Home() {
return (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import ContentDisplay from "../../layouts/content-display";
import ContentDisplay from "../../components/layouts/content-display";
import { KanbanSquare } from "lucide-react";

const ResumeContent = () => {
Expand All @@ -11,7 +11,7 @@ const ResumeContent = () => {
description=""
>
<div className="grid grid-flow-row auto-rows-max flex-col overflow-hidden rounded-none border border-gray-6 bg-gray-2 ">
<div className="collapse collapse-arrow border-base-300 border border-gray-6 bg-gray-2">
<div className="collapse collapse-arrow">
<input type="radio" name="my-accordion-2" checked={undefined} />
<div className="collapse-title text-md md:rounded-2xl">
<div className="flex w-full items-center md:flex-row md:justify-between">
Expand Down Expand Up @@ -44,7 +44,7 @@ const ResumeContent = () => {
</ul>
</div>
</div>
<div className="collapse collapse-arrow border-base-300 border border-gray-6 bg-gray-2border border-gray-6 bg-gray-2">
<div className="collapse collapse-arrow border-t-2">
<input type="radio" name="my-accordion-2" />
<div className="collapse-title text-md">
<div className="flex w-full items-center md:flex-row md:justify-between">
Expand Down Expand Up @@ -79,7 +79,7 @@ const ResumeContent = () => {
</ul>
</div>
</div>
<div className="collapse collapse-arrow border-base-300 border border-gray-6 bg-gray-2">
<div className="collapse collapse-arrow border-t-2">
<input type="radio" name="my-accordion-2" />
<div className="collapse-title text-md">
<div className="flex w-full items-center md:flex-row md:justify-between">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import ContentDisplay from "../../layouts/content-display";
import ContentDisplay from "../../components/layouts/content-display";
import { Wand2 } from "lucide-react";

const Skills = () => {
Expand Down
8 changes: 4 additions & 4 deletions app/resume/page.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import React from "react";
import ProfileHeader from "../components/pages/header";
import ProfileHeader from "../components/ui/header";
import Base from "../components/layouts/base";
import ContainerLayout from "../components/layouts/container";
import Image from "next/image";
import profile from "../../public/profile.jpeg";
import Contents from "../components/pages/contents";
import ResumeContent from "../components/pages/resume/resume-content";
import Skills from "../components/pages/resume/skills";
import Contents from "../components/home/contents";
import ResumeContent from "./components/resume-content";
import Skills from "./components/skills";

const page = () => {
return (
Expand Down

0 comments on commit 99a01da

Please sign in to comment.