Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 60 additions & 0 deletions src/assets/fonts.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@

@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Geologica:wght@400;600;700&display=swap');

/* DESKTOP Heading 1: Geologica - Regular */
.heading {
font-family: 'Geologica', sans-serif;
font-size: 55px;
font-weight: normal;
}

/* DEKSTOP Heading 1: Geologica - SemiBold */
.heading-semi {
font-family: 'Geologica', sans-serif;
font-size: 55px;
font-weight: 600;
}

/* DESKTOP Heading 2: Lato - Regular */
.subheading {
font-family: 'Lato', sans-serif;
font-size: 43px;
font-weight: normal;
}

/* DESKTOP Heading 2: Lato - Bold */
.subheading_semi {
font-family: 'Lato', sans-serif;
font-size: 43px;
font-weight: bold;
}

/* DESKTOP Heading 3: Lato - Regular */
.tertiary{
font-family: 'Lato', sans-serif;
font-size: 37px;
font-weight: normal;
}

/* DESKTOP Heading 3: Lato - Bold */
.tertiary-semi{
font-family: 'Lato', sans-serif;
font-size: 37px;
font-weight: bold;
}

/* DESKTOP Heading 4: Lato - Regular */
.quarternary{
font-family: 'Lato', sans-serif;
font-size: 29px;
font-weight: normal;
}

/* DESKTOP Heading 4: Lato - Bold */
.quarternary-semi{
font-family: 'Lato', sans-serif;
font-size: 29px;
font-weight: bold;
}

10 changes: 9 additions & 1 deletion src/components/Test.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
// Test.jsx or Test.astro (React-style component example)
export default function Test() {
return <div>Testing 123... </div>;
return (
<div>
<h1>Geologica Headingggg</h1>

<h2>Lato Subheading</h2>
<p>Check the styles applied to h1 and h2 elements.</p>
</div>
);
}
38 changes: 19 additions & 19 deletions src/layouts/Layout.astro
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="generator" content={Astro.generator} />
<title>Astro Basics</title>
</head>
<body>
<slot />
</body>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width" />
<title>Astro Test Page</title>
<link href="https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Geologica:wght@400;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="/src/assets/fonts.css" />
</head>
<body>
<div>
<h1 class="heading_bold">Geologica Heading</h1>
<h2 class="subheading-semi">TEST</h2>
<h3 class="heading-bold"> TESTING </h3>

</div>
</body>
</html>

<style>
html,
body {
margin: 0;
width: 100%;
height: 100%;
}
</style>