Skip to content

Commit

Permalink
metadata added
Browse files Browse the repository at this point in the history
  • Loading branch information
AB10110F committed Aug 19, 2023
1 parent 7d5f929 commit 411d3d1
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 34 deletions.
Binary file removed src/app/favicon.ico
Binary file not shown.
Binary file added src/app/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,18 @@ import '@/css/globals.css';
import Dots from '@/components/Dots';
import {Metadata} from 'next';
import { LanguageContextProvider } from './context/language'
import Favicon from './favicon.png';

export const metadata: Metadata = {
title: 'AB10110F',
description: 'Portfolio',
icons: [
{ rel: 'icon', url: Favicon.src, }
],
openGraph: {
...Favicon,
title: 'AB10110F-Personal Website',
},
}

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 @@ -38,7 +38,7 @@ export default function Home() {
<Typewriter text={title}/>
<div className={styles.grid}>
<Terminal/>
<section className={styles.column}>
<aside className={styles.column}>
<section className ={styles.languageContainer}>
<article className={styles.canvas}>
<Model/>
Expand All @@ -49,7 +49,7 @@ export default function Home() {
<article className={styles.controls}>
<CrtSwitch changeState={(currentCrt) => setCrt(currentCrt)} />
</article>
</section>
</aside>
</div>
</main>
)
Expand Down
9 changes: 4 additions & 5 deletions src/css/globals.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
@media (prefers-color-scheme: dark) {
:root {
--foreground-rgb: 255, 255, 255;
--background-start-rgb: 0, 0, 0;
background-color: black; /*TODO*/
--background-end-rgb: 0, 0, 0;

--primary-glow: radial-gradient(rgba(1, 65, 255, 0.4), rgba(1, 65, 255, 0));
Expand All @@ -13,7 +9,6 @@
rgba(1, 65, 255, 0.3)
);
}
}

* {
box-sizing: border-box;
Expand All @@ -25,6 +20,10 @@
::-webkit-scrollbar{height: 10px; width: 10px;}
::-webkit-scrollbar-thumb{background:#fdfdfd; border-radius: 0px;}

html{
background-color: black; /*TODO*/
}

html,
body {
max-width: 100vw;
Expand Down
56 changes: 29 additions & 27 deletions src/css/page.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -153,31 +153,33 @@

@media only screen and (max-width: 760px)
{
.grid
{
flex-direction: column;
}
.column
{
width: 100%;
height: 150%;
}

.main h1
{
font-size: 5vh;
text-align: center;
margin: 0 0 7% 0
}

.bright h1
{
font-size: 5vh;
text-align: center;
margin: 0 0 7% 0
}
.canvas
{
width: 45%;
}
.grid
{
flex-direction: column;
}
.column
{
width: 100%;
height: 150%;
}
.main h1
{
font-size: 5vh;
text-align: center;
margin: 0 0 7% 0;
height: 12vh;
text-align: center;
justify-content: center;
}

.bright h1
{
font-size: 5vh;
text-align: center;
margin: 0 0 7% 0;
}
.canvas
{
width: 45%;
}
}

0 comments on commit 411d3d1

Please sign in to comment.