mirror of
https://github.com/liyunze-coding/coworking-website.git
synced 2026-11-06 13:13:34 +00:00
added fonts, changed some content
This commit is contained in:
parent
763b07cbd1
commit
6d5838a3e3
16 changed files with 144 additions and 79 deletions
BIN
public/fonts/Fredoka-Bold.ttf
Normal file
BIN
public/fonts/Fredoka-Bold.ttf
Normal file
Binary file not shown.
BIN
public/fonts/Fredoka-Light.ttf
Normal file
BIN
public/fonts/Fredoka-Light.ttf
Normal file
Binary file not shown.
BIN
public/fonts/Fredoka-Medium.ttf
Normal file
BIN
public/fonts/Fredoka-Medium.ttf
Normal file
Binary file not shown.
BIN
public/fonts/Fredoka-Regular.ttf
Normal file
BIN
public/fonts/Fredoka-Regular.ttf
Normal file
Binary file not shown.
BIN
public/fonts/Montserrat-Bold.ttf
Normal file
BIN
public/fonts/Montserrat-Bold.ttf
Normal file
Binary file not shown.
BIN
public/fonts/Montserrat-Light.ttf
Normal file
BIN
public/fonts/Montserrat-Light.ttf
Normal file
Binary file not shown.
BIN
public/fonts/Montserrat-Medium.ttf
Normal file
BIN
public/fonts/Montserrat-Medium.ttf
Normal file
Binary file not shown.
BIN
public/fonts/Montserrat-Regular.ttf
Normal file
BIN
public/fonts/Montserrat-Regular.ttf
Normal file
Binary file not shown.
BIN
public/fonts/Montserrat-SemiBold.ttf
Normal file
BIN
public/fonts/Montserrat-SemiBold.ttf
Normal file
Binary file not shown.
BIN
public/fonts/Poppins-Light.ttf
Normal file
BIN
public/fonts/Poppins-Light.ttf
Normal file
Binary file not shown.
BIN
public/fonts/Poppins-Medium.ttf
Normal file
BIN
public/fonts/Poppins-Medium.ttf
Normal file
Binary file not shown.
BIN
public/fonts/Poppins-Regular.ttf
Normal file
BIN
public/fonts/Poppins-Regular.ttf
Normal file
Binary file not shown.
|
|
@ -20,20 +20,6 @@ const { title, description } = Astro.props;
|
|||
<meta name="theme-color" content="#2B2D31" />
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||||
<link
|
||||
href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap"
|
||||
rel="stylesheet"
|
||||
/>
|
||||
<link
|
||||
href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500&display=swap"
|
||||
rel="stylesheet"
|
||||
/>
|
||||
<link
|
||||
href="https://fonts.googleapis.com/css2?family=Fredoka:wght@300;500;700&display=swap"
|
||||
rel="stylesheet"
|
||||
/>
|
||||
<script defer src="/_vercel/insights/script.js"></script>
|
||||
<ViewTransitions />
|
||||
<meta name="generator" content={Astro.generator} />
|
||||
|
|
@ -42,52 +28,138 @@ const { title, description } = Astro.props;
|
|||
<body>
|
||||
<NavBar />
|
||||
<slot />
|
||||
</body><style is:global>
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
html {
|
||||
font-family: "Montserrat", system-ui, sans-serif;
|
||||
background-color: #29233f;
|
||||
}
|
||||
<style is:global>
|
||||
@font-face {
|
||||
font-family: "Fredoka";
|
||||
src: url("/fonts/Fredoka-Bold.ttf") format("truetype");
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
html,
|
||||
body {
|
||||
min-height: 100%;
|
||||
}
|
||||
@font-face {
|
||||
font-family: "Fredoka";
|
||||
src: url("/fonts/Fredoka-Light.ttf") format("truetype");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
body {
|
||||
height: 100vh;
|
||||
font-family: "Montserrat", system-ui, sans-serif;
|
||||
}
|
||||
@font-face {
|
||||
font-family: "Fredoka";
|
||||
src: url("/fonts/Fredoka-Medium.ttf") format("truetype");
|
||||
font-weight: 500;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
code {
|
||||
font-family: Menlo, Monaco, Lucida Console, Liberation Mono,
|
||||
DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New,
|
||||
monospace;
|
||||
}
|
||||
@font-face {
|
||||
font-family: "Fredoka";
|
||||
src: url("/fonts/Fredoka-Regular.ttf") format("truetype");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
nav {
|
||||
font-family: "Montserrat", system-ui, sans-serif;
|
||||
font-weight: 500;
|
||||
}
|
||||
@font-face {
|
||||
font-family: "Montserrat";
|
||||
src: url("/fonts/Montserrat-Bold.ttf") format("truetype");
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
nav ul a {
|
||||
text-decoration: none;
|
||||
}
|
||||
@font-face {
|
||||
font-family: "Montserrat";
|
||||
src: url("/fonts/Montserrat-Light.ttf") format("truetype");
|
||||
font-weight: 300;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
a.preview {
|
||||
text-decoration: none;
|
||||
}
|
||||
@font-face {
|
||||
font-family: "Montserrat";
|
||||
src: url("/fonts/Montserrat-Medium.ttf") format("truetype");
|
||||
font-weight: 500;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
p code {
|
||||
word-break: break-all; /* This will allow the URL to break at any character */
|
||||
display: block; /* Ensures the entire URL is on its own line */
|
||||
width: 100%; /* Make sure the code element takes up the full width of its container */
|
||||
overflow-x: auto;
|
||||
}
|
||||
</style>
|
||||
@font-face {
|
||||
font-family: "Montserrat";
|
||||
src: url("/fonts/Montserrat-Regular.ttf") format("truetype");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Montserrat";
|
||||
src: url("/fonts/Montserrat-SemiBold.ttf") format("truetype");
|
||||
font-weight: 600;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Poppins";
|
||||
src: url("/fonts/Poppins-Light.ttf") format("truetype");
|
||||
font-weight: 300;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Poppins";
|
||||
src: url("/fonts/Poppins-Medium.ttf") format("truetype");
|
||||
font-weight: 500;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Poppins";
|
||||
src: url("/fonts/Poppins-Regular.ttf") format("truetype");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
html {
|
||||
font-family: "Montserrat", system-ui, sans-serif;
|
||||
background-color: #29233f;
|
||||
}
|
||||
|
||||
html,
|
||||
body {
|
||||
min-height: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
height: 100vh;
|
||||
font-family: "Montserrat", system-ui, sans-serif;
|
||||
}
|
||||
|
||||
code {
|
||||
font-family: Menlo, Monaco, Lucida Console, Liberation Mono,
|
||||
DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New,
|
||||
monospace;
|
||||
}
|
||||
|
||||
nav {
|
||||
font-family: "Montserrat", system-ui, sans-serif;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
nav ul a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a.preview {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
p code {
|
||||
word-break: break-all; /* This will allow the URL to break at any character */
|
||||
display: block; /* Ensures the entire URL is on its own line */
|
||||
width: 100%; /* Make sure the code element takes up the full width of its container */
|
||||
overflow-x: auto;
|
||||
}
|
||||
</style>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ const { frontmatter } = Astro.props;
|
|||
}
|
||||
|
||||
ul li a {
|
||||
@apply underline underline-offset-2 hover:text-blue-400;
|
||||
@apply underline underline-offset-2 decoration-1 hover:text-blue-400;
|
||||
}
|
||||
|
||||
.hyperlink {
|
||||
|
|
|
|||
|
|
@ -21,11 +21,10 @@ import Layout from "../layouts/Layout.astro";
|
|||
/>
|
||||
<h1 class="text-5xl font-bold">About</h1>
|
||||
<p class="mt-5 text-lg mb-5">
|
||||
Hello, I'm <span class="font-bold">Ryan</span>, a
|
||||
computer science student based in Malaysia. The
|
||||
objective of this website is to offer valuable
|
||||
resources to aspiring streamers, helping them enhance
|
||||
their streaming experience!
|
||||
Hello, I'm <span class="font-bold">Ryan</span>, a computer
|
||||
science student based in Malaysia. The objective of this
|
||||
website is to offer valuable resources to aspiring
|
||||
streamers, helping them enhance their streaming experience!
|
||||
</p>
|
||||
<p>
|
||||
If you want to learn more about me, check out my <a
|
||||
|
|
@ -51,9 +50,9 @@ import Layout from "../layouts/Layout.astro";
|
|||
What are Coworking & Study streams?
|
||||
</h2>
|
||||
<p class="w-4/5 lg:w-1/2">
|
||||
Coworking and study streams are a type of stream where
|
||||
people work or study together. It's a great way to stay
|
||||
motivated and productive, especially if you're working!
|
||||
Coworking and study streams are a type of stream where people
|
||||
work or study together. It's a great way to stay motivated and
|
||||
productive, especially if you're working!
|
||||
</p>
|
||||
</div>
|
||||
<div
|
||||
|
|
@ -63,10 +62,9 @@ import Layout from "../layouts/Layout.astro";
|
|||
How can this guide benefit me?
|
||||
</h2>
|
||||
<p class="w-4/5 lg:w-1/2">
|
||||
This guide has been created to help out new (and old)
|
||||
coworking streamers! It contains a bunch of resources that
|
||||
you can use to enhance your stream, such as interactive
|
||||
overlays and useful bots.
|
||||
This guide has been created to help out coworking and study
|
||||
streamers by providing tips and resources to enhance the
|
||||
streaming experience!
|
||||
</p>
|
||||
</div>
|
||||
<div
|
||||
|
|
@ -76,9 +74,9 @@ import Layout from "../layouts/Layout.astro";
|
|||
Why should I stream myself working?
|
||||
</h2>
|
||||
<p class="w-4/5 lg:w-1/2">
|
||||
Streaming yourself working is a great way to stay
|
||||
accountable and productive. It's also a great way to grow
|
||||
your following and meet new people!
|
||||
Streaming yourself working is a great way to stay accountable
|
||||
and productive. It's also a great way to grow your following and
|
||||
meet new people!
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ import Layout from "../layouts/Layout.astro";
|
|||
description="A guide for new and existing coworking streamers!"
|
||||
>
|
||||
<div
|
||||
class="flex flex-col lg:flex-row justify-center items-center h-full text-gray-100 sm:flex-col"
|
||||
class="flex flex-col lg:flex-row justify-center items-center text-gray-100 sm:flex-col h-fit min-h-screen"
|
||||
>
|
||||
<div
|
||||
class="w-full lg:w-2/3 flex flex-col justify-center items-center mt-40 lg:mt-0 mb-10 lg:mb-0"
|
||||
|
|
@ -46,9 +46,7 @@ import Layout from "../layouts/Layout.astro";
|
|||
<div
|
||||
class="task-list-header text-2xl flex flex-row justify-between bg-gray-900 px-5 py-3 rounded-md z-10 border border-solid border-b-white"
|
||||
>
|
||||
<div id="widget-title" class="font-bold">
|
||||
!taskhelp
|
||||
</div>
|
||||
<div id="widget-title" class="font-bold">!taskhelp</div>
|
||||
<div>1/65</div>
|
||||
</div>
|
||||
<div class="task-list-body px-1">
|
||||
|
|
@ -61,9 +59,7 @@ import Layout from "../layouts/Layout.astro";
|
|||
RyanPython
|
||||
</div>
|
||||
<div class="mr-1">:</div>
|
||||
<span class="line-through"
|
||||
>build this website</span
|
||||
>
|
||||
<span class="line-through">build this website</span>
|
||||
</div>
|
||||
<div
|
||||
class="flex flex-row justify-start items-start bg-gray-700 px-5 py-2 rounded-md mt-1"
|
||||
|
|
@ -474,8 +470,7 @@ import Layout from "../layouts/Layout.astro";
|
|||
</div>
|
||||
<div class="mr-1">:</div>
|
||||
<span class="max-w-[65%]"
|
||||
>work on the millionth AI project for
|
||||
self.dev</span
|
||||
>work on the millionth AI project for self.dev</span
|
||||
>
|
||||
</div>
|
||||
<div
|
||||
|
|
|
|||
Loading…
Reference in a new issue