-
-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create landing website
- Loading branch information
Showing
15 changed files
with
189 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
import Image from "next/image" | ||
import { Inter } from "next/font/google" | ||
const inter = Inter({ subsets: ['latin'] }) | ||
|
||
type KillersProps = { | ||
image: string | ||
twitterUserName: string | ||
} | ||
const Killers = ({ image, twitterUserName }: KillersProps) => { | ||
return ( | ||
<div className="flex items-center justify-cente gap-2"> | ||
<div className="flex justify-center items-center h-[48px] w-[48px] rounded-full border-[#3a3e41] border-solid border-[2px] bg-gradient-to-br from-[#181c20] to-[#282d31]"> | ||
<Image | ||
src={`/./${image}.png`} | ||
height={36} | ||
width={37} | ||
alt={`${image}`} | ||
className='unselectable' | ||
draggable='false' | ||
/> | ||
</div> | ||
<div className={`flex flex-col justify-center items-center gap-1 ${inter.className}`}> | ||
<p className="text-white text-sm">{image}</p> | ||
<a href={`https://twitter.com/${twitterUserName}`} target="_blank"> | ||
<p className="text-[#727576] text-xs">@{twitterUserName}</p> | ||
</a> | ||
</div> | ||
</div> | ||
) | ||
} | ||
|
||
export default Killers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import Image from "next/image" | ||
import { Inter } from "next/font/google" | ||
const inter = Inter({ subsets: ['latin'] }) | ||
type LinksProps = { | ||
icon: string | ||
description: string | ||
link: string | ||
} | ||
|
||
|
||
const Links = ({ icon, description, link }: LinksProps) => { | ||
return ( | ||
<a | ||
href={`${link}`} | ||
target="_blank" | ||
> | ||
<div | ||
className={`flex place-items-center gap-2 justify-center rounded-full border-[#3a3e41] border-solid border-[1px] bg-gradient-to-b from-[#0d1215]/45 to-[#323638]/45 px-4 py-2 ${inter.className} cursor-pointer transition-all ease-in-out duration-200 hover:scale-105`} | ||
> | ||
<Image | ||
src={`./${icon}.svg`} | ||
alt={`${icon}`} | ||
height={12} | ||
width={13} | ||
className='unselectable' | ||
draggable='false' | ||
/> | ||
<p className="text-white text-sm">{description}</p> | ||
</div> | ||
</a> | ||
) | ||
} | ||
|
||
export default Links |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,28 @@ | ||
//@ts-check | ||
|
||
// eslint-disable-next-line @typescript-eslint/no-var-requires | ||
const { composePlugins, withNx } = require('@nx/next'); | ||
const { composePlugins, withNx } = require('@nx/next') | ||
const path = require('path') | ||
|
||
/** | ||
* @type {import('@nx/next/plugins/with-nx').WithNxOptions} | ||
**/ | ||
/** @type {import('next').NextConfig} */ | ||
const nextConfig = { | ||
nx: { | ||
// Set this to true if you would like to use SVGR | ||
// See: https://github.com/gregberge/svgr | ||
svgr: false, | ||
}, | ||
}; | ||
webpack(config, { isServer }) { | ||
config.module.rules.push({ | ||
test: /\.svg$/, | ||
use: ['@svgr/webpack'] | ||
}) | ||
|
||
if (!isServer) { | ||
config.resolve.alias['@public'] = path.join(__dirname, 'public') | ||
} | ||
|
||
return config | ||
} | ||
} | ||
|
||
module.exports = nextConfig | ||
|
||
const plugins = [ | ||
// Add more Next.js plugins to this list if needed. | ||
withNx, | ||
]; | ||
|
||
module.exports = composePlugins(...plugins)(nextConfig); | ||
withNx | ||
] |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
export { default as GitHub } from './github.svg' | ||
export { default as Grid } from './grid.svg' | ||
export { default as Logo } from './logo.svg' | ||
export { default as XSvg } from './x_svg.svg' | ||
export { default as Stars } from './stars.svg' |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters